| Invoice # | Invoice date | Original amount | Amount applied |
|---|---|---|---|
| {{ $invoice?->invoice_number ?? '—' }} | {{ $invoice?->txn_date?->toDateString() ?? '—' }} | {{ $invoice ? number_format((float) $invoice->total_amount, 2) : '—' }} | {{ number_format((float) $allocation->amount_applied, 2) }} |
| No invoices applied | |||
| Amount received | {{ number_format((float) $payment->total_amount, 2) }} |
| Applied | {{ number_format($payment->appliedAmount(), 2) }} |
| Unapplied (credit) | {{ number_format($payment->unappliedAmount(), 2) }} |