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

Draft Multi-Invoices

{{-- --}} @can('view.draft.invoice', Auth::user()) @endcan {{-- --}} @foreach ($shipments as $shipment) {{-- --}} @can('view.draft.invoice', Auth::user()) @endcan {{-- @if ($shipment->shipping_collection == null) @else @endif --}} @endforeach {{-- --}} @can('view.draft.invoice', Auth::user()) @endcan {{-- --}}
No. Invoice Number Insurance Number Invoice Date Freight Exchange
Rate
Vessel Mode of Shipment Bill of Laden Number Bill of Laden Date Loading Port Insurance Premium Sum Insured Contract Details Prepared By ADD CONTRACTS RANGE CONTRACTS EDITDELETEDraft Invoice Send to SupervisorPREMIUMCollection
{{ $loop->index + 1 }}. {{ $shipment->invoice_number }} {{ $shipment->insurance_number }} {{ $shipment->invoice_date ? date('d - M - Y', strtotime($shipment->invoice_date)) : null }} {{ $shipment->bl_rate }} {{ optional($shipment->vessel)->name }} {{ optional($shipment->shippingmode)->name }} {{ optional($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_contracts()->exists()) @foreach ($shipment->multi_contracts as $contract) @endforeach @else @endif
CONTRACT NO. TONNAGE SHIPPED EDIT REMOVE WITH CAUTION
{{ $contract->contract->number }} (SD: {{ $contract->fac->sd_number }}) {{ number_format($contract->tonnage_shipped, 2) }} EDIT
@foreach ($users as $user) @if ($user->id == $shipment->user_id) {{ $user->username }} @endif @endforeach ADD CONTRACTS RANGE CONTRACTS EDITmulti_contracts->count() == 0) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif>Prepare Multi Invoice {{ csrf_field() }} status == 'sup') disabled @endif>Send to Supervisor premium_id == null) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif>PREMIUM Collection Collection
No. Invoice Number Insurance Number Invoice Date Freight Exchange
Rate
Vessel Mode of Shipment Bill of Laden Number Bill of Laden Date Loading Port Insurance Premium Sum Insured Contract Details Prepared By ADD CONTRACTS RANGE CONTRACTS EDITDELETEDraft Invoice Send to SupervisorPREMIUMCollection
@endsection @section('more-scripts') @endsection