shipment
No. | Contract Number | Invoice Number | Invoice Type | Insurance Number | Invoice Date | Tonnage Shipped | Freight Exchange Rate |
Vessel | Mode of Shipment | Destination | Basis | Bill of Laden Number | Bill of Laden Date | Loading Port | Insurance Premium | Sum Insured | Status | Prepared By | Supervised By | Print Status | @can('supervisor.edit', Auth::user())EDIT | @endcan {{-- @can('delete.invoice', Auth::user())DELETE | @endcan --}} @can('print.invoice', Auth::user())Print Invoice | Print Premium | @endcanCollection | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index + 1 }}. | @if ($shipment->multi_status == 'yes')
|
@else
{{ optional($shipment->contract)->number }} (SD: {{ optional($shipment->fac)->sd_number }}) | @endif{{ $shipment->invoice_number }} | {{ strtoupper($shipment->invoice_type) }} | {{ $shipment->insurance_number }} | {{ $shipment->invoice_date ? date('d - M - Y', strtotime($shipment->invoice_date)) : null }} | @if ($shipment->multi_status == 'yes'){{ $shipment->multi_contracts->sum('tonnage_shipped') }} | @else{{ $shipment->tonnage_shipped }} | @endif{{ $shipment->bl_rate }} | {{ optional($shipment->vessel)->name }} | {{ optional($shipment->shippingmode)->name }} | @if ($shipment->multi_status == 'yes'){{ $shipment->multi_contracts->last()->contract->destinationport->name }} | {{ $shipment->multi_contracts->last()->contract->base->name }} | @else{{ $shipment->contract?->destinationport->name }} | {{ $shipment->contract?->base->name }} | @endif{{ $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 }} | @if (optional($shipment->invoice_detail)->insurance_premium != null && optional($shipment->invoice_detail)->base_id != 3) US ${{ number_format(optional($shipment->invoice_detail)->insurance_premium, 2) }} @else 0 @endif | @if (optional($shipment->invoice_detail)->sum_insured != null) $US{{ number_format(ceil(optional($shipment->invoice_detail)->sum_insured), 2) }} @else 0 @endif | @if ($shipment->multi_status == 'yes') Multi @else Single @endif | @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 | @if ($shipment->print_status == 'yes') PRINTED @else NOT PRINTED @endif | @can('supervisor.edit', Auth::user())EDIT | @endcan {{-- @can('delete.invoice', Auth::user())@endcan --}} @can('print.invoice', Auth::user()) @if ($shipment->multi_status == 'yes') | Print Invoice | @elsePrint Invoice | @endif @if ($shipment->multi_status == 'yes')premium_id == null) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif> Print Premium | @elsepremium_id == null) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif> Print Premium | @endif @endcanCollection | {{-- @if ($shipment->shipping_collection == null) @elseCollection | @endif --}}|
No. | Contract Number | Invoice Number | Invoice Type | Insurance Number | Invoice Date | Tonnage Shipped | Freight Exchange Rate |
Vessel | Mode of Shipment | Destination | Basis | Bill of Laden Number | Bill of Laden Date | Loading Port | Insurance Premium | Sum Insured | Status | Prepared By | Supervised By | Print Status | @can('supervisor.edit', Auth::user())EDIT | @endcan {{-- @can('delete.invoice', Auth::user())DELETE | @endcan --}} @can('print.invoice', Auth::user())Print Invoice | Print Premium | @endcanCollection |