{{ 'budgets'|_ }}

{% for budgetLine in budgets.getBudgetLines %} {% endfor %}
{{ 'budget'|_ }} {{ 'date'|_ }} {{ 'budgeted'|_ }} {{ 'spent'|_ }} {{ 'left'|_ }} {{ 'overspent'|_ }}
{% if budgetLine.getBudget.id %} {{ budgetLine.getBudget.name }} {% else %} {{ 'noBudget'|_ }} {% endif %} {% if budgetLine.getRepetition.id %} {{ budgetLine.getRepetition.startdate.formatLocalized(monthAndDayFormat) }} {% endif %} {% if budgetLine.getRepetition.id %} {{ budgetLine.getRepetition.amount|formatAmount }} {% else %} {{ 0|formatAmount }} {% endif %} {% if budgetLine.getSpent != 0 %} {{ budgetLine.getSpent|formatAmount }} {% endif %} {% if budgetLine.getSpent == 0 %} {{ budgetLine.getSpent|formatAmount }} {% endif %} {% if(budgetLine.getOverspent == 0) %} {{ budgetLine.getLeft|formatAmount }} {% endif %} {% if budgetLine.getOverspent != 0 %} {{ budgetLine.getOverspent|formatAmount }} {% endif %}
{{ 'sum'|_ }} {{ budgets.getBudgeted|formatAmount }} {% if budgets.getSpent != 0 %} {{ budgets.getSpent|formatAmountPlain }} {% endif %} {% if budgets.getSpent == 0 %} {{ budgets.getSpent|formatAmount }} {% endif %} {{ budgets.getLeft|formatAmount }} {{ budgets.getOverspent|formatAmountPlain }}