{% extends "base.html" %} {% block content %}
Welcome, {{ g.user.full_name }} ({{ g.user.role }}) • {{ today.strftime('%A, %d %b %Y') }} {% if active_term %} • Active Term: {{ active_term.name }} {{ active_term.academic_year }} {% endif %}
| Campus | Students | Collected (KES) | Arrears (KES) |
|---|---|---|---|
| {{ c.name }} {{ c.level }} |
{{ c.students }} | {{ "{:,.0f}".format(c.collected) }} | {{ "{:,.0f}".format(c.arrears) }} |
| Receipt | Student | Channel | Amount (KES) |
|---|---|---|---|
{{ p.receipt_no }} |
{{ st.full_name if st else p.account_ref_entered }} | {{ p.payment_method }} | {{ "{:,.2f}".format(p.amount) }} |
| No payments recorded yet. | |||
| Active Bus Routes | {{ stats.routes }} |
| Students Currently Out on Exeat | {{ stats.on_exeat }} |
| Store / Uniform Items Below Reorder Level | {{ stats.low_stock }} |
| School Session Status Today | {{ 'Open (Normal Classes)' if school_open_today else 'Closed / Break' }} |