{% for i,el in elements %} {% if el.optionIngredients|length > 0 %} {% endif %} {% if el.removedCompositions|length > 0 %} {% endif %} {% for supp in el.supplements %} {% endfor %} {% if el.comment!="" %} {% endif %} {% endfor %} {% for i,menu in menus %} {% for el in menu.elements %} {% if el.optionIngredients|length > 0 %} {% endif %} {% if el.removedCompositions|length > 0 %} {% endif %} {% for supp in el.supplements %} {% endfor %} {% endfor %} {% if menu.comment!="" %} {% endif %} {% endfor %} {% if order.discount>0 or order.couponValue>0 or order.fees>0 %} {% endif %} {% if order.discount>0 %} {% endif %} {% if order.couponValue is defined and order.couponValue>0 %} {% endif %} {% if order.fees is defined and order.fees>0 %} {% endif %} {% if order.discount>0 or order.couponValue>0 or order.fees>0 %} {% endif %} {% set totalHT = order.total/1.1 | number_format(2) %} {% set totalTVA = order.total/11 | number_format(2) %}
QTE PRODUIT PRIX
{% if el.quantity>=1 %} {{ el.quantity }} {% endif %} {{ el.name }} {% if el.level>0 %} ({{ el.size }}) {% endif %} {% if el.quantity==0 %} {{ el.price | number_format(2, '.', ',') }} {{order.currency}} {% endif %} {% if el.quantity>0 %} {{ el.price * el.quantity | number_format(2, '.', ',') }} {{order.currency}} {% endif %}
Avec : {% for opt in el.optionIngredients %} {{ opt.name }}, {% endfor %}
Sans : {% for comp in el.removedCompositions %} {{ comp.name }}, {% endfor %}
{% if el.quantity>1 %} {{ el.quantity }} {% endif %} Supp : {{ supp.name }} {{ supp.cout*el.quantity }} {{order.currency}}
{{ el.comment }}
{{ menu.quantity }} {{ menu.title }} {{ menu.price*menu.quantity | number_format(2, '.', ',') }} {{order.currency}}
{% if 'Moitié' not in el.name and el.quantity>1 %} {{ el.quantity }}x {% endif %} {{ el.name }} {% if el.level>0 %} ({{ el.size }}) {% endif %} {% if el.price>0 %} {{ el.price * el.quantity | number_format(2, '.', ',') }} {{order.currency}} {% endif %} {% if el.priceSuppMenu is defined and el.priceSuppMenu>0 %} +{{ el.priceSuppMenu * el.quantity | number_format(2, '.', ',') }} {{order.currency}} {% endif %}
Avec : {% for opt in el.optionIngredients %} {{ opt.name }}, {% endfor %}
Sans : {% for comp in el.removedCompositions %} {{ comp.name }}, {% endfor %}
Supp : {{ supp.name }} {{ supp.cout }} {{order.currency}}
{{ menu.comment }}
Sous-total : {{ order.amount }} {{order.currency}}
Remise {{ order.discount }} % : - {{ (order.amount*order.discount)/100 }} {{order.currency}}
Coupon {{order.couponValue}} {% if order.couponType==1 %} {{order.currency}} {% else %} % {% endif %} : - {{order.couponAmount}} {{order.currency}}
{{ order.feesLabel }} : {{ order.fees }} {{order.currency}}
Total TTC : {{ order.total | number_format(2, '.', ',') }} €
Total HT : {{ totalHT | number_format(2, '.', ',') }} €
TVA 10% : {{ totalTVA | number_format(2, '.', ',') }} €
Paiement : {% if order.paid!=1 %} {% for paymentMode in paymentModes %} {{ paymentMode }}, {% endfor %} {% endif %} {% if order.paid is defined and order.paid %} Commande payée en ligne {% endif %}