{% if order.istest==1 and order.istest is defined %}
------- Commande Test -------
{% endif %} {% if order.corrected %}

TICKET CORRIGE

{% endif %}

Ticket Cuisine

Commande n° {{ order.num }} du {{ order.createdAt | date('d/m/y à H:i') }}

**{{ order.type }}**

{% if (order.later==0 or order.later is not defined) and order.user!=58 %}
Prévue pour {{ order.orderProg | date('H:i') }}
{% endif %} {% if (order.later==1 and order.later is defined) or order.user==58 %}
Prévue pour {{ order.orderProg | date('H:i') }}
{% endif %}

Client : {{ order.customerFirstname }} {{ order.customerLastname }}

{% if order.customerPhone!='' %}

Téléphone : {{ order.customerPhone }}

{% endif %} {% if order.customerSecondaryPhone!='' %}

Téléphone secondaire: {{ order.customerSecondaryPhone }}

{% endif %}

{% if order.orderType==1 %}

Adresse : {{ order.streetNumber }} {{ order.streetName }} {% if order.city or order.postalCode %} ( {{ order.city }} {{ order.postalCode }}) {% endif %}

{% endif %} {% if order.comment!='' %}

Commentaire: {{ order.comment }}

{% endif %}
QTE PRODUIT

{% set nbelement = 0 %} {% for i,el in elements %} {% set nbelement = nbelement+el.quantity %} {# {% if el.quantity>0 %} {% endif %} #} {% if el.quantity==0 %} {% endif %} {% if el.optionIngredients|length > 0 %} {% endif %} {% if el.removedCompositions|length > 0 %} {% endif %} {% for supp in el.supplements %} {% endfor %}
{% if el.quantity>1 %} {{ el.quantity }} {% endif %} {% if el.quantity==1 %}

{{ el.quantity }}

{% endif %}
{% if el.quantity>1 %} {{ el.quantity }} {% endif %} {% if el.quantity==1 %}

{{ el.quantity }}

{% endif %}
{{ el.name }} {% if el.size!='' and el.level>0 %} ({{ el.size }}) {% endif %}
{#
{{ el.name }} {% if el.size!='' and el.level>0 %} ({{ el.size }}) {% 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 %} {% if el.quantity==1 %}

{{ el.quantity }}

{% endif %}
Supp : {{ supp.name }}
{{ el.comment }}
{% set nbelement = nbelement+menus|length %} {% if menus|length > 0 or i+1 !=elements|length %}
{% endif %} {% endfor %} {% for i,menu in menus %} {# #} {% for el in menu.elements %} {% if el.hideName!=1 or order.pdvId==262 %} {% endif %} {% if el.optionIngredients|length > 0 %} {% endif %} {% if el.removedCompositions|length > 0 %} {% endif %} {% for supp in el.supplements %} {% endfor %} {% endfor %}
{{ menu.quantity }}

{{ menu.quantity }}

{#
{{ menu.title }}
#}
{{ menu.title }}
{% if 'Moitié' not in el.name and el.quantity>1 %} {{ el.quantity }}x {% endif %} {{ el.name }} {% if el.size!='' and el.level>0 %} ({{ el.size }}) {% endif %}
Avec : {% for opt in el.optionIngredients %} {{ opt.name }}, {% endfor %}
Sans : {% for comp in el.removedCompositions %} {{ comp.name }}, {% endfor %}
Supp : {{ supp.name }}
{{ menu.comment }}
{% if i+1 !=menus|length %}
{% endif %} {% endfor %}