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

shipment

shipment

@foreach ($shipments as $shipment) @endforeach
No. Contract 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 EDIT DELETE Draft Invoice Send to Supervisor
{{$loop->index + 1}}. {{$shipment->contract['number']}} {{$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)}} @else @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 EDIT Prepare Invoice {{csrf_field()}} status == 'sup') disabled @endif >Send to Supervisor
No. Contract 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 Remarks EDIT DELETE Draft Invoice Send to Supervisor
@endsection @section('more-scripts') @endsection