{% extends "base.html" %} {% load i18n %} {% block headtitle %}{% trans 'Report' %}{% endblock %} {% block main_content %}
{% for name, width, type, sortable, css in columns_cashflow %} {% endfor %}
{{name}}
{% trans 'Income total' %} {{income_total|ecm_amount}}
{% trans 'Expenditure total' %} {{expenditure_total|ecm_amount}}
{% trans 'Net cash inflow' %} {{cashflow|ecm_amount}}
{% for name, width, type, sortable, css in columns_income %} {% endfor %} {% for item in income_aggregated %} {% endfor %}
{{name}}
{{item.type__refTypeName}} {{item.percentage|floatformat:2}} % {{item.amount|ecm_amount}}
{% trans 'Total' %}: 100 % {{income_total|ecm_amount}}
{% for name, width, type, sortable, css in columns_expenditure %} {% endfor %} {% for item in expenditure_aggregated %} {% endfor %}
{{name}}
{{item.type__refTypeName}} {{item.percentage|floatformat:2}} % {{item.amount|ecm_amount}}
{% trans 'Total' %}: 100 % {{expenditure_total|ecm_amount}}
{% for custom_report in custom_reports %}
{% for name, width, type, sortable, css in custom_report.columns %} {% endfor %} {% if custom_report.entries %}{% for item in custom_report.entries %} {% endfor %}{% else %}{% endif %}
{{name}}
{{item.type__refTypeName}} {{item.amount|ecm_amount}}
{% trans 'No data' %}.
{% trans 'Total' %}: {{ custom_report.total|ecm_amount}}
{% endfor %}
{% endblock %} {% block javascripts %} {% endblock %} {% block post_javascripts %} {% endblock %}