diff --git a/04_Laravel/resources/views/pdfs/invoice.blade.php b/04_Laravel/resources/views/pdfs/invoice.blade.php index f5ff444..49e0b59 100644 --- a/04_Laravel/resources/views/pdfs/invoice.blade.php +++ b/04_Laravel/resources/views/pdfs/invoice.blade.php @@ -3,360 +3,416 @@
+
+ |
+
+ INVOICE
+ |
+
+ INV: {{ $shipment->awb_no }}
+ Date: {{ $shipment->created_at?->format('m/d/Y') }}
+ |
+
|
+ SHIPPER
+
|
+
+ CONSIGNEE
+
|
+
| NO | -DESCRIPTION | -H.S. CODE | -QUANTITY | -UNIT PRICE | -TOTAL IN USD | +No | +Description | +H.S. Code | +Qty | +Unit Price (USD) | +Total (USD) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->row_number }} | +{{ $item->row_number }} | {{ $item->description }} | -{{ $item->hs_code }} | -{{ $item->quantity }} | -{{ number_format($item->unit_price, 2) }} | -{{ number_format($item->total_usd, 2) }} | +{{ $item->hs_code ?: '—' }} | +{{ $item->quantity }} | +{{ number_format($item->unit_price, 2) }} | +{{ number_format($item->total_usd, 2) }} | |
| No items | |||||||||||
| No items | |||||||||||
| {{ $i }} | -- | - | - | - | - | ||||||
| TOTAL INVOICE AMOUNT IN USD | -{{ number_format($invoice_total_usd, 2) }} | +||||||||||
| TOTAL INVOICE AMOUNT (USD): | +{{ number_format($invoice_total_usd, 2) }} | ||||||||||
|
+ Gross Weight
+ {{ number_format($shipment->weight ?? 0, 3) }} KG
+ |
+
+ Volumetric Weight
+ {{ number_format($shipment->volumetric_weight ?? 0, 3) }} KG
+ |
+
+ W × L × H (cm)
+ {{ $shipment->dimensions ?: '—' }}
+ |
+
I hereby certify that the information on this invoice is true and correct, and that the goods originated from the country shown above. This invoice is for customs purposes only.
| + Shipper Name & Signature + + | +
+ Date
+ ...../...../..........
+ |
+