No. | Contract Number | Invoice Number | Delivery Status | {{--Insurance Number | --}}Invoice Date | Tonnage Shipped | {{--Freight Exchange Rate | --}}
{{-- Vessel | --}}Mode of Shipment | {{--Bill of Laden Number | --}} {{--Bill of Laden Date | --}}Loading Port | {{--Insurance Premium | --}} {{--Sum Insured | --}}Prepared By | @can('edit.invoice', Auth::user())EDIT | @endcan @can('delete.invoice', Auth::user())DELETE | @endcan @can('view.draft.invoice', Auth::user())Draft Invoice | @endcan @can('send.supervisor', Auth::user())Send to Supervisor | @endcan @can('view.draft.invoice', Auth::user())PREMIUM | @endcan
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index + 1 }}. | {{ optional($shipment->contract)->number }} | {{ $shipment->invoice_number }} | {{ strtoupper($shipment->delivery_status) }} | {{--{{ $shipment->insurance_number }} | --}}{{ $shipment->invoice_date ? date('d - M - Y', strtotime($shipment->invoice_date)) : null }} | {{ number_format($shipment->tonnage_shipped, 4) }} | {{--{{ $shipment->bl_rate }} | --}} {{--{{ optional($shipment->vessel)->name }} | --}}{{ optional($shipment->shippingmode)->name }} | {{--{{ $shipment->bill_of_laden_number }} | --}} {{--{{ date('d - M - Y', strtotime($shipment->bill_of_laden_date)) }} | --}}{{ 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(round(optional($shipment->invoice_detail)->sum_insured, 1)), 2) }} @else 0 @endif | --}}@foreach ($users as $user) @if ($user->id == $shipment->user_id) {{ $user->username }} @endif @endforeach | @can('edit.invoice', Auth::user())EDIT | @endcan @can('delete.invoice', Auth::user())@endcan @can('view.draft.invoice', Auth::user()) | Prepare Invoice | @endcan @can('send.supervisor', Auth::user()){{ csrf_field() }} status == 'sup') disabled @endif>Send to Supervisor | @endcan @can('view.draft.invoice', Auth::user())premium_id == null) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif>PREMIUM | @endcan
No. | Contract Number | Invoice Number | Delivery Status | {{--Insurance Number | --}}Invoice Date | Tonnage Shipped | {{--Freight Exchange Rate | --}}
{{-- Vessel | --}}Mode of Shipment | {{--Bill of Laden Number | --}} {{--Bill of Laden Date | --}}Loading Port | {{--Insurance Premium | --}} {{--Sum Insured | --}}Prepared By | @can('edit.invoice', Auth::user())EDIT | @endcan @can('delete.invoice', Auth::user())DELETE | @endcan @can('view.draft.invoice', Auth::user())Draft Invoice | @endcan @can('send.supervisor', Auth::user())Send to Supervisor | @endcan {{-- @can('view.draft.invoice', Auth::user())PREMIUM | @endcan --}}