{{ $shopAddress }}
@endif| No | Tanggal | Invoice | Pelanggan | Total | Dibayar | Sisa | Umur |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $order->created_at->format('d/m/Y') }} | {{ $order->invoice_number }}@if($order->isPartiallyPaid()) (Cicilan)@endif | {{ $order->customer_name }} | Rp {{ number_format($order->total_price, 0, ',', '.') }} | {{ $totalPaid > 0 ? 'Rp ' . number_format($totalPaid, 0, ',', '.') : '-' }} | Rp {{ number_format($remaining, 0, ',', '.') }} | {{ $age }} hari |
| Tidak ada piutang | |||||||
| TOTAL PIUTANG | Rp {{ number_format($summary['total_receivables'], 0, ',', '.') }} | ||||||