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

OPERATIONS MANAGEMENT SYSTEM

SHIPMENT REPORT

{{-- --}} @foreach ($shed_waybills as $shed_waybill) @if (!empty($shed_waybill->wpo_evacuation->fac->allocation_letter->revise_ref_id)) @elseif (!empty($shed_waybill->wpo_evacuation->fac->allocation_letter->cancel_ref_id)) @else @endif @endforeach
No. BUYER SD NO. MK NO. CONTRACT NO. WAYBILL NO. WAYBILL DATE VESSEL COCOA TYPE SPECIALTY QUANTITY LOADED
(BAGS)
QUANTITY LOADED
(EXPECTED TONNAGE)
QUANTITY LOADED
(ACTUAL TONNAGE)
CROP YEAR REQUESTED CROP YEAR UTILIZED CATEGORY TOC SHED ASSIGNED SEASONSTACK NO
{{ $count++ }}. {{ strtoupper($shed_waybill->consignee->name) }} (SD/{{ substr(optional(App\Model\allocation_letter::find($shed_waybill->wpo_evacuation->fac->allocation_letter->revise_ref_id))->ref_number, 21) }}) (SD/{{ substr(optional(App\Model\allocation_letter::find($shed_waybill->wpo_evacuation->fac->allocation_letter->cancel_ref_id))->ref_number, 21) }}) (SD/{{ substr($shed_waybill->wpo_evacuation?->fac->allocation_letter?->ref_number, 21) }}) {{ $shed_waybill->wpo_evacuation?->sales_advice->mk_number }} {{ strtoupper($shed_waybill->contract->number) }} {{ $shed_waybill->waybill_no }} {{ $shed_waybill->waybill_date }} {{ strtoupper($shed_waybill->wpo_evacuation?->fac->vessel->name) }} {{ strtoupper(optional($shed_waybill->wpo_evacuation?->contract->shipping_instruction->cocoa_type)->type_name) }} {{ $shed_waybill->wpo_evacuation?->contract->shipping_instruction->specialty_type ? strtoupper($shed_waybill->wpo_evacuation?->contract->shipping_instruction->specialty_type) : 'N/A' }} {{ $shed_waybill->quantity }} {{ $shed_waybill->quantity / 16 }} {{ $shed_waybill->net_weight ?? $shed_waybill->quantity / 16 }} {{ $shed_waybill->wpo_evacuation?->category?->season->name }} {{ $shed_waybill->category->season->name }} {{ $shed_waybill->category->name }} {{ $shed_waybill->port->name }} {{ $shed_waybill->shed->name }} {{ $shed_waybill->season->name }}
Showing {{ $shed_waybills->firstItem() }} to {{ $shed_waybills->lastItem() }} of total {{ $shed_waybills->total() }} entries {!! $shed_waybills->render() !!}
@endsection @section('more-scripts') @endsection