{% 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 }} Term {{ invoice.get_term_display }}

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:"—" }}

{{ invoice.get_status_display }}
{% for item in items %} {% empty %} {% endfor %} {% if invoice.discount > 0 %} {% endif %}
DescriptionAmount (XAF)
{{ item.description }}{% if item.fee_structure %} ({{ item.fee_structure.get_fee_type_display }}){% endif %} {{ item.amount|floatformat:0 }}
No line items
Subtotal{{ invoice.subtotal|floatformat:0 }}
Discount{% if invoice.discount_reason %} ({{ invoice.discount_reason }}){% endif %}- {{ invoice.discount|floatformat:0 }}
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
+ Record Payment
{% for p in payments %} {% empty %} {% endfor %}
Payment #DateMethodAmountStatus
{{ 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 %}