{% if data.restaurations %} {% set nbrRest = 0 %} {% for r in data.restaurations %} {% set total1Restauration = 0 %} {% set nbrRest = nbrRest + 1 %} {% set total1Restauration = total1Restauration + r.forfait + r.coutRepasPersonnel + r.coutRepasClients %} {% endfor %}
Restaurations Date Durée Etablissement Forfait repas Personnel repas Clients Total
{{nbrRest}} {{ r.date | date('d/m/Y')}} {{ r.duree | date('H:i')}} {{ r.etablissement }} {{ r.forfait ? r.forfait ~ " €" : " "}} {{ r.coutRepasPersonnel ? r.coutRepasPersonnel ~ " €" : " "}} {{ r.coutRepasClients ? r.coutRepasClients ~ " €" : " "}} {{ total1Restauration ? total1Restauration ~ " €" : " "}} {{ r.payer ? "Réglé" : " Pas réglé"}} modifier
{{ data.totalrestaurations ? data.totalrestaurations ~ " €"}}
{% endif %}