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

OPERATIONS MANAGEMENT SYSTEM

COST SHEETS

@php use App\User; $user = Auth::user(); @endphp
@if ($user->can('operation.toc_wpo.arrival')) @endif @foreach ($cost_sheets as $cost_sheet) {{-- @if ($cost_sheet->audit_logs()->exists()) @foreach ($cost_sheet->audit_logs as $audit_log) --}} {{-- @endforeach @endif --}} @if ($user->can('operation.toc_wpo.arrival')) {{-- expr --}} @endif @endforeach
No. COST SHEET REF. GANG SEASON TOC PREPARED BY REASONS FOR RETURNVIEW ACTIVITY SUMMARY SEND TO AUDIT
{{ $loop->index + 1 }}. {{ $cost_sheet->cost_sheet_ref }} {{ $cost_sheet->gang->gang_name }} {{ $cost_sheet->season->name }} {{ $cost_sheet->port->name }} {{ strtoupper(optional(User::find($cost_sheet->wpo_arrival_user))->username) }} {{ strtoupper($cost_sheet->audit_logs->last()->toc_reasons_for_return) }}
Activity Summaries
@endsection @section('more-scripts') @endsection