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

Factory: {{App\Model\consignee::find($consignee_id)->name}}

{{App\Model\consignee::find($consignee_id)->name}}

@foreach ($evac_trucks as $evac_truck) @endforeach
No. Truck Number Transaction Code First Weight Second Weight Net Weight CDN NO. No. of Bags MKs Tonnage Status CONFIRM
{{$loop->index + 1}}. {{strtoupper($evac_truck->truck->truck_no)}} {{$evac_truck->transaction_code}} {{$evac_truck->first_weight}} {{$evac_truck->second_weight}} {{$evac_truck->net_weight}} @foreach ($evac_truck->shed_waybills as $sw) {{optional($sw->cdn)->cdn_number}}
@endforeach
{{$evac_truck->shed_waybills()->sum('quantity')}} @foreach ($evac_truck->shed_waybills as $shed_waybill) @endforeach
MK MK Tonnage
{{$shed_waybill->contract->mk_number}} {{$shed_waybill->contract->sales_advice->tonnage}}
@foreach ($evac_truck->shed_waybills as $shed_waybill) @php $mkt = $shed_waybill->sales_advice->tonnage; $td = $shed_waybill->sales_advice->shed_waybills()->sum('net_weight'); @endphp @endforeach
Contract No.Contract Tonnage Contract Tonnage Delivered MK Tonnage Remaining
{{$shed_waybill->contract->number}}{{$shed_waybill->contract->tonnage}} {{ ($shed_waybill->contract->shed_waybills()->sum('net_weight'))}} {{$mkt - $td}}
factory_bags != null) onclick="event.preventDefault();" disabled oncontextmenu="return false;" @endif>CONFIRM
No. Truck Number Transaction Code First Weight Second Weight Net Weight CDN NO. No. of Bags MKs Tonnage Status CONFIRM
@endsection @section('more-scripts') @endsection