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

{{ title }}

Back
{% if selected_invoice %}
Recording payment for {{ selected_invoice.invoice_number }}
{{ selected_invoice.student.get_full_name }} • Current Balance: {{ selected_invoice.balance|floatformat:0 }} XAF
{% endif %}
New Transaction Details
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.invoice }} {% if form.invoice.errors %}
{{ form.invoice.errors }}
{% endif %}
{{ form.amount }} {% if form.amount.errors %}
{{ form.amount.errors }}
{% endif %}
{{ form.payment_date }} {% if form.payment_date.errors %}
{{ form.payment_date.errors }}
{% endif %}
{{ form.payment_method }}
{{ form.status }}
{{ form.transaction_id }} Optional - helps prevent duplicate payments {% if form.transaction_id.errors %}
{{ form.transaction_id.errors }}
{% endif %}
{{ form.notes }}
Cancel
{% block extra_js %} {% endblock %} {% endblock %}