@section('page-title', 'Employees')

Employees

Add Employee
@forelse($employees as $e) @empty @endforelse
Employee Contact Department Category Join Date Actions
@if($e->profile_picture) {{ $e->first_name }} @else {{ strtoupper(substr($e->first_name, 0, 1) . substr($e->last_name, 0, 1)) }} @endif

{{ $e->first_name }} {{ $e->last_name }}

{{ $e->employee_id ?? 'N/A' }}

{{ $e->email ?? 'N/A' }}

{{ $e->phone ?? 'N/A' }}

{{ $e->department ? ucfirst($e->department) : 'N/A' }} @if($e->category == 'full_time') Full Time @elseif($e->category == 'part_time') Part Time @elseif($e->category == 'contract') Contract @else N/A @endif {{ $e->join_date ? \Carbon\Carbon::parse($e->join_date)->format('M d, Y') : 'N/A' }}

No employees found

Add First Employee
Showing {{ $employees->firstItem() ?? 0 }} to {{ $employees->lastItem() ?? 0 }} of {{ $employees->total() }} employees
{{ $employees->links() }}