@extends('admin.layout.app') @section('more-head') @endsection @section('main-content') OPERATIONS MANAGEMENT SYSTEM Add Contract Details: @include('includes.messages') {{ csrf_field() }} Select Contract: Select Contract: @if ($shipment->invoice_type == 'foreign') @foreach ($facs as $fac) fac_id == $fac->id) selected @endif> {{ $fac->contract->number }} @endforeach @else @foreach ($contracts as $contract) contract_id == $contract->id) selected @endif>{{ $contract->number }} @endforeach @endif Total tonnage on Contract: {{ optional($shipment->contract)->tonnage }} Total tonnage on Allocation: {{ optional($shipment->fac)->fac_tonnage }} Total tonnage Shipped: {{ $tonnage_shipped }} Tonnage Shipped: @endsection @section('more-scripts') @endsection