{% extends "superadmin/base_superadmin.html" %} {% block title %}Financial Overview - Superadmin{% endblock %} {% block content %}

Financial Overview

Comprehensive financial management and analytics

Total Deposits
৳{{ "%.2f"|format(total_deposits) }}
All contributions combined
Approved Loans
৳{{ "%.2f"|format(total_loans) }}
Loans disbursed
Pending Loans
৳{{ "%.2f"|format(pending_loans) }}
Awaiting approval

Group Financial Breakdown

{% for group in group_financials %} {% endfor %}
Group Members Total Contributions Loans Loan Amount
{{ group.name }}
{{ group.group_code }}
{{ group.active_members or 0 }} ৳{{ "%.2f"|format(group.total_contributions or 0) }} {{ group.total_loans or 0 }} ৳{{ "%.2f"|format(group.loan_amount or 0) }}

Large Transactions (৳1,000+)

{% for transaction in large_transactions %}

{{ transaction.member.full_name }}

{{ transaction.contribution_type|title }}

৳{{ "%.2f"|format(transaction.amount) }}

{{ transaction.created_at.strftime('%b %d, %Y') }}

{% endfor %}

Contribution Types

{% for type in contribution_types %}
{% if type.contribution_type == 'monthly' %} {% elif type.contribution_type == 'special' %} {% elif type.contribution_type == 'penalty' %} {% else %} {% endif %}

{{ type.contribution_type|title }}

{{ type.count }} transactions

৳{{ "%.2f"|format(type.total) }}

{% endfor %}
{% endblock %}