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

OPERATIONS MANAGEMENT SYSTEM

RE-ASSIGN EVACUATION

No. MK Number Category Consignee Shipment Period Port Contract Number
1. {{ strtoupper($wpo_evacuation->mk_number) }} {{ strtoupper(optional($wpo_evacuation->sales_advice->crop)->name) }} {{ strtoupper($wpo_evacuation->consignee->name) }} {{ strtoupper($wpo_evacuation->shipping_period) }} {{ strtoupper($wpo_evacuation->port->name) }} {{ strtoupper($wpo_evacuation->contract_number) }}
{{-- --}}
Total Tonnage To be Evacuated {{ $tte = $wpo_evacuation->tonnage_to_be_evacuated }}
Total Tonnage Available From Assignment {{$tta = $wpo_evacuation->tonnage_to_be_evacuated - $wpo_evacuation->shed_evacs()->sum('tonnage_assigned')}}
Total Tonnage Fulfilled {{ $ttf = $wpo_evacuation->shed_waybills()->sum('quantity') / 16 }}
Total Tonnage Yet To be Fulfilled {{ $tty = $tte - $ttf }}
{{ csrf_field() }} {{ method_field('PUT') }}






@php $tta = $wpo_evacuation->tonnage_evacuated; @endphp
@endsection @section('more-scripts') @endsection