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

shipment

shipment

@can('supervisor.edit', Auth::user()) @endcan @can('delete.invoice', Auth::user()) @endcan @can('print.invoice', Auth::user()) @endcan @foreach ($shipments as $shipment) @can('supervisor.edit', Auth::user()) @endcan @can('delete.invoice', Auth::user()) @endcan @can('print.invoice', Auth::user()) @endcan @endforeach @can('supervisor.edit', Auth::user()) @endcan @can('delete.invoice', Auth::user()) @endcan @can('print.invoice', Auth::user()) @endcan
No. Contract Number Invoice Number 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 Supervised By Print StatusEDITDELETEPrint Invoice
{{$loop->index + 1}}. {{$shipment->contract['number']}} {{$shipment->id}} {{$shipment->insurance_number}} {{date("d - M - Y", strtotime($shipment->invoice_date))}} {{$shipment->tonnage_shipped}} {{$shipment->bl_rate}} {{$shipment->vessel['name']}} {{$shipment->shippingmode['name']}} {{$shipment->bill_of_laden_number}} {{date("d - M - Y", strtotime($shipment->bill_of_laden_date))}} {{$shipment->loadinGport['name']}} @if ($shipment->invoice_detail['insurance_premium'] != NULL) US ${{number_format($shipment->invoice_detail['insurance_premium'],2)}} @endif @if ($shipment->invoice_detail['sum_insured'] != NULL) $US{{number_format($shipment->invoice_detail['sum_insured'],2)}} @else 0 @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 EDIT Print Invoice
No. Contract Number Invoice Number 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 Supervised By Print StatusEDITDELETEPrint Invoice
{{--$shipments->links()--}}
@endsection @section('more-scripts') @endsection