{% for period in periods %} {% endfor %} {% for id, info in report %} {% for key, period in periods %} {% if(info.entries[key]) %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{ 'budget'|_ }}{{ period }}{{ 'sum'|_ }}
{% if id != 0 %} {% else %} {% endif %} {{ info.name }} {{ info.entries[key]|formatAmount }} {{ 0|formatAmount }} {{ info.sum|formatAmount }}