@if (in_array('clients', user_modules()) && in_array('total_clients', $activeWidgets))
@endif
@if (in_array('leads', user_modules()) && in_array('total_leads', $activeWidgets))
@endif
@if (in_array('leads', user_modules()) && in_array('total_deals', $activeWidgets))
@endif
@if (in_array('leads', user_modules()) && in_array('total_lead_conversions', $activeWidgets))
@endif
@if (in_array('contracts', user_modules()) && in_array('total_contracts_generated', $activeWidgets))
@endif
@if (in_array('contracts', user_modules()) && in_array('total_contracts_signed', $activeWidgets))
@endif
@if (in_array('payments', user_modules()) && in_array('client_wise_earnings', $activeWidgets))
@endif
@if (in_array('timelogs', user_modules()) && in_array('client_wise_timelogs', $activeWidgets))
@endif
@if (in_array('leads', user_modules()) && in_array('lead_vs_status', $activeWidgets))
@lang('modules.deal.dealVsStatus')
@if (array_sum($leadStatusChart['values']) > 0)
@endif
@endif
@if (in_array('leads', user_modules()) && in_array('lead_vs_source', $activeWidgets))
@if (array_sum($leadSourceChart['values']) > 0)
@endif
@endif
@if (in_array('clients', user_modules()) && in_array('latest_client', $activeWidgets))
@lang('app.client') |
@lang('app.email') |
@lang('app.createdOn') |
@forelse ($latestClient->users as $item)
|
{{ $item->email }}
|
{{ $item->created_at->translatedFormat(company()->date_format) }} |
@empty
|
@endforelse
@endif
@if (in_array('clients', user_modules()) && in_array('recent_login_activities', $activeWidgets))
@lang('app.client') |
@lang('app.email') |
@lang('app.lastLogin') |
@forelse ($recentLoginActivities->users as $item)
|
{{ $item->email }}
|
{{ $item->last_login ? $item->last_login->timezone(company()->timezone)->translatedFormat(company()->date_format . ' ' . company()->time_format) : '--' }}
|
@empty
|
@endforelse
@endif