{% if tache.forfaits.snapshot %}

Forfaits

{% set totauxForfait = 0 %} {% for f in tache.forfaits.snapshot %} {% set totauxForfait = totauxForfait + f.prix %} {% else %} {% endfor %} {% if tache.forfaits.snapshot|length > 1 %} {% endif %}
Date Forfait Coût
{{f.date |date('d/m/Y')}} {{f.description}} {{f.prix ? f.prix ~ " €" : ""}} {% if f.payer == 1 %} réglée {% else %} pas réglée {% endif %} modifier
{{ totauxForfait ? totauxForfait ~ " €" : ""}}
{% endif %}