Détail des prestations

{% set totalPrestaHT = 0 %} {# {% set tva = devis.adresseFacturation.zoneGeographique.taux %} #} {% if projet.prestations|length > 0 %} {% for prestation in projet.prestations %} {% endfor %} {# {% set totalPrestaTTC = totalPrestaHT + (totalPrestaHT * tva) / 100 %} #} {# #}
Désignation Quantité Prix Unitaire Total
{{ prestation.nom }}
{{ prestation.description|nl2br }}
{% if prestation.quantite == null %}Forfait {% else %} {{ prestation.quantite }} {% endif %} {% if prestation.quantite == null %} {{ prestation.forfaitHT|number_format(2, ',', '.') }} € {% else %} {{ prestation.prixUnitaire|number_format(2, ',', '.') }} € {% endif %} {% if prestation.forfaitHT == null %} {% set total = prestation.prixUnitaire * prestation.quantite %}{{ total|number_format(2, ',', '.') }} {% set totalPrestaHT = totalPrestaHT + total %} € {% else %} {{ prestation.forfaitHT|number_format(2, ',', '.') }} {% set totalPrestaHT = totalPrestaHT + prestation.forfaitHT %} € {% endif %}
Total HT {{ totalPrestaHT|number_format(2, ',', '.') }}
TVA {{ tva|number_format(2, ',', '.') }} %
Total TTC {{ totalPrestaTTC|number_format(2, ',', '.') }}
{% else %} {% include 'app/noResult.html.twig' %} {% endif %}