Bush & Internal Waybill Info
Transaction details
LBC | {{ strtoupper($bush_delivery->lbc->name) }} |
---|---|
Truck no. | {{ strtoupper($bush_delivery->truck_no) }} |
Driver's Name: | {{ strtoupper($bush_delivery->driver_name) }} |
Driver's License: | {{ strtoupper($bush_delivery->driver_license) }} |
Expected No. of Bags (On Bush Waybill) | {{ strtoupper($bush_delivery->bush_waybills->sum('bush_no_of_bags')) }} |
Expected No. of Bags(On Internal Waybill) | {{ strtoupper($bush_delivery->internal_waybills->sum('internal_no_of_bags')) }} |
Transaction Code: | {{ $bush_delivery->transaction_code }} |
Delivery Type | {{ strtoupper($bush_delivery->type) }} |
Sum of Bags | {{ $sab = $bush_delivery->internal_waybills->sum('internal_no_of_bags') }} |
Expected Quantity of Bags (Registration) | {{ $seb = $bush_delivery->no_bags }} |
Difference | {{ $seb - $sab }} |
District(s) | @if (!$bush_delivery->districts->isEmpty()) @foreach ($bush_delivery->districts as $district) @if (!$loop->last) {{ strtoupper($district->district_name) }}, @elseif($loop->last) {{ strtoupper($district->district_name) }} @endif @endforeach @endif |
CODE | Waybill No. | No. of Bags | Date | Cocoa Type | Specialty | Client | CAT. | GRADE. | EDIT | @can('ss_supervisor', Auth::user())DELETE | @endcan
---|---|---|---|---|---|---|---|---|---|---|
{{ $waybill->bush_delivery->transaction_code }} | {{ $waybill->internal_waybill_no }} | {{ $waybill->internal_no_of_bags }} | {{ $waybill->internal_waybill_date }} | {{ optional($waybill->cocoa_type)->type_name }} | {{ $waybill->specialty_type }} | {{ $waybill->client_name }} | {{ optional($waybill->category)->name }} | {{ $waybill->internal_waybill_grade }} | EDIT WAYBILL | @can('ss_supervisor', Auth::user())@endcan |