{% load main_extras %} {% load history_extras %} {% load transaction_extras %} {% load i18n %}
{% translate "Year" %} | {% endif %} {% calendar_head %}{% translate "Total" %} | ||
---|---|---|---|
{{ y }} | {% endif %} {% for m in y_data %} {% if forloop.parentloop.last and forloop.first %} {% empty_calendar_cells_start m.month.month %} {% endif %} {% if m %}{% up_down_icon m.sum %} | {% else %}{% endif %} {% if forloop.parentloop.first and forloop.last %} {% empty_calendar_cells_end m.month.month %} {% endif %} {% endfor %} | {{ y_data|sum_year|pmrvalue }} |
{{ "expand-up-down"|remix }} | {% translate "Month" %} | {% translate "Expenses" %} | {% translate "Income" %} | ||
---|---|---|---|---|---|
{% up_down_icon date.sum %} | {% if year %} {{ date.month|date:"F"|capfirst }} {% else %} {{ date.month|date:"Y-m" }} {% endif %} | {{ date.sum_m|pmrvalue }} | {% plot_bar date.sum date.sum_m history.max.pm %} | {% plot_bar date.sum date.sum_p history.max.pm %} | {{ date.sum_p|pmrvalue }} |