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

Registration Fees Report

{% if report_data.period.period_display == 'All Time' %} All client registration fees collected since system launch {% else %} Registration fees for {{ report_data.period.period_display }} {% endif %}

๐Ÿ“… Generated on {{ "now"|date:"F d, Y" }} at {{ "now"|date:"g:i A" }}

๐Ÿ” Advanced Filters {% if report_data.period.period_display == 'All Time' %} Showing All Time Data {% endif %}

Leave empty for all-time data

Leave empty for all-time data

{% if filters.start_date or filters.end_date %}
โ„น๏ธ Filtered results are shown.
โœ•Clear filters (show all-time)
{% endif %}

Total Registration Income

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

โ†‘ Total revenue
๐Ÿ‘ฅ

Total Registrations

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

๐Ÿ‘ค+ Client registrations
๐Ÿงฎ

Average Fee

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

๐Ÿงฎ Mean fee amount

Payment Rate

{{ additional_analytics.payment_rate|default:0|floatformat:1 }}%

โœ“ Completion rate

Performance Metrics

Growth vs Last Period

๐Ÿ“ˆ

{% if report_data.summary.growth_vs_last_period >= 0 %}+{% endif %}{{ report_data.summary.growth_rate|default:0|floatformat:1 }}%

{% if report_data.summary.growth_vs_last_period >= 0 %} โ†‘ KES {{ report_data.summary.growth_vs_last_period|default:0|floatformat:2|intcomma }} {% else %} โ†“ KES {{ report_data.summary.growth_vs_last_period|default:0|floatformat:2|intcomma }} {% endif %}

Current: KES {{ report_data.summary.current_period_total|default:0|floatformat:2|intcomma }}
Previous: KES {{ report_data.summary.previous_period_total|default:0|floatformat:2|intcomma }}

Highest Single Fee

๐Ÿ’Ž

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

Maximum registration fee collected

Average Days to Pay

โฑ๏ธ

{{ report_data.summary.average_days_to_pay|default:0|floatformat:1 }} days

Mean time from registration to payment

Period Difference

๐Ÿ”„

{% if report_data.summary.growth_vs_last_period >= 0 %}+{% endif %}KES {{ report_data.summary.growth_vs_last_period|default:0|floatformat:2|intcomma }}

Arithmetic difference between periods

Registration Fees Details

{% if report_data.fees %}

{{ report_data.fees|length }} fee payment{{ report_data.fees|length|pluralize }} found

{% endif %}
Detailed View
{% if report_data.fees %}
{% for fee in report_data.fees %} {% endfor %}
๐Ÿ‘คClient Name ๐ŸงพRegistration Fee ๐Ÿ’ตAmount ๐Ÿ’ณPayment Method ๐Ÿ“…Date Paid โœ“Status
{{ fee.customer_name }}
{% if fee.source == 'Client Registration' %}
Client Registration
{% endif %}
{{ fee.fee_name }}
{% if fee.product_type != 'client_registration' %} {{ fee.product_type|title }} {% endif %}
KES {{ fee.amount|floatformat:2|intcomma }} {{ fee.payment_method|title }}
{{ fee.payment_date|date:"M d, Y" }}
{{ fee.payment_date|date:"H:i" }}
โœ“ {{ fee.payment_status }}
{% if report_data.breakdown_by_source %}

Data Sources Breakdown

Client Registration Fees: KES {{ report_data.breakdown_by_source.user_registration_fees|floatformat:2|intcomma }}
Separate Fee Payments: KES {{ report_data.breakdown_by_source.registration_fee_payments|floatformat:2|intcomma }}
{% endif %} {% else %}

No Registration Fees Found

{% if filters.start_date or filters.end_date %} No registration fees match the selected date range. {% else %} No registration fees have been recorded yet. {% endif %}

{% endif %}
{% endblock %}