@foreach ($data['employees'] as $key=>$item) @endforeach
{{translate('employee_List')}}
{{ translate('employee_Analytics') .' '.'-'}} {{translate('filter_By').' '.'-'.' '.ucwords($data['filter'])}}
{{translate('total_Employee').' '.'-'.' '.count($data['employees'])}}
{{translate('active_Employee').' '.'-'.' '.$data['active']}}
{{translate('inactive_Employee').' '.'-'.' '.$data['inactive']}}
{{translate('search_Criteria')}}- {{translate('search_Bar_Content').' '.'-'.' '.$data['search'] ?? 'N/A'}}
{{translate('SL')}} {{translate('employee_Image')}} {{translate('Name')}} {{translate('phone')}} {{translate('email')}} {{translate('role')}} {{translate('accesses')}} {{translate('date_of_Joining')}} {{translate('status')}}
{{++$key}} {{ucwords($item->name)}} {{$item->phone}} {{ucwords($item->email)}} {{ucwords($item?->role?->name)}} @if(!empty($item->role->module_access)) @foreach ( json_decode($item?->role->module_access) as $value) @isset($value) {{ucwords(str_replace('_',' ',$value))}}
@endisset @endforeach @endif
{{date('d M, Y h:i A',strtotime($item->created_at))}} {{translate($item->status == 1 ? 'active' : 'inactive')}}