@extends('layouts.app') @section('title', 'Packing List #'.optional($packingList)->pl_number) @section('breadcrumbs') @endsection @section('content')

{{ $packingList->pl_number }}

Packing List

Print
Shipper
{{ $packingList->order->customer->name ?? 'N/A' }}
PL #
{{ $packingList->pl_number }}
Date: {{ $packingList->date?->format('d M Y') ?? 'N/A' }}
@forelse($packingList->items as $i => $item) @empty@endforelse
#ProductDescriptionQtyPackagesGross Wt (MT)Net Wt (MT)Volume (CBM)
{{ $i + 1 }}{{ $item->product->name ?? 'N/A' }}{{ $item->description }}{{ number_format($item->quantity, 2) }}{{ $item->no_packages ?? 0 }}{{ number_format($item->gross_weight, 3) }}{{ number_format($item->net_weight, 3) }}{{ number_format($item->volume, 3) }}
No items
Total{{ number_format($packingList->items->sum('quantity'), 2) }}{{ $packingList->items->sum('no_packages') }}{{ number_format($packingList->items->sum('gross_weight'), 3) }}{{ number_format($packingList->items->sum('net_weight'), 3) }}{{ number_format($packingList->items->sum('volume'), 3) }}
@endsection