{% extends 'base.html' %} {% load static %} {% block title %}Invoice {{ invoice.invoice_number }}{% endblock %} {% block content %}
{{ invoice.student.get_full_name }} • {{ invoice.academic_year }} • {{ invoice.get_invoice_type_display }}
Bilingual Nursery & Primary School
Douala, Cameroon
+237 6 70 17 79 79
#{{ invoice.invoice_number }}
Issued: {{ invoice.issue_date|date:"d M Y" }}
Due: {{ invoice.due_date|date:"d M Y" }}
{{ invoice.student.get_full_name }}
ID: {{ invoice.student.student_id }}
Class: {{ invoice.student.current_class|default:"—" }}
{% if invoice.enrollment_fee %}{{ invoice.enrollment_fee.fee_structure.get_section_display }} — {{ invoice.enrollment_fee.fee_structure.get_class_group_display }}
{% endif %}{{ invoice.get_invoice_type_display }}
| Description | Amount (XAF) |
|---|---|
| {{ item.description }} {% if item.fee_structure %} ({{ item.fee_structure.get_section_display }} — {{ item.fee_structure.get_class_group_display }}) {% elif item.school_item %} ({{ item.school_item.get_item_type_display }}) {% endif %} | {{ item.total|floatformat:0 }} |
| No line items | |
| Total | {{ invoice.total_amount|floatformat:0 }} |
| Amount Paid | {{ invoice.amount_paid|floatformat:0 }} |
| Balance Due | {{ invoice.balance|floatformat:0 }} |
| Payment # | Date | Method | Amount | Status | |
|---|---|---|---|---|---|
| {{ p.payment_number }} | {{ p.payment_date|date:"d M Y" }} | {{ p.get_payment_method_display }} | {{ p.amount|floatformat:0 }} XAF | {{ p.get_status_display }} | |
| No payments recorded yet. | |||||
Balance: {{ invoice.balance|floatformat:0 }} XAF