{% if data.documents %} {% for d in data.documents %} {% set cout1Doc = d.coutAchatDocument + d.coutDocumentCommande + d.coutDocumentProduit %} {% endfor %} {% if data.documents|length > 1 %} {% endif %}
Documents Nom Reglement Coût
{{ d.date | date("d/m/Y")}} {{d.name}} {{ d.payer ? "reglé" : " pas réglé"}} {{ cout1Doc ? cout1Doc ~ " €" : 0 ~ " €"}} modifier
{{ data.totalDocuments ? data.totalDocuments ~ " €" }}
{% endif %}