@php
$user = Auth::user();
@endphp
No. |
REF NO. |
GANG |
TOC |
SEASON |
COST SHEET DATE |
SUPERVISED BY |
SUPERVISED BY TIME |
Audit Secretary |
Audit Secretary Time |
@foreach ($cost_sheets as $cost_sheet)
{{$loop->index + 1}}. |
{{$cost_sheet->cost_sheet_ref}} |
{{$cost_sheet->gang->gang_name}} |
{{$cost_sheet->port->name}} |
{{$cost_sheet->season->name}} |
{{$cost_sheet->cost_sheet_date}} |
{{strtoupper(optional($user::find($cost_sheet->wpo_arrival_supervisor))->username)}}
|
{{Carbon\Carbon::parse($cost_sheet->wpo_arrival_supervisor_time)->format('dS M Y h:i a')}} |
{{strtoupper(optional($user::find($cost_sheet->audit_logs->last()->toc_audit_secretary_id))->username)}} |
{{Carbon\Carbon::parse($cost_sheet->audit_logs->last()->toc_audit_secretary_time)->format('dS M Y h:i a')}} |
@endforeach
@endsection
@section('more-scripts')
@endsection