Page {PAGENO} of {nbpg}
201 Files Inventory
@if($active) @foreach($data as $data_index => $positions) @foreach($positions as $positions_index => $appointments)
{{ $data_index . ' - ' . $positions_index }}
@foreach($appointments as $personnel_index => $personnel) {{ $personnel_index }} @endforeach
No. Personnel Birthdate Present Position title Department Status of Appointment Location of Records Remarks
{{ $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 @else @foreach($data as $data_index => $positions) @foreach($positions as $positions_index => $appointments)
{{ $data_index . ' - ' . $positions_index }}
@foreach($appointments as $personnel_index => $personnel) {{ $personnel_index }} @endforeach
No. Personnel Birthdate Present Position title Department Status of Appointment Location of Records Date Separated Reason of Separation Expected Year Disposed Remarks
{{ $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 @endif