Summary of Roster

Year : {{' '.$roster_detail[0]->inspection_year}}
Approval Status : {{' '.$roster_detail[0]->approval_status}}
Month : {{ ' '.$roster_detail[0]->inspection_month_name}}
Approved By : {{' '.$approving_person_name[0]->approving_person}}
{{-- --}} {{-- --}} @php($index = 1) @foreach ($roster_detail as $roster_det) {{-- --}} {{-- --}} @endforeach

SL INSPECTION DATE EMPLOYEEMOBILE NUMBERDESIGNATION SHIP BOOKING TIME DREDGING START TIME DREDGING END TIMEREMARKS
{{$index++}} {{date('Y-m-d', strtotime($roster_det->inspection_date)) ? date('Y-m-d', strtotime($roster_det->inspection_date)) : '--' }} {{$roster_det->emp_name}}{{$roster_det->mobile_no? $roster_det->mobile_no : '--'}}{{$roster_det->designation? $roster_det->designation : '--'}} {{$roster_det->ship_booking_time ? $roster_det->ship_booking_time : '--'}} {{$roster_det->shift_booking_from ? $roster_det->shift_booking_from : '--' }} {{$roster_det->shift_booking_to ? $roster_det->shift_booking_to : '--' }}{{$roster_det->remarks ? $roster_det->remarks : '--'}}
Note : {{$roster_det->note? $roster_det->note : '--'}}