{% extends 'report_html_accounts/reports/base.html' %} {% block title %}Aged Balances{% endblock %} {% block report_header %}

Aged Balances

Includes
{% for each in ('payable', 'receivable') %}
{% if each in kind %} {% else %} {% endif %} {{ each|capitalize }}
{% endfor %}
States
{% if posted %}
Posted
Draft
{% else %}
Posted
Draft
{% endif %}
{% endblock report_header %} {% block report_body scoped %} {% for term in terms %} {% endfor %} {% for party in parties %} {% endfor %}
Party Current{{ term }} {{ unit }}s{{ terms[-1] }}+ {{ unit }}s Total
{{ party.rec_name }} {{ balances[party.id]['current']|currencyformat(currency_code) }} {{ balances[party.id]['term1']|currencyformat(currency_code) }} {{ balances[party.id]['term2']|currencyformat(currency_code) }} {{ balances[party.id]['term3']|currencyformat(currency_code) }} {{ balances[party.id]['older']|currencyformat(currency_code)}} {{ balances[party.id]['total']|currencyformat(currency_code) }}
Total {{ totals['current']|currencyformat(currency_code) }} {{ totals['term1']|currencyformat(currency_code) }} {{ totals['term2']|currencyformat(currency_code) }} {{ totals['term3']|currencyformat(currency_code) }} {{ totals['older']|currencyformat(currency_code) }} {{ totals['net']|currencyformat(currency_code) }}
{% endblock report_body %}