{% load static %} Kitonga Dashboard
Header

Kitonga Dashboard

Back to Admin
Stats Grid
Active Users
Active Users
{{ active_users }}
Today's Revenue
Today's Revenue
TSh {{ revenue_today.total_revenue|floatformat:0 }}
7-Day Revenue
7-Day Revenue
TSh {{ revenue_7d.total_revenue|floatformat:0 }}
30-Day Revenue
30-Day Revenue
TSh {{ revenue_30d.total_revenue|floatformat:0 }}
Two Column Layout
Recent Payments

Recent Payments

{% for payment in recent_payments %} {% empty %} {% endfor %}
Phone Amount Receipt Date
{{ payment.phone_number }} TSh {{ payment.amount }} {{ payment.mpesa_receipt_number|truncatechars:15 }} {{ payment.completed_at|date:"M d, H:i" }}
No payments yet
Recent Users

Recent Users

{% for user in recent_users %} {% empty %} {% endfor %}
Phone Status Payments Joined
{{ user.phone_number }} {% if user.is_active %} Active {% else %} Inactive {% endif %} {{ user.total_payments }} {{ user.created_at|date:"M d, Y" }}
No users yet
Payment Status Breakdown

Payment Status Breakdown

{% for stat in payment_stats %}
{{ stat.count }}
{{ stat.status }}
{% endfor %}