| Invoice # | Client | Sale Date | Total | Paid | Due | Payment | Approval |
|---|---|---|---|---|---|---|---|
| INV-{{ str_pad($sale->id, 6, '0', STR_PAD_LEFT) }} |
{{ strtoupper(substr($clientName, 0, 2)) }}
{{ $clientName }}
{{ $sale->product?->name ?? '' }}
|
{{ $sale->sale_date ? \Illuminate\Support\Carbon::parse($sale->sale_date)->format('M d, Y') : '-' }} | {{ number_format($sale->total, 2) }} | {{ number_format($paid, 2) }} | {{ number_format($due, 2) }} | {{ ucfirst($sale->payment_status) }} | {{ ucfirst($sale->approval_status) }} |
| TOTALS | {{ number_format($totalAmount, 2) }} | {{ number_format($totalPaid, 2) }} | {{ number_format($totalDue, 2) }} | ||||
No invoices found matching your criteria.