{% extends 'base.html' %} {% load humanize %} {% block title %}Registration Fee Audit Trail{% endblock %} {% block content %}

Registration Fee Audit Trail

Track changes and payment history for registration fees

Monthly Revenue Trends

{% if monthly_trends %}
{% for trend in monthly_trends %} {% endfor %}
Month Revenue Payments Avg Payment
{{ trend.month|date:"F Y" }} KES {{ trend.total_revenue|floatformat:2|intcomma }} {{ trend.payment_count }} {% if trend.payment_count > 0 %} KES {{ trend.total_revenue|div:trend.payment_count|floatformat:2|intcomma }} {% else %} - {% endif %}
{% else %}
๐Ÿ“ˆ

No monthly trends data available

{% endif %}

Fee Configuration History

{% if fee_changes %}
{% for fee in fee_changes %} {% endfor %}
Fee Name Product Type Amount Status Last Updated Created By
{{ fee.fee_name }} {{ fee.get_product_type_display }} KES {{ fee.amount|floatformat:2|intcomma }} {% if fee.is_active %} Active {% else %} Inactive {% endif %} {{ fee.updated_at|date:"M d, Y H:i" }} {% if fee.created_by %} {{ fee.created_by.get_full_name }} {% else %} System {% endif %}
{% else %}

No fee configuration changes found

{% endif %}

Recent Payment History

{% if payment_history %}
{% for payment in payment_history %} {% endfor %}
Receipt # Customer Fee Amount Method Date Processed By
{{ payment.receipt_number }}
{{ payment.customer.get_full_name }}
{{ payment.customer.phone_number }}
{{ payment.registration_fee.fee_name }}
{{ payment.registration_fee.get_product_type_display }}
KES {{ payment.amount_paid|floatformat:2|intcomma }} {{ payment.get_payment_method_display }} {{ payment.payment_date|date:"M d, Y H:i" }} {% if payment.processed_by %} {{ payment.processed_by.get_full_name }} {% else %} System {% endif %}
{% else %}
๐Ÿงพ

No payment history found

{% endif %}
{% endblock %}