{% extends "base.html" %}
{% load i18n %}
{% block headtitle %}{% trans 'Report' %}{% endblock %}
{% block main_content %}
{% for name, width, type, sortable, css in columns_cashflow %}
{{name}} |
{% endfor %}
{% 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 %}
{{name}} |
{% endfor %}
{% for item in income_aggregated %}
{{item.type__refTypeName}} |
{{item.percentage|floatformat:2}} % |
{{item.amount|ecm_amount}} |
{% endfor %}
{% trans 'Total' %}: |
100 % |
{{income_total|ecm_amount}} |
{% for name, width, type, sortable, css in columns_expenditure %}
{{name}} |
{% endfor %}
{% for item in expenditure_aggregated %}
{{item.type__refTypeName}} |
{{item.percentage|floatformat:2}} % |
{{item.amount|ecm_amount}} |
{% endfor %}
{% trans 'Total' %}: |
100 % |
{{expenditure_total|ecm_amount}} |
{% for custom_report in custom_reports %}
{% for name, width, type, sortable, css in custom_report.columns %}
{{name}} |
{% endfor %}
{% if custom_report.entries %}{% for item in custom_report.entries %}
{{item.type__refTypeName}} |
{{item.amount|ecm_amount}} |
{% endfor %}{% else %}{% trans 'No data' %}. |
|
{% endif %}
{% trans 'Total' %}: |
{{ custom_report.total|ecm_amount}} |
{% endfor %}
{% endblock %}
{% block javascripts %}
{% endblock %}
{% block post_javascripts %}
{% endblock %}