{% extends "dashboard/base_dashboard.html" %} {% load humanize %} {% block dashboard_section_content %}
Collection Rate

{{ reports_top_cards.collection_percent|floatformat:1 }}%

Billed: UGX {{ reports_top_cards.fees_billed|floatformat:0|intcomma }}
Paid: UGX {{ reports_top_cards.fees_paid|floatformat:0|intcomma }}
Net Balance

UGX {{ reports_top_cards.net_balance|floatformat:0|intcomma }}

Outstanding fees: UGX {{ reports_top_cards.fees_outstanding|floatformat:0|intcomma }}
Attendance & Academics

{{ reports_top_cards.attendance_percent|floatformat:1 }}% / {{ reports_top_cards.academic_average|floatformat:1 }}

Attendance percent and average class score
Verification Queue

{{ reports_top_cards.pending_tasks|intcomma }}

Pending quality control tasks
Users

{{ reports_top_cards.active_users|intcomma }}

Active users - {{ reports_inactive_users_count|intcomma }} inactive
System Health

{{ reports_system_version }}

DB {{ reports_db_size_mb|floatformat:2 }} MB - Media {{ reports_media_size_mb|floatformat:2 }} MB
Fees Financial Summary Income Statement Cash Flow Attendance Academic Bulk Result Cards Verification Monitor User & Access
{% if selected_term %}{% endif %}
Reset

Total Fees Billed

UGX {{ fees_total_billed|floatformat:0|intcomma }}

Total Paid

UGX {{ fees_total_paid|floatformat:0|intcomma }}

Outstanding Fees

UGX {{ fees_total_outstanding|floatformat:0|intcomma }}

Collection Percentage

{{ fees_collection_percent|floatformat:1 }}%

{% for row in fees_student_rows %} {% empty %} {% endfor %}
Student Name Student ID Class Fees Billed Fees Paid Outstanding Collection Status
{{ row.student_name }} {{ row.reg_no }} {{ row.class_label }} UGX {{ row.fees_billed|floatformat:0|intcomma }} UGX {{ row.fees_paid|floatformat:0|intcomma }} UGX {{ row.outstanding|floatformat:0|intcomma }} {{ row.status }}
No fee records in selected scope.
Paid vs Outstanding
Class-Wise Outstanding
Monthly Collections

Total Income

UGX {{ financial_total_income|floatformat:0|intcomma }}

Total Expenses

UGX {{ financial_total_expenses|floatformat:0|intcomma }}

Net Surplus / Deficit

UGX {{ financial_net_balance|floatformat:0|intcomma }}

Outstanding Receivables

UGX {{ financial_outstanding_receivables|floatformat:0|intcomma }}

{% for row in financial_summary_rows %} {% endfor %}
Category Amount Notes
{{ row.category }} UGX {{ row.amount|floatformat:0|intcomma }} {{ row.notes }}
Income vs Expenses
Balance Trend
{% if selected_term %}{% endif %}
Reset
{% for row in income_statement_rows %} {% empty %} {% endfor %}
Item Type Amount Notes
{{ row.item }} {{ row.type }} UGX {{ row.amount|floatformat:0|intcomma }} {{ row.notes }}
No income statement rows in this scope.
Income vs Expenses by Category
{% if selected_term %}{% endif %}
Reset

Total Inflow

UGX {{ cash_total_inflow|floatformat:0|intcomma }}

Total Outflow

UGX {{ cash_total_outflow|floatformat:0|intcomma }}

Net Cash

UGX {{ cash_net|floatformat:0|intcomma }}

{% for row in cash_flow_rows %} {% empty %} {% endfor %}
Date Description Inflow Outflow Balance
{{ row.date|date:"d-M-Y" }} {{ row.description }} {% if row.inflow %}UGX {{ row.inflow|floatformat:0|intcomma }}{% else %}-{% endif %} {% if row.outflow %}UGX {{ row.outflow|floatformat:0|intcomma }}{% else %}-{% endif %} UGX {{ row.balance|floatformat:0|intcomma }}
No cash movement in selected period.
Cash Movement Trend
Inflow vs Outflow by Week
{% if selected_term %}{% endif %}
Reset

Total Present

{{ attendance_total_present|intcomma }}

Total Absent

{{ attendance_total_absent|intcomma }}

Attendance %

{{ attendance_percent|floatformat:1 }}%

{% for row in attendance_student_rows %} {% empty %} {% endfor %}
Student Student ID Class Days Present Days Absent Attendance %
{{ row.student_name }} {{ row.reg_no }} {{ row.class_label }} {{ row.days_present|intcomma }} {{ row.days_absent|intcomma }} {{ row.attendance_percent|floatformat:1 }}%
No attendance records in selected scope.
Class Attendance Comparison
Daily Attendance Heatmap
{% if attendance_heatmap_truncated %}

Showing latest 42 days.

{% endif %}
{% for point in attendance_heatmap_points %}
{{ point.day_label }} {{ point.weekday }}
{% empty %}
No heatmap data.
{% endfor %}
{% if selected_term %}{% endif %}
Reset

Average Class Score

{{ academic_average_score|floatformat:1 }}

Highest Score

{{ academic_highest_score|floatformat:1 }}

Lowest Score

{{ academic_lowest_score|floatformat:1 }}

{% for row in academic_student_rows %} {% empty %} {% endfor %}
Student Student ID Subject Term Score Cumulative Score Grade
{{ row.student_name }} {{ row.reg_no }} {{ row.subject_name }} {{ row.term_score|floatformat:1 }} {{ row.cumulative_score|floatformat:1 }} {{ row.grade }}
No academic rows for selected scope.
Subject-Wise Performance
Student Progress Trend

Bulk Result Cards

{% if selected_term %}{% endif %}
Reset

Generated

{{ bulk_generated_count|intcomma }}

Pending

{{ bulk_pending_count|intcomma }}

Total Students

{{ bulk_total_students|intcomma }}

{% for row in bulk_result_rows %} {% empty %} {% endfor %}
Student Student ID Class Status Generate
{{ row.student_name }} {{ row.reg_no }} {{ row.class_label }} {% if row.is_generated %}Generated{% else %}Pending{% endif %} Generate
No students found for selected scope.

Result Verification Monitor

{% if selected_term %}{% endif %}
Reset
{% for row in verification_tasks %} {% empty %} {% endfor %}
Task Type Status Assigned To Created On Notes
{{ row.task }} {{ row.type }} {{ row.status }} {{ row.assigned_to }} {{ row.created_on|date:"d-M-Y" }} {{ row.notes|truncatechars:80 }}
No verification tasks found.

Pending Tasks

{{ verification_pending_count|intcomma }}

Completed Tasks

{{ verification_completed_count|intcomma }}

Pending vs Completed

User & Access Report

{% if selected_term %}{% endif %}
Reset
{% for row in user_access_rows %} {% empty %} {% endfor %}
User Role Status Last Login Actions
{{ row.username }}
{{ row.department }}
{{ row.role_name }} {{ row.status }} {% if row.last_login %}{{ row.last_login|date:"d-M-Y H:i" }}{% else %}-{% endif %} View Edit {% if row.can_deactivate %} Deactivate {% else %} {% endif %}
No users found.
Role Distribution
System Snapshot

Storage: {{ reports_storage_total_mb|floatformat:2 }} MB total

Version: {{ reports_system_version }}

Recent Login Activity

{% for log in reports_recent_login_activity %} {% empty %} {% endfor %}
TimeUserActionIP
{{ log.timestamp|date:"d-M H:i" }} {% if log.username %}{{ log.username }}{% elif log.user %}{{ log.user.username }}{% else %}anonymous{% endif %} {{ log.action|title }} {{ log.ip_address|default:"-" }}
No login activity logs.

Recent System Activity

{% for row in reports_recent_system_activity %} {% empty %} {% endfor %}
TimeUserActionTargetDetails
{{ row.timestamp|date:"d-M H:i" }} {{ row.username }} {{ row.action }} {{ row.target|truncatechars:44 }} {{ row.details|truncatechars:64 }}
No system activity logs.
{% endblock %}