{% macro table_elements(elements, family) %}
{{ 'Budget element type'|trans }} | {{ 'Amount'|trans }} | {{ 'Validity period'|trans }} | |
---|---|---|---|
{{ f.type|budget_element_type_display(family) }} | {{ f.amount|format_currency('EUR') }} | {% if f.endDate is not null %} {{ f.startDate|format_date('short') ~ ' - ' ~ f.endDate|format_date('short') }} {% else %} {{ f.startDate|format_date('short') ~ ' - ...' }} {% endif %} | |
{{ 'Total'|trans }} | {{ total|format_currency('EUR') }} |
{{ 'Budget calculator result'|trans }} | ||
---|---|---|
{{ 'The balance'|trans }} | {{ result|format_currency('EUR') }} |