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

FACTORIES

FACTORIES

@foreach ($contracts as $contract) @if ($contract->tolling_factory_id == null) @else @endif @endforeach
No. Consignee Marketing Reference MK Number Contract Number Reference Date Tonnage Shipping Mode Basis Destination Port Allocated TOC Push to TOC
{{ $loop->index + 1 }}{{ optional($contract->consignee)->name }}{{ App\Model\consignee::find($contract->tolling_factory_id)->name }}{{ optional($contract->shipping_instruction)->consignee_reference }} {{ optional($contract->sales_advice)->mk_number }} {{ $contract->number }} {{ Carbon\Carbon::parse($contract->date_declared)->format('Y-m-d') }} {{ $contract->tonnage }} {{ $contract->shippingmode->name }} {{ optional($contract->base)->name }} {{ $contract->destinationport->name }} @foreach ($contract->wpo_evacuations as $wpo_evacuation) @endforeach
Tonnage TOC
{{ $wpo_evacuation->tonnage_to_be_evacuated }} {{ $wpo_evacuation->port->name }}
wpo_evacuations()->sum('tonnage_to_be_evacuated') == $contract->tonnage) disabled oncontextmenu="return false;" onclick="event.preventDefault();" @endif> TOC EVAC.
No. Consignee Marketing Reference MK Number Contract Number Reference Date Tonnage Shipping Mode Basis Destination Port Allocated TOC Push to TOC
@endsection @section('more-scripts') @endsection