@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

OPERATIONS MANAGEMENT SYSTEM

COST SHEET

@php $user = Auth::user(); @endphp
@foreach ($cost_sheets as $cost_sheet) @endforeach
No. REF NO. GANG TOC SEASON COST SHEET DATE SUPERVISED BY SUPERVISED BY TIME Audit Secretary Audit Secretary Time
{{$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')}}
@endsection @section('more-scripts') @endsection