| {{ __('#') }} | {{ __('Photo') }} | {{ __('Name') }} | {{ __('ID') }} | {{ __('Job#') }} | {{ __('Mobile') }} | {{ __('Status') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($clients->currentPage() - 1) * $clients->perPage() }} |
@if($e->photo_url)
|
{{ $e->name }} @php $roleColors = [ 'Admin' => 'bg-red-500 text-white', 'General Manager' => 'bg-orange-500 text-white', 'HR Manager' => 'bg-purple-500 text-white', 'Finance Officer' => 'bg-teal-500 text-white', 'Head of Department'=> 'bg-blue-500 text-white', 'Unit Supervisor' => 'bg-green-500 text-white', 'Team Leader' => 'bg-yellow-500 text-white', 'Client' => 'bg-gray-600 text-white', 'External Client' => 'bg-gray-400 text-black', 'Access Suspended' => 'bg-red-700 text-white', ]; @endphp | {{ $e->civil_id }} | {{ $e->job_number }} | {{ $e->mobile }} | @can('clients edit') {{ __(ucfirst($e->status)) }} @else {{ __(ucfirst($e->status)) }} @endcan |
@can("clients edit")
@endcan
@can("clients delete")
@endcan
{{ __('View') }}
|