{{ $schoolName }}

Official Receipt

Receipt No: {{ $receipt->receipt_number }}
Student: {{ $receipt->student?->full_name }}
Payment Date: {{ optional($receipt->payment_date)->format('d M Y') }}
Payment Method: {{ $receipt->payment_method ?? '—' }}
Reference: {{ $receipt->reference ?? '—' }}
Received By: {{ $receipt->receivedBy?->name ?? '—' }}
Amount Received: {{ number_format($receipt->amount, 2) }}
@if ($receipt->paymentAllocations->isNotEmpty())

Allocated To

@foreach ($receipt->paymentAllocations as $allocation) @endforeach
Invoice Amount
{{ $allocation->invoice?->invoice_number ?? '—' }} {{ number_format($allocation->allocated_amount, 2) }}
@endif @if ($receipt->notes)

Notes: {{ $receipt->notes }}

@endif