{% extends "base.html" %} {% block content %}
Total Term Billed

KES {{ "{:,.2f}".format(summary.billed) }}

Total Collected

KES {{ "{:,.2f}".format(summary.collected) }}

Outstanding Arrears

KES {{ "{:,.2f}".format(summary.arrears) }}

Active Invoices

{{ invoices|length }}

Student Fee Invoices
{% for inv in invoices %} {% set st = students.get(inv.student_id) %} {% else %} {% endfor %}
InvoiceLearnerItemized Vote HeadsBilledPaidBalanceStatus
{{ inv.invoice_no }} {{ st.full_name if st else '-' }}
{{ st.adm_no if st else '' }}
{% for line in items_by_inv.get(inv.id, []) %}
• {{ line.description }}: {{ "{:,.0f}".format(line.amount) }}
{% endfor %}
{{ "{:,.2f}".format(inv.total_billed) }} {{ "{:,.2f}".format(inv.total_paid) }} {{ "{:,.2f}".format(inv.balance) }} {{ inv.status }}
No invoices generated yet.
Recent Reconciled Receipts
{% for p in payments %} {% set st = students.get(p.student_id) %} {% else %} {% endfor %}
Receipt No.StudentChannelTransaction RefAmount (KES)
{{ p.receipt_no }} {{ st.full_name if st else p.account_ref_entered }} {{ p.payment_method }} {{ p.external_ref }} {{ "{:,.2f}".format(p.amount) }}
No payments recorded yet.
{% endblock %}