{% extends 'base.html' %} {% load static %} {% block title %}{{ fee.name }} — Fee Detail{% endblock %} {% block content %}

{{ fee.name }}

{{ fee.get_section_display }} • {{ fee.get_class_group_display }} • {{ fee.academic_year }}

Fee Details
{% if fee.description %} {% endif %}
Section {{ fee.get_section_display }}
Class Group {{ fee.get_class_group_display }}
Academic Year {{ fee.academic_year }}

Registration — New Pupil {{ fee.registration_new|floatformat:0 }} XAF
Registration — Returning Pupil {{ fee.registration_old|floatformat:0 }} XAF

Total Annual Fees {{ fee.total_fees|floatformat:0 }} XAF
1st Installment {{ fee.installment_1|floatformat:0 }} XAF
2nd Installment {{ fee.installment_2|floatformat:0 }} XAF

Status {% if fee.is_active %} Active {% else %} Inactive {% endif %}
Notes {{ fee.description }}
{% if applicable_classes %}
Pinned to Specific Classes
    {% for cls in applicable_classes %}
  • {{ cls }}
  • {% endfor %}
{% else %}
This fee row applies to all classes in its group — no specific class pins.
{% endif %}
{% endblock %}