{% if tache.reunions.snapshot %}

Réunions

{% set TotalCoutLocationSalle = 0 %} {% set TotalCoutRestauration = 0 %} {% for reunion in tache.reunions.snapshot %} {% set TotalCoutLocationSalle = TotalCoutLocationSalle + reunion.coutLocationSalle %} {% set TotalCoutRestauration = TotalCoutRestauration + reunion.CoutRestauration %} {% else %} {% endfor %} {% set TotauxCout = TotalCoutLocationSalle + TotalCoutRestauration %}
Date Durée Objet Contenu Coût Location Salle Coût de restauration Coût de Collation
{{ reunion.date| date('d/m/Y') }} {{ reunion.duree| date('H:i:s') }} {{ reunion.objet }} {{ reunion.content }} {{ reunion.coutLocationSalle }} {{ reunion.CoutRestauration }} {{ reunion.coutCollation }} {{ reunion.payer ? "Réglé" : " Pas réglé"}}
Total {{ TotalCoutLocationSalle }} € {{ TotalCoutRestauration }} € {{ TotauxCout }} €
{% endif %}