Logo

{{ $data['school_name'] }}

{{ $data['school_address'] }}

Student Name: {{ $data['student_name'] }}

Academic Year: {{ $data['academic_year'] }}

Class: {{ $data['class'] }}

Section: {{ $data['section'] }}

Receipt #: {{ $data['receipt_no'] }}

Date: {{ $data['date'] }}

Billing Month: {{ $data['billing_month'] }}

Due Date: {{ $data['due_date'] }}

@php $total = 0; @endphp @foreach ($data['fees'] as $feeType => $fee) @php // Support both scalar and array-based fee $amount = is_array($fee) ? $fee['amount'] ?? 0 : floatval($fee); $total += $amount; @endphp @if ($amount > 0) @endif @endforeach
Fee Type Amount
{{ ucwords(str_replace('_', ' ', $feeType)) }} {{ number_format($amount, 2) }}
Total {{ number_format($total, 2) }}