{% if id != 0 %}
{% else %}
{% endif %}
|
{{ info.name }}
|
{% for key, period in periods %}
{# income first #}
{% if(info.entries[key]) %}
{{ info.entries[key]|formatAmount }}
|
{% else %}
{{ 0|formatAmount }}
|
{% endif %}
{% endfor %}
{# if sum of income, display: #}
{% if info.sum %}
{{ info.sum|formatAmount }}
|
{% else %}
{{ 0|formatAmount }}
|
{% endif %}
{% endfor %}