{% extends "account_keeping/base.html" %} {% load account_keeping_tags humanize i18n libs_tags tz %} {% block main %}

{% trans "Year overview" %} ({{ year }}) {% if last_year %}{% endif %} {% if next_year %}{% endif %}

{% for month in months %} {% localtime off %} {% endlocaltime %} {% endfor %}
{% trans "Month" %} {% trans "Income" %} {% trans "Expenses" %} {% trans "Profit" %} {% trans "New invoiced income" %} {% trans "Total outstanding income" %} {% trans "Bank balance" %} {% trans "Total equity" %}
{{ month|date:"M" }}{% call income_total "get" month as income_total_value %}{{ income_total_value|default:0|currency }} {% call expenses_total "get" month as expenses_total_value %}{{ expenses_total_value|default:0|currency }} {% call profit_total "get" month as profit_total_value %}{{ profit_total_value|default:0|currency }} {% call new_total "get" month as new_total_value %}{{ new_total_value|default:0|currency }} {% call outstanding_total "get" month as outstanding_total_value %}{{ outstanding_total_value|default:0|currency }} {% call balance_total "get" month as balance_total_value %}{{ balance_total_value|default:0|currency }} {% call equity_total "get" month as equity_total_value %}{{ equity_total_value|default:0|currency }}
{% trans "Total" %} {{ income_total_total|currency }} {{ expenses_total_total|currency }} {{ profit_total_total|currency }} {{ new_total_total|currency }}
{% trans "Average" %} {{ income_average|currency }} {{ expenses_average|currency }} {{ profit_average|currency }} {{ new_average|currency }} {{ outstanding_average|currency }} {{ balance_average|currency}} {{ equity_average|currency }}
{% endblock %}