Invoices: {{ $student->name }}

{{ $student->email }}

@php $filters = [ '' => 'All', 'pending' => 'Pending', 'paid' => 'Paid', 'cancelled' => 'Cancelled', ]; @endphp @foreach ($filters as $value => $label) @php $isActive = ($activeStatus === $value) || ($value === '' && $activeStatus === null); @endphp {{ $label }} @endforeach
@include('payment::partials.finance-link', ['currentPage' => 'invoices'])
@forelse ($orders as $order) @php $badge = match ($order->status) { 'paid' => 'bg-emerald-50 text-emerald-700 ring-emerald-200', 'pending' => 'bg-amber-50 text-amber-700 ring-amber-200', 'cancelled' => 'bg-rose-50 text-rose-700 ring-rose-200', default => 'bg-slate-50 text-slate-700 ring-slate-200', }; @endphp @empty @endforelse
Invoice Course Batch Status Total Date Actions
#INV-{{ $order->id }} {{ $order->course?->title ?? '—' }} {{ $order->batch?->name ?? '—' }} {{ ucfirst($order->status) }} {{ $order->currency }} {{ number_format((float) $order->amount, 2) }} {{ optional($order->created_at)->format('d M Y, h:i A') }}
@if($order->status === 'pending') Record payment @endif View Download
No invoices found.
@if (method_exists($orders, 'links'))
{{ $orders->links() }}
@endif