{% extends 'base.html' %} {% load humanize %} {% block title %}Processing Fees Analytics - Enhanced Report{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

๐Ÿช™ Processing Fees Analytics

Comprehensive analysis of processing fees and loan origination revenue

โ† Back to Dashboard

๐Ÿ” Report Filters

Filtered by session

KSh {{ report_data.summary.total_processing_fees|default:0|floatformat:0|intcomma }}

Total Processing Fees

๐Ÿ’ต

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

Loans Processed

๐Ÿงพ

KSh {{ report_data.summary.average_processing_fee|default:0|floatformat:0|intcomma }}

Average Fee per Loan

๐Ÿ“ˆ

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

Fee as % of Portfolio

Detailed Processing Fees Breakdown

{% if report_data.loans %} {% for loan in report_data.loans %} {% endfor %} {% else %} {% endif %}
Loan Number Borrower Product Type Loan Amount Processing Fee Fee Rate Date Processed Status Actions
{{ loan.loan_number }}
{{ loan.borrower_name }}
{{ loan.borrower_phone }}
{{ loan.product_name|default:"Standard Loan" }} KSh {{ loan.principal_amount|floatformat:0|intcomma }} KSh {{ loan.processing_fee|floatformat:0|intcomma }} {{ loan.fee_rate|floatformat:1 }}% {{ loan.disbursement_date|date:"M d, Y" }} {{ loan.fee_status|default:"Collected" }}
โ„น๏ธ

No Processing Fees Found

No processing fees found for the selected period and filters.

๐Ÿ“Š Fee Collection Summary

Fees Collected: KSh {{ report_data.summary.fees_collected|default:0|floatformat:0|intcomma }}
Fees Pending: KSh {{ report_data.summary.fees_pending|default:0|floatformat:0|intcomma }}
Collection Rate: {{ report_data.summary.collection_rate|default:0|floatformat:1 }}%

Performance Metrics

Growth vs Last Period: {{ report_data.summary.growth_rate|default:0|floatformat:1 }}%
Highest Single Fee: KSh {{ report_data.summary.highest_fee|default:0|floatformat:0|intcomma }}
Most Active Product: {{ report_data.summary.top_product|default:"N/A" }}

๐Ÿ“… Period Comparison

This Period: KSh {{ report_data.summary.current_period_fees|default:0|floatformat:0|intcomma }}
Previous Period: KSh {{ report_data.summary.previous_period_fees|default:0|floatformat:0|intcomma }}
Difference: {% if report_data.summary.period_difference >= 0 %}+{% endif %}KSh {{ report_data.summary.period_difference|default:0|floatformat:0|intcomma }}
{% endblock %}