@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($payments as $index => $payment) @empty @endforelse
# Invoice Student Gateway Reference Amount Status Paid At
{{ $payments->firstItem() + $index }} {{ $payment->invoice->invoice_number }} {{ $payment->invoice->student?->fullName() ?? ($payment->payer_name ?? '—') }} {{ ucfirst($payment->gateway) }} {{ $payment->gateway_reference ?? '—' }} {{ \App\Support\Money::format($payment->amount_cents, $currency) }} {{ ucfirst($payment->status) }} {{ $payment->paid_at?->setTimezone($tenant->timezone ?: 'UTC')->format('M j, Y g:i A') ?? '—' }}
No payments yet.
{{ $payments->links() }}