{{ __('messages.employees') }}

@forelse ($employees as $key => $employee) @empty @endforelse
# {{ __('messages.employee_type') }} {{ __('messages.vehicle') }} {{ __('messages.name') }} {{ __('messages.email') }} {{ __('messages.phone') }} {{ __('messages.image') }} {{ __('messages.created_at') }} {{ __('messages.status') }} {{ __('messages.action') }}
{{ $key + 1 }} {{ strtoupper($employee->type)}} {{ $employee->vehicle ? $employee->vehicle->name : ''}} {{ $employee->fname . ' ' . $employee->lname }} {{ $employee->email }} {{ $employee->phone }} image {{ $employee->created_at->diffForHumans() }}
{{ $employee->status ? __('messages.active') : __('messages.deactive') }}
{{-- --}}
@csrf @method('DELETE')
{{ __('messages.no_employees_found') }}