{% extends 'base.html' %} {% load static %} {% block title %}{{ title }} - Rapha-Bethel BNPS{% endblock %} {% block content %}

{{ title }}

Back
{% if selected_invoice %}
Recording payment for invoice {{ selected_invoice.invoice_number }} — {{ selected_invoice.student.get_full_name }} • Balance: {{ selected_invoice.balance|floatformat:0 }} XAF
{% endif %}
Payment Information
{% csrf_token %} {% if form.errors %}
Please correct the errors below.
{% endif %} {% if not object %}
{{ form.invoice }} {% if form.invoice.errors %}
{{ form.invoice.errors }}
{% endif %}
{% endif %}
{{ form.amount }} {% if form.amount.errors %}
{{ form.amount.errors }}
{% endif %}
{{ form.payment_date }}
{{ form.payment_method }}
{{ form.status }}
{{ form.transaction_id }}
{{ form.notes }}
Cancel
{% block extra_js %} {% endblock %} {% endblock %}