@include('admin.header')

Carton Details - {{ $shipment->shipment_number }}

Back to Shipment Add Carton
@if(session('success')) @endif
Packing List (No Value)
@if($cartons->count() > 0)
@foreach($cartons as $carton) @endforeach
Carton No Quantity Gross Weight (kg) Net Weight (kg) Volume (m³) Description Actions
{{ $carton->carton_number }} {{ number_format($carton->quantity) }} {{ $carton->gross_weight ? number_format($carton->gross_weight, 2) : 'N/A' }} {{ $carton->net_weight ? number_format($carton->net_weight, 2) : 'N/A' }} {{ $carton->volume ? number_format($carton->volume, 3) : 'N/A' }} {{ Str::limit($carton->description, 50) }}
@csrf @method('DELETE')
Total {{ number_format($cartons->sum('quantity')) }} {{ number_format($cartons->sum('gross_weight'), 2) }} {{ number_format($cartons->sum('net_weight'), 2) }} {{ number_format($cartons->sum('volume'), 3) }}
@else

No carton details added yet.

Add First Carton
@endif
Total Cartons

{{ $cartons->count() }}

Total Quantity

{{ number_format($cartons->sum('quantity')) }}

Total Weight

{{ number_format($cartons->sum('gross_weight'), 2) }} kg

Total Volume

{{ number_format($cartons->sum('volume'), 3) }} m³

@include('admin.footer')