@extends('layouts.app') @section('title', 'Fee Statement') @section('content')

Fee statement · {{ $student->full_name }}

{{ $student->admission_no }} · {{ $student->class_label }} · {{ ucfirst($student->category ?? 'Day') }}
Collect
@include('finance._nav')
@php($totalInvoiced = $invoices->sum('total')) @php($totalPaid = $invoices->sum('paid')) @php($totalBalance = $invoices->sum('balance'))

Invoices

All terms on record
@forelse($invoices as $invoice) @empty @endforelse
TermYearTotalDiscountPaidBalanceStatus
{{ $invoice->term }} {{ $invoice->year }} {{ money($invoice->total) }} {{ money($invoice->discount) }} {{ money($invoice->paid) }} {{ money($invoice->balance) }}

Payments

Receipts issued to this learner
@forelse($payments as $payment) @empty @endforelse
ReceiptDateModeAmountStatus
{{ $payment->receipt_no }} {{ \Carbon\Carbon::parse($payment->paid_on)->format('d M Y') }} {{ $payment->mode }} {{ money($payment->amount) }}
@endsection