{% set data = order_line_items(entity) %} {% set totalHTRemise = entity.baseTotalValue/1.2 %} {% set tax = entity.baseTotalValue - totalHTRemise %} {% set remise = totalHTRemise - entity.baseSubtotalValue %} {% if not entity.customerNotes is empty %} {% endif %}
Libellé produit Quantité Total HT
{% for item in data.lineItems %}
{{ item.product_name }} {{ item.quantity }} {{ item.subtotal|oro_format_price }}
{% endfor %}
Total HT avant remise {{ entity.baseSubtotalValue }}
Remise {% if remise < 0.01 %}{{ (remise)|number_format(2, ',', ' ') }}{% else %}0,00{% endif %} €
Total HT (remisé) {{ totalHTRemise|number_format(2, ',', ' ') }} €
TVA {{ tax|number_format(2, ',', ' ') }} €
Total TTC {{ entity.baseTotalValue }}
 
Informations complémentaires {{ entity.customerNote }}