 }})
@if (empty(Auth::user()->shed_id) && $request->shed_id == 0)
{{ strtoupper(Auth::user()->port->name) }} TOC ARRIVAL DESK
@elseif (empty(Auth::user()->shed_id) && $request->shed_id > 0){{ strtoupper(App\Model\shed::find($request->shed_id)->name) }} SHED
@else{{ strtoupper(Auth::user()->shed->name) }} SHED
@endif@if ($request->type == '0' or $request->type == 'factory') Factory Field Report: @else Shipment Field Report: @endif {{ \Carbon\Carbon::parse($date_from)->format('jS F Y') }} - {{ \Carbon\Carbon::parse($date_to)->format('jS F Y') }}
No. | FACTORY/BUYER | MK NO. | CONTRACT NO. | WAYBILL NO. | HAULIER/VESSEL | TRANSACTION CODE | TRUCK NO | COCOA TYPE | SPECIALTY | CLIENT | QUANTITY LOADED(BAGS) | QUANTITY LOADED(TONNES) | SEASON UTILIZED | STACK NO | @if ($request->shed_id == 0)SHED ASSIGNED | @endifCLERK | GANG | REMARKS | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index + 1 }}. | {{ strtoupper($shed_waybill->consignee->name) }} | {{ $shed_waybill->wpo_evacuation->sales_advice->mk_number }} | {{ strtoupper($shed_waybill->contract->number) }} | {{ $shed_waybill->waybill_no }} | @if ($shed_waybill->type == 'factory'){{ strtoupper($shed_waybill->evac_truck->truck->transporter) }} | @else{{ strtoupper($shed_waybill->wpo_evacuation->fac->vessel->name) }} | @endif @if ($shed_waybill->type == 'factory'){{ strtoupper($shed_waybill->evac_truck->transaction_code) }} | {{ strtoupper($shed_waybill->evac_truck->truck->truck_no) }} | @elseN/A | N/A | @endif{{ strtoupper(App\Model\cocoa_type::find($shed_waybill->cocoa_type_id)?->type_name) ?? (strtoupper(optional($shed_waybill->wpo_evacuation->contract->shipping_instruction->cocoa_type)->type_name) ?? 'N/A') }} | {{ strtoupper(App\Model\specialty_type::find($shed_waybill->specialty_type_id)?->specialty_name) ?? (strtoupper(optional($shed_waybill->wpo_evacuation->contract->shipping_instruction)->specialty_type) ?? 'N/A') }} | {{ strtoupper(App\Model\client_type::find($shed_waybill->client_type_id)?->name) ?? 'N/A' }} | {{ $shed_waybill->quantity }} | {{ $shed_waybill->quantity / 16 }} | CAT {{ $shed_waybill->category->name }}({{ $shed_waybill->season->name }}) |
@foreach ($shed_waybill->stack_records as $stack_record)
{{ strtoupper($stack_record->mini_shed_stack()->withTrashed()->value('mini_name')) }}:
{{ $stack_record->quantity_evacuated }}
@endforeach |
@if ($request->shed_id == 0)
{{ $shed_waybill->shed->name }} | @endif{{ strtoupper($shed_waybill->clerk) }} |
@if ($shed_waybill->gang_name != null)
{{ strtoupper($shed_waybill->gang_name) }}
@else
@foreach ($shed_gang_allocations as $shed_gang_allocation)
@if ($shed_waybill->id == $shed_gang_allocation->shed_waybill_id)
{{ strtoupper($shed_gang_allocation->gang->gang_name) }} @endif @endforeach @endif |
||||
TOTAL | {{ $sbw = $shed_waybills->sum('quantity') }} | {{ $sbw / 16 }} |
TOTAL QUANTITY ASSIGNED(BAGS) | {{ $shed_evacs->sum('tonnage_assigned') * 16 }} | |
---|---|---|
TOTAL QUANTITY LOADED(BAGS) | {{ $sbw }} | |
TOTAL NUMBER OF TRUCKS LOADED | {{ $shed_waybills->count('evac_truck_id') }} | @endif|
EXPECTED SAMPLE RESIDUE(KG) | {{ 0.1 * $sbw }} | |
ACTUAL SAMPLE RESIDUE REALISED (KG) | OTHER DISCREPANT COCOA (KG) |
DEPOT KEEPER | SUPERVISOR | ||
---|---|---|---|
NAME | NAME | ||
SIGN | SIGN |