@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; $statusColors = ['unpaid' => 'amber', 'partially_paid' => 'blue', 'paid' => 'green', 'overdue' => 'red', 'cancelled' => 'slate']; @endphp Ad-hoc Invoice
@forelse($invoices as $index => $invoice) @empty @endforelse
# Invoice # Student Description Amount Due Due Date Status
{{ $invoices->firstItem() + $index }} {{ $invoice->invoice_number }} {{ $invoice->student?->fullName() ?? '— (admission applicant)' }} {{ $invoice->description }} {{ \App\Support\Money::format($invoice->amount_due_cents, $currency) }} {{ $invoice->due_date->format('M j, Y') }} {{ ucfirst(str_replace('_', ' ', $invoice->status)) }}
No invoices found.
{{ $invoices->links() }}