{% extends 'base.html' %} {% load static %} {% block title %}Invoice {{ invoice.invoice_number }}{% endblock %} {% block content %}

Invoice {{ invoice.invoice_number }}

{{ invoice.student.get_full_name }} • {{ invoice.academic_year }} • {{ invoice.get_invoice_type_display }}

Back Edit {% if invoice.status != 'paid' and invoice.status != 'cancelled' and invoice.status != 'void' %} Record Payment {% endif %} Delete
Rapha-Bethel BNPS

Bilingual Nursery & Primary School

Douala, Cameroon

+237 6 70 17 79 79

Invoice

#{{ invoice.invoice_number }}

Issued: {{ invoice.issue_date|date:"d M Y" }}

Due: {{ invoice.due_date|date:"d M Y" }}


Bill To

{{ 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_status_display }}

{{ invoice.get_invoice_type_display }}

{% for item in items %} {% empty %} {% endfor %}
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 }}
{% if invoice.notes %}
Notes: {{ invoice.notes }}
{% endif %}
Payment History
{% if invoice.status != 'paid' and invoice.status != 'cancelled' and invoice.status != 'void' %} + Record Payment {% endif %}
{% for p in payments %} {% empty %} {% endfor %}
Payment #DateMethod AmountStatus
{{ 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.
Payment Progress
{{ invoice.payment_percentage|floatformat:1 }}% paid {{ invoice.amount_paid|floatformat:0 }} / {{ invoice.total_amount|floatformat:0 }}

Balance: {{ invoice.balance|floatformat:0 }} XAF

{% if reminders %}
Reminders Sent
    {% for r in reminders %}
  • {{ r.sent_date|date:"d M Y" }} — {{ r.get_reminder_type_display }} to {{ r.sent_to }}
  • {% endfor %}
{% endif %}
{% endblock %}