{% extends 'base.html' %} {% load static %} {% block title %}Reports & Analytics Dashboard{% endblock %} {% block content %}

๐Ÿ“Š Reports & Analytics Dashboard

Comprehensive reporting and analytics for loan management

๐Ÿ””Notifications

Total Loans

{{ executive_summary.total_loans|default:0 }}

๐Ÿ’ต

Active Loans

{{ executive_summary.active_loans|default:0 }}

๐Ÿ“ˆ

Total Disbursed

KES {{ executive_summary.total_disbursed|default:0|floatformat:0 }}

๐Ÿช™

Overdue Loans

{{ executive_summary.overdue_loans|default:0 }}

โš ๏ธ

โฐ Recent Report Activity

View All โ†’
{% if recent_notifications %} {% for notification in recent_notifications %}
{% if notification.type == 'success' %} โœ“ {% elif notification.type == 'error' %} โš ๏ธ {% else %} โ„น๏ธ {% endif %}

{{ notification.message }}

{{ notification.created_at|timesince }} ago

{% endfor %} {% else %}
๐Ÿ“ฅ

No recent activity

{% endif %}
{% endblock %}