{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }} {% endblock %} {% block content %}

{{ periodStart }} — {{ periodEnd }}

{{ 'budgeted'|_ }}: {{ budgeted|formatAmountPlain }}
{{ trans('firefly.available_between',{start : periodStart, end: periodEnd }) }}: {{ budgetIncomeTotal|formatAmount }}
{{ trans('firefly.spent_between', {start: periodStart, end: periodEnd}) }}: {{ spent|formatAmount }}

{{ 'createBudget'|_ }}

{% for budget in budgets %}

{% if budget.currentRep.id %} {{ budget.name }} {% else %} {{ budget.name }} {% endif %}

{% if budget.otherRepetitions.count > 0 %} {% endif %}
{{ 'budgeted'|_ }}
{{ session('start').formatLocalized(monthAndDayFormat) }} - {{ session('end').formatLocalized(monthAndDayFormat) }}
{{ defaultCurrency.symbol|raw }}
{{ 'spent'|_ }}
{{ session('start').formatLocalized(monthAndDayFormat) }} - {{ session('end').formatLocalized(monthAndDayFormat) }}
{{ budget.spent|formatAmount }}
    {% for other in budget.otherRepetitions %} {% if other.id != budget.currentRep.id %}
  • Budgeted {{ other.amount|formatAmountPlain }} between {{ other.startdate.formatLocalized(monthAndDayFormat) }} and {{ other.enddate.formatLocalized(monthAndDayFormat) }}.
  • {% endif %} {% endfor %}
{% if loop.index % 3 == 0 %}
{% endif %} {% endfor %}
{% if inactive|length > 0 %}

{{ 'inactiveBudgets'|_ }}

{% for index,budget in inactive %} {% if index != inactive|length-1 %} {{ budget.name }} {% else %} {{ budget.name }}, {% endif %} {% endfor %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}