{{ $loop->index + 1 }}. |
{{ strtoupper(optional(optional(optional($evac_truck->shed_evac)->wpo_evacuation)->sales_advice)->mk_number) }}
|
{{ strtoupper(optional(optional(optional($evac_truck->shed_evac)->wpo_evacuation)->contract)->number) }}
|
{{ strtoupper($evac_truck->shed_evac->wpo_evacuation->consignee->name) }} |
{{ strtoupper($evac_truck->transaction_code) }} |
{{ strtoupper(optional($evac_truck->truck)->truck_no) }} |
{{ strtoupper(optional($evac_truck->truck)->transporter) }} |
@php
$bags_evacuated = App\Model\shed_waybill::where('evac_truck_id', $evac_truck->id)->sum('quantity');
@endphp
{{ $bags_evacuated }} |
first_weight_date == null || $evac_truck->second_weight_date != null) onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif
onclick="return confirm('Are you sure you want to clear first weight')">Clear First Weight
|
second_weight_date == null) onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif
onclick="return confirm('Are you sure you want to clear second weight')">Clear Second Weight
|
@endforeach