| Invoice | {{ $invoice->invoice_number }} |
| Date | {{ now()->format('Y-m-d h:i A') }} |
| Customer | {{ $invoice->customer->name }} |
| Item | Qty | Amount |
| {{ $ret->product->name ?? 'Item' }} | ||
| {{ $ret->product->barcode }} | ||
| Price: {{ number_format((float)($ret->price ?? 0), 2) }} | {{ number_format((float)($ret->qty ?? 0), 2) }} | {{ number_format((float)$amount, 2) }} |
| Reason: {{ $ret->reason }} | ||
| Total | {{ number_format((float)$total, 2) }} | |
| # | Item | Barcode | Qty | Price | Amount | Reason |
|---|---|---|---|---|---|---|
| {{ $i++ }} | {{ $ret->product->name ?? 'Item' }} | {{ $ret->product->barcode ?? '' }} | {{ number_format((float)($ret->qty ?? 0),2) }} | {{ number_format((float)($ret->price ?? 0),2) }} | {{ number_format((float)$amount,2) }} | {{ $ret->reason }} |
| Total | {{ number_format((float)$wideTotal,2) }} | |||||