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

Approved Freights

Approved Freights

@can('accra.shipping', Auth::user()) @endcan @can('operation.accra_wpo', Auth::user()) {{-- --}} @endcan @foreach ($facs as $fac) @if ($fac->allocation_letter->revise_ref_id != null) @elseif ($fac->allocation_letter->cancel_ref_id != null) @else @endif @if (empty($fac->shipping_line)) @else @endif @if ($fac->contract->tolling_factory_id == null) @else @endif @php $shipment = App\Model\shipment::where('contract_id', $fac->contract_id)->first(); @endphp @can('accra.shipping', Auth::user()) @if ($fac->contract->shipment->count() < 1) @else @endif @endcan @can('operation.accra_wpo', Auth::user()) {{-- @if (optional($fac->wpo_evacuation)->wpo_allocation_letter_id == null || optional($fac->wpo_evacuation)->cancel_wpo_allocation_letter_id != null) --}} {{-- @else --}} {{-- --}} {{-- @endif --}} @endcan @endforeach @can('accra.shipping', Auth::user()) @endcan @can('operation.accra_wpo', Auth::user()) {{-- --}} @endcan
No. PSP REF SD REF VESSEL ETA TONNAGE DESTINATION shipping MODE SHIPPING LINE CONTRACT NO. BUYER PORT OF LOADINGDraft InvoiceDATEALLOCATION LETTER
{{ $loop->index + 1 }} {{ optional($fac->shipping_programme)->sp_ref }}{{ optional(App\Model\allocation_letter::find($fac->allocation_letter->revise_ref_id))->ref_number }}{{ optional(App\Model\allocation_letter::find($fac->allocation_letter->cancel_ref_id))->ref_number }}{{ $fac->allocation_letter->ref_number }}{{ $fac->vessel->name }} {{ $fac->eta }} {{ $fac->fac_tonnage }} {{ optional(optional($fac->contract)->destinationport)->name }} {{ $fac->contract->shippingmode->name }} {{ optional(optional(optional($fac->contract)->shipping_instruction)->shipping_line)->shipping_line }} {{ optional($fac->shipping_line)->shipping_line }} {{ optional($fac->contract)->number }}{{ optional($fac->contract)->consignee->name }}{{ App\Model\consignee::find($fac->contract->tolling_factory_id)->name }}{{ $fac->loadingport->name }}DRAFT INVOICEPrepare Invoice ADD DATE EDIT DATE VIEW LETTER
No. PSP REF SD REF VESSEL ETA TONNAGE DESTINATION shipping MODE SHIPPING LINE CONTRACT NO. BUYER PORT OF LOADINGDraft InvoiceDATEALLOCATION LETTER
@endsection @section('more-scripts') @endsection