{% extends "base.html" %} {% block title %}Registration Fees - National Medlab Cooperative{% endblock %} {% block content %}

Registration Fees Management

Member Approvals
Pending Registration Fees
Awaiting payment confirmation
{% if pending_fees %}
{% for fee in pending_fees %} {% endfor %}
Member Reg. No. Amount Status Action
{{ fee.user.full_name }} {{ fee.user.registration_number }} ₦{{ "%.2f"|format(fee.amount) }} {{ fee.status.title() }} Confirm Paid
Summary

Total Pending:

₦{{ "%.2f"|format(pending_fees|map(attribute='amount')|sum) }}

{{ pending_fees|length }} members

Average Fee:

₦{{ "%.2f"|format((pending_fees|map(attribute='amount')|sum) / (pending_fees|length)) if pending_fees else 0 }}

Per member
{% else %}
No pending registration fees

All registration fees have been processed.

{% endif %}
Paid Registration Fees
Payment confirmed
{% if paid_fees %}
{% for fee in paid_fees %} {% endfor %}
Member Reg. No. Amount Paid Date Confirmed By
{{ fee.user.full_name }} {{ fee.user.registration_number }} ₦{{ "%.2f"|format(fee.amount) }} {{ fee.paid_at.strftime('%d/%m/%Y') if fee.paid_at else 'N/A' }} {{ fee.payer.full_name if fee.payer else 'System' }}
Summary

Total Paid:

₦{{ "%.2f"|format(paid_fees|map(attribute='amount')|sum) }}

{{ paid_fees|length }} members

Collection Rate:

{{ "%.1f"|format(((paid_fees|length) / ((paid_fees|length) + (pending_fees|length)) * 100) if (paid_fees|length + pending_fees|length) > 0 else 0) }}%

Paid vs Total
{% else %}
No paid registration fees yet

No registration fees have been confirmed.

{% endif %}
Registration Fee Statistics
Total Members

{{ (pending_fees|length) + (paid_fees|length) }}

Total Collected

₦{{ "%.2f"|format(paid_fees|map(attribute='amount')|sum) }}

Pending Collection

₦{{ "%.2f"|format(pending_fees|map(attribute='amount')|sum) }}

Collection Rate

{{ "%.1f"|format(((paid_fees|length) / ((paid_fees|length) + (pending_fees|length)) * 100) if (paid_fees|length + pending_fees|length) > 0 else 0) }}%

{% endblock %}