{% extends "base.html" %} {% load humanize %} {% block page_title %}Carry Forward Balances{% endblock page_title %} {% block content %}

Carry Forward Balances

Move unpaid balances from a closed or previous term into the next term without losing the original bill history. The old bill receives a credit adjustment, while the new term receives a separate Balance Brought Forward charge.

1Select old term
2Preview arrears
3Confirm posting
4Report separately

Preview before posting

Use this before opening a new term or after promotion setup.
Fees status
Total arrears to move UGX {{ total_outstanding|floatformat:0|intcomma }}
Ready learners {{ postable_rows|length|intcomma }}
Need setup {{ skipped_rows|length|intcomma }}

Balances found

Review carefully before posting into the target term.
{% if preview_rows %}
Professional accounting treatment: posting is idempotent. If the same source bill is posted again, the system updates the existing carry-forward rows instead of creating duplicates.
{% for row in preview_rows %} {% endfor %}
Student From To Balance Status
{{ row.student.student_name }} ID: {{ row.student.display_student_id }} {{ row.source_bill.academic_class }} {% if row.target_academic_class %} {{ row.target_academic_class }} {% else %} Target class missing {% endif %} UGX {{ row.outstanding|floatformat:0|intcomma }} {% if row.can_post %} Ready {% else %} Skipped {% endif %}
{% csrf_token %}
{% else %}

No outstanding balances found for the selected terms and class.
{% endif %}
{% endblock content %}