@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@forelse($invoices as $index => $invoice)
@csrf

Sets the discount on this invoice, recomputing the amount due.

@empty @endforelse
# Invoice # Student Amount Current Discount Amount Due
{{ $invoices->firstItem() + $index }} {{ $invoice->invoice_number }} {{ $invoice->student?->fullName() ?? '—' }} {{ \App\Support\Money::format($invoice->amount_cents, $currency) }} {{ \App\Support\Money::format($invoice->discount_cents, $currency) }} {{ \App\Support\Money::format($invoice->amount_due_cents, $currency) }}
No outstanding invoices.
{{ $invoices->links() }}