Employee Department Report

List of employees with their departments and key details

@foreach ($employees as $index => $employee) @endforeach
# Employee Name Departments DOB Age Address TIN SSS Pag-IBIG PhilHealth
{{ $index + 1 }} {{ $employee->last_name }}, {{ $employee->first_name }} {{ $employee->middle_name }} @if ($employee->channelclient->isEmpty()) Not assigned @else @foreach ($employee->channelclient as $channel) {{ $channel->department->department_name ?? 'Unknown' }} @if ($channel->status != 1) (Inactive) @endif @if (!$loop->last) , @endif @endforeach @endif {{ $employee->date_of_birth ? \Carbon\Carbon::parse($employee->date_of_birth)->format('M d, Y') : '-' }} {{ $employee->date_of_birth ? \Carbon\Carbon::parse($employee->date_of_birth)->age : '-' }} {{ $employee->present_address ?? '-' }} {{ $employee->tin_no ?? '-' }} {{ $employee->sss_no ?? '-' }} {{ $employee->pagibig_no ?? '-' }} {{ $employee->philhealth_no ?? '-' }}