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

Disapproved Invoice

Shipment

{{-- --}} @can('edit.invoice', Auth::user()) @endcan {{-- @can('delete.invoice', Auth::user()) @endcan --}} {{-- @can('draft.invoice', Auth::user()) @endcan @can('send.supervisor', Auth::user()) @endcan --}} @foreach ($shipments as $shipment) @if ($shipment->multi_status == 'yes') @else @endif {{-- --}} @if ($shipment->invoice_type == 'foreign') @if ($shipment->multi_status == 'yes') @else @can('edit.invoice', Auth::user()) @endcan @endif @else @if ($shipment->multi_status == 'yes') @else @can('edit.invoice', Auth::user()) @endcan @endif @endif {{-- @can('delete.invoice', Auth::user()) @endcan --}} {{-- @can('draft.invoice', Auth::user()) @endcan --}} {{-- @can('send.supervisor', Auth::user()) @endcan --}} @endforeach {{-- --}} @can('edit.invoice', Auth::user()) @endcan {{-- @can('delete.invoice', Auth::user()) @endcan --}} {{-- @can('draft.invoice', Auth::user()) @endcan @can('send.supervisor', Auth::user()) @endcan --}}
No. Contract Number Invoice NumberReference NumberInsurance Number Invoice Date Tonnage Shipped Freight Exchange
Rate
Vessel Mode of Shipment Bill of Laden Number Bill of Laden Date Loading Port Prepared By Supervised By Reason For DisapprovalEDITDELETEDraft InvoiceSend to Supervisor
{{ $loop->index + 1 }}. @foreach ($shipment->multi_contracts as $scontract) @endforeach
{{ $scontract->contract->number }} (SD: {{ $scontract->fac->sd_number }})
{{ optional($shipment->contract)->number }} (SD: {{ optional($shipment->fac)->sd_number }}){{ $shipment->invoice_number }}{{$shipment->reference_number}}{{ $shipment->insurance_number }} {{ $shipment->invoice_date ? date('d - M - Y', strtotime($shipment->invoice_date)) : null }} {{ $shipment->tonnage_shipped }} {{ $shipment->bl_rate }} {{ optional($shipment->vessel)->name }} {{ optional($shipment->shippingmode)->name }} {{ $shipment->bill_of_laden_number }} {{ $shipment->bill_of_laden_date ? date('d - M - Y', strtotime($shipment->bill_of_laden_date)) : null }} {{ optional($shipment->loadingport)->name }} @foreach ($users as $user) @if ($user->id == $shipment->user_id) {{ $user->username }} @endif @endforeach @foreach ($users as $user) @if ($user->id == $shipment->supervisor_id) {{ $user->username }} @endif @endforeach {{ strtoupper($shipment->disapproval_reason) }}EDITEDITEDITEDIT Prepare Invoice {{csrf_field()}} status == 'sup') disabled @endif >Send to Supervisor
No. Contract Number Invoice NumberReference NumberInsurance Number Invoice Date Tonnage Shipped Freight Exchange
Rate
Vessel Mode of Shipment Bill of Laden Number Bill of Laden Date Loading Port Prepared By Supervised By Reason For DisapprovalEDITDELETEDraft InvoiceSend to Supervisor
@endsection @section('more-scripts') @endsection