{% if tache.documents.snapshot %} {% for d in tache.documents.snapshot %} {% endfor %}
Document Coût Achat Document Coût Document Commande Cout Document Produit
{% if d.file|lower ends with 'jpg' or d.file|lower ends with 'png' or d.file|lower ends with 'gif' %} {{ d.file }} {% else %} {% if d.file|lower ends with 'pdf' %} {# #} {{ d.name}} {% endif %} {% endif %} {{ d.coutAchatDocument ? d.coutAchatDocument ~ " €" }} {{ d.coutDocumentCommande ? d.coutDocumentCommande ~ " €" }} {{ d.coutDocumentProduit ? d.coutDocumentProduit ~ " €" }}
{% endif %}