{{ $data_index . ' - ' . $positions_index }}
| No. |
Personnel |
Birthdate |
Present Position title |
Department |
Status of Appointment |
Location of Records |
Remarks |
@foreach($appointments as $personnel_index => $personnel)
{{ $personnel_index }}
| {{ $personnel_index+1 }} |
{{ $personnel->personnel->fullname }} |
{{ $personnel->personnel->birthdate }} |
{{ $personnel->personnel->position ? $personnel->personnel->position->name : '' }} |
{{ $personnel->personnel->department ? $personnel->personnel->department->acronym : '' }} |
{{ $personnel->personnel->astatus ? $personnel->personnel->astatus->name : '' }} |
{{ $personnel->location_of_rec }} |
{{ $personnel->remarks }} |
@endforeach
@endforeach
@endforeach
@else
@foreach($data as $data_index => $positions)
@foreach($positions as $positions_index => $appointments)
{{ $data_index . ' - ' . $positions_index }}
| No. |
Personnel |
Birthdate |
Present Position title |
Department |
Status of Appointment |
Location of Records |
Date Separated |
Reason of Separation |
Expected Year Disposed |
Remarks |
@foreach($appointments as $personnel_index => $personnel)
{{ $personnel_index }}
| {{ $personnel_index+1 }} |
@if($personnel->personnel_id)
{{ $personnel->personnel->fullname }}
@endif
@if($personnel->inactive_personnel)
{{ $personnel->inactive_personnel }}
@endif
|
{{ $personnel->personnel ? $personnel->personnel->birthdate : $personnel->inactive_personnel_birthdate}} |
|
|
{{ $personnel->status }} |
{{ $personnel->location_of_rec }} |
{{ $personnel->date_sep }} |
{{ $personnel->reason_of_sep }} |
{{ $personnel->year_dis }} |
{{ $personnel->remarks }} |
@endforeach
@endforeach
@endforeach
@endif