{% set max = 0 %} {% for month in cashflow.months %} {% set max = max(max, month.income, month.expense) %} {% endfor %} {# ===================== CASHFLOW ===================== #}

Flux des 12 derniers mois

{% for month in cashflow.months %}
{{ (month.income / 100)|format_currency('EUR') }} {{ (month.expense / 100)|format_currency('EUR') }}
{{ month.label|format_date(pattern='MMMM', locale='fr')|capitalize }}
{% endfor %}