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

Invoices at Supervisor

shipment

@can('edit.invoice', Auth::user()) @endcan @can('delete.invoice', Auth::user()) @endcan @can('view.draft.invoice', Auth::user()) @endcan @can('view.draft.invoice', Auth::user()) @endcan @can('approve.invoice', Auth::user()) @endcan @can('disapprove.invoice', Auth::user()) @endcan @foreach ($shipments as $key => $shipment) @if ($shipment->multi_status == 'yes') @else @endif @if ($shipment->multi_status == 'yes') @else @endif @if ($shipment->multi_status == 'yes') @else @endif @can('edit.invoice', Auth::user()) @endcan @can('delete.invoice', Auth::user()) @endcan @can('view.draft.invoice', Auth::user()) @if ($shipment->multi_status == null) @else @endif @endcan @can('view.draft.invoice', Auth::user()) @if ($shipment->multi_status == null) @else @endcan @can('disapprove.invoice', Auth::user()) @endcan @endforeach @can('edit.invoice', Auth::user()) @endcan @can('delete.invoice', Auth::user()) @endcan @can('view.draft.invoice', Auth::user()) @endcan @can('view.draft.invoice', Auth::user()) @endcan @can('approve.invoice', Auth::user()) @endcan @can('disapprove.invoice', Auth::user()) @endcan
No. Contract Number Invoice Number Invoice Type 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 Prepared By EDITDELETEPreview Draft InvoicePREMIUMApproveDisapprove
{{ $loop->index + 1 }}. @foreach ($shipment->multi_contracts as $scontract) @endforeach
{{ $scontract->contract->number }} (SD: {{ optional($scontract->fac)->sd_number }})
{{ optional($shipment->contract)->number }} (SD: {{ optional($shipment->fac)->sd_number }}){{ $shipment->invoice_number }} {{ strtoupper($shipment->invoice_type) }} {{ $shipment->insurance_number }} {{ date('d - M - Y', strtotime($shipment->invoice_date)) }}{{ $shipment->multi_contracts->sum('tonnage_shipped') }}{{ $shipment->tonnage_shipped }}{{ $shipment->bl_rate }} {{ optional($shipment->vessel)->name }} @foreach ($shipment->multi_contracts as $scontract) @endforeach
{{ $scontract->contract->shippingmode->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 @foreach ($users as $user) @if ($user->id == $shipment->user_id) {{ $user->username }} @endif @endforeach EDIT Preview Invoice Preview Invoicepremium_id == null) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif>PREMIUM premium_id == null) disabled onclick="event.preventDefault();" oncontextmenu="return false;" @endif>PREMIUM @endif @endcan @can('approve.invoice', Auth::user()) {{ csrf_field() }} Approve {{ csrf_field() }} Disapprove
No. Contract Number Invoice Number Invoice Type 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 Prepared By EDITDELETEPreview Draft InvoicePREMIUMApproveDisapprove
Showing {{ $shipments->firstItem() }} to {{ $shipments->lastItem() }} of total {{ $shipments->total() }} entries {{ $shipments->links() }}
@endsection @section('more-scripts') @endsection