@php $palette = $themePalette ?? (is_array($theme ?? null) ? $theme : \App\Support\ThemePalette::resolveShades('emerald')); @endphp Official Payment Receipt @include('reports.partials.font') @php $resolvedSchoolName = !empty($branding['school_name']) ? $branding['school_name'] : (!empty($tenant?->school_name) ? $tenant->school_name : (!empty($tenant?->name) ? $tenant->name : 'School Management System')); $resolvedAddress = !empty($branding['address']) ? $branding['address'] : (!empty($tenant?->address) ? $tenant->address : 'Institutional Campus'); $resolvedPhone = !empty($branding['phone']) ? $branding['phone'] : (!empty($tenant?->phone) ? $tenant->phone : '—'); @endphp
@if(!empty($schoolLogo))
{{ $resolvedSchoolName }}
@endif
{{ $resolvedSchoolName }}
{{ $resolvedAddress }} | Phone: {{ $resolvedPhone }}
STUDENT FEE PAYMENT RECEIPT
Receipt #REC-{{ str_pad($payment->id, 6, '0', STR_PAD_LEFT) }}
Student Name: {{ $student->full_name ?? '—' }} Receipt Date: {{ $payment->payment_date }}
Admission No: {{ $student->admission_number ?? '—' }} Invoice Number: {{ $invoice->invoice_number ?? '—' }}
Payment Method: {{ $payment->payment_method }} Transaction ID: {{ $payment->transaction_id ?? 'N/A' }}
@foreach($invoice->items as $item) @endforeach
Fee Description Amount ($)
{{ $item->description }} ${{ number_format($item->amount, 2) }}
Invoice Total: ${{ number_format($invoice->total_amount, 2) }}
Amount Paid Now: ${{ number_format($payment->amount, 2) }}
Remaining Due: ${{ number_format($invoice->due_amount, 2) }}
PAYMENT VERIFIED & RECORDED