{% extends 'base.html' %} {% load humanize %} {% load static %} {% block title %}Interest Income Report{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Interest Income Report

Analysis of interest income from active loans

📅 Generated on {{ "now"|date:"F d, Y" }} at {{ "now"|date:"g:i A" }}

🔍 Advanced Filters

Total Interest Income

KES {{ report_data.summary.total_interest_income|default:0|floatformat:2|intcomma }}

↑ Revenue from interest
đŸ’ĩ

Interest Bearing Loans

{{ report_data.summary.total_loans|default:0 }}

📈 Active loan count
🧮

Average Interest Rate

{{ report_data.summary.average_interest_rate|default:0|floatformat:1 }}%

Mean rate across loans
📈

Monthly Growth

{{ report_data.summary.monthly_growth|default:0|floatformat:1 }}%

Growth rate

Interest Income Details

{% if report_data.income_details %}

{{ report_data.income_details|length }} interest income record{{ report_data.income_details|length|pluralize }} found

{% endif %}
Detailed View
{% if report_data.income_details %}
{% for income in report_data.income_details %} {% endfor %}
Loan # 👤Borrower đŸ’ĩPrincipal Interest Rate đŸĒ™Interest Earned â„šī¸Status
{{ income.loan_number }}
{{ income.borrower_name }}
KES {{ income.principal_amount|floatformat:2|intcomma }} {{ income.interest_rate|floatformat:1 }}% KES {{ income.interest_earned|floatformat:2|intcomma }} {% if income.status == 'active' %} {{ income.status|title }} {% elif income.status == 'paid' %} {{ income.status|title }} {% else %} {{ income.status|title }} {% endif %}
Showing {{ report_data.income_details|length }} of {{ report_data.income_details|length }} records
Total Interest: KES {{ report_data.summary.total_interest_income|default:0|floatformat:2|intcomma }}
{% else %}

No Interest Income Found

No interest income matches the selected criteria. Try adjusting your filters or check back when loans start generating interest.

{% endif %}
{% endblock %}