{% set budget = this.budget %} {% if budget %}

{{ budget.category.name }}

{{ date(budget.year ~ '-' ~ budget.month)|format_date(pattern='MMMM yyyy', locale='fr')|capitalize }}

€

{% for transaction in this.transactions %}
{{ transaction.label }}
{{ transaction.transactionDate|format_date(pattern='EEE d MMMM', locale='fr') }}
{{ transaction.type.sign ~ ' ' ~ (transaction.amount / 100)|format_currency('EUR') }}
{% else %}
Aucune transaction pour ce budget.
{% endfor %}
{% endif %}