{{ strtoupper(substr($school['name'], 0, 2)) }}

{{ $school['name'] }}

@if(!empty($school['address']))

{{ $school['address'] }}

@endif @if(!empty($school['phone']) || !empty($school['email']))

@if(!empty($school['email'])){{ $school['email'] }}@endif @if(!empty($school['email']) && !empty($school['phone']))  ·  @endif @if(!empty($school['phone'])){{ $school['phone'] }}@endif

@endif

Official Receipt

{{ $receiptNumber }}

Issued: {{ $issuedDate }}

Payment For

{{ $paymentTitle }}

@if($sessionLabel)

Session {{ $sessionLabel }}

@endif

Billed To

@foreach($billedToDetails as $detail) @endforeach
Name {{ $recipientName }}
{{ $detail['label'] }} {{ $detail['value'] }}

Payment Information

Method {{ $paymentMethod }}
Reference {{ $paymentReference }}
Date {{ $paymentDate }}
Processed By {{ $processedBy }}
@foreach($items as $i => $item) @endforeach
# Description Amount
{{ str_pad((string) ($i + 1), 2, '0', STR_PAD_LEFT) }} {{ $item['description'] }} ₦{{ number_format((float) $item['amount'], 2) }}
Subtotal ₦{{ number_format($subtotal, 2) }}
Amount Paid ₦{{ number_format($amountPaid, 2) }}
Balance Due ₦{{ number_format($balanceDue, 2) }}

Total Amount Received

₦{{ number_format($amountPaid, 2) }}

This is an automatically generated receipt. © {{ date('Y') }} {{ $school['name'] }}.