@extends('admin.layout.app') @section('more-head') @endsection @section('main-content') Wpo Evacuation Wpo Evacuation @include('includes.messages') {{ csrf_field() }} {{ method_field('PUT') }} Select MK Number: {{ $wpo_evacuation->sales_advice->mk_number }} Contract Number Select Crop Name: {{ $wpo_evacuation->sales_advice->crop->name }} Select Buyer: {{ $wpo_evacuation->consignee->name }} Evacuation Letter Date @php $tonnage_remaining = $wpo_evacuation->contract->tonnage - $wpo_evacuation->contract->wpo_evacuations()->sum('tonnage_to_be_evacuated'); @endphp Tonnage to be Evacuated {{ $tonnage_remaining }} remaining Shipping Period Select TOC : @foreach ($ports as $port) id == $wpo_evacuation->port_id) selected @endif>{{ $port->name }} @endforeach @endsection @section('more-scripts') @endsection