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

OPERATIONS MANAGEMENT SYSTEM

Waybill no: {{ $shed_waybill->waybill_no }} for {{ strtoupper($shed_waybill->shed_evac->wpo_evacuation->consignee->name) }}

@include('includes.messages')
{{ csrf_field() }}


@if ($shed_waybill->shed_id == 48) @php //$bags_assigned = $shed_waybill->shed_evac->tonnage_assigned*16; $tonnage_assigned = $shed_waybill->quantity; $tonnage_fullfilled = $shed_waybill->stack_records->sum('tonnage_evacuated'); $bags_remaining = $tonnage_assigned - $tonnage_fullfilled; @endphp @else @php //$bags_assigned = $shed_waybill->shed_evac->tonnage_assigned*16; $bags_assigned = $shed_waybill->quantity; $bags_fullfilled = $shed_waybill->stack_records->sum('quantity_evacuated'); $bags_remaining = $bags_assigned - $bags_fullfilled; @endphp @endif
@if ($shed_waybill->shed_id == 48) @else @endif
@endsection @section('more-scripts') @endsection