{% extends 'base.html' %} {% load humanize %} {% block content-header %}
Print
{% endblock content-header %} {% block content %}

{{ object }}

{{ object.session }}
{{ object.term }}
{{ object.class_for }}
Status: {{ object.get_status_display }}

Expected Balance: {{ object.balance | intcomma }}

Invoice Breakdown
{% for item in items %} {% endfor %}
S/N Description Amount
{{ forloop.counter }} {{ item.description }} {{ item.amount }}
Total Amount this term {{ object.amount_payable | intcomma}}
Balance from previous term {{ object.balance_from_previous_term | intcomma }}
Total Amount Payable {{ object.total_amount_payable | intcomma}}
Total Amount Paid {{ object.total_amount_paid | intcomma}}

Payment History
{% for receipt in receipts %} {% endfor %}
S/N Amount Paid Date Paid Comment Paid
{{ forloop.counter }} {{ receipt.amount_paid}} {{ receipt.date_paid}} {{ receipt.comment}}
{% endblock content %}