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 | SEASON | {{--STACK NO | --}}|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $count++ }}. | {{ strtoupper($shed_waybill->consignee->name) }} | @if (!empty($shed_waybill->wpo_evacuation->fac->allocation_letter->revise_ref_id))(SD/{{ substr(optional(App\Model\allocation_letter::find($shed_waybill->wpo_evacuation->fac->allocation_letter->revise_ref_id))->ref_number, 21) }}) | @elseif (!empty($shed_waybill->wpo_evacuation->fac->allocation_letter->cancel_ref_id))(SD/{{ substr(optional(App\Model\allocation_letter::find($shed_waybill->wpo_evacuation->fac->allocation_letter->cancel_ref_id))->ref_number, 21) }}) | @else(SD/{{ substr($shed_waybill->wpo_evacuation?->fac->allocation_letter?->ref_number, 21) }}) | @endif{{ $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 }} |