@extends('layouts.structure') @section('title', 'Dispatch Records') @section('content')

Finished Goods Dispatch

@if (session('error')) @endif @if (session('success')) @endif
Dispatch Details
@forelse ($dispatches as $dispatch) @empty @endforelse
Plan ID Client Name CRR No. Total Weight (TON) Coil Balance (TON) Status Action
{{ $loop->iteration }} {{ $dispatch->client_name }} {{ $dispatch->crr_no ?? 'N/A' }} {{ number_format($dispatch->total_weight, 3) }} {{ number_format($dispatch->coil_balance, 3) }} @if ($dispatch->coil_dispatched)
Dispatched
@endif
@if ($dispatch->dispatch_status === 'Dispatched') Dispatched @elseif ($dispatch->dispatch_status === 'Production Completed') Production Completed @else Partially Dispatched @endif
Weight Dispatched: {{ number_format($dispatch->dispatched_weight, 3) }} TON
Weight Balance: {{ number_format($dispatch->balance_weight, 3) }} TON
View
No dispatch records found.
@endsection