{% extends 'base.html.twig' %} {% block body %}

Confirmation de la commande

{{ user.firstname }} {{ user.lastname }}
Type de paquetage : {{ user.qualification.name }}
Agence : {{ user.agence.name }}
Référence Commande: {{ reference }}
{#
Date commande : {{ commandeUser.date|date('d/m/Y') }}
#} {#
Date commande : {{ commande.date|date('d/m/Y') }}
#}

{% if commande %} {% for produit in commande.commande %} {% endfor %} {% endif %} {% if commandeUser %} {% for produit in commandeUser.commande %} {% endfor %} {% endif %}
# libellé taille quantité
{{ loop.index }} {{ produit.libelle }} {{ produit.taille }} {{ produit.qte }}
{{ loop.index }} {{ produit.libelle }} {{ produit.taille }} {{ produit.qte }}
{% endblock %}