{% extends "base.html.twig" %} {% block title %}Commande {{ order.id }} {% endblock %} {% block body %}
{#
#}

Mon espace personnel

{#
#}

Numéro de commande {{ order.id }}

Date de la commande : {{ order.createdAt|date("d / m / Y") }}
Envoyée le {% if order.sentAt is not null %} {{ order.sentAt|date("d / m / Y") }} {% endif %}
{% for product in order.orderProducts %}
{{ product.title }}
{#
{{ product.subCategory }}
#}
{{ product.title }}
{% if product.color is not empty %}

Couleur : {{ product.color }}

{% endif %} {% if product.size %}

Taille : {{ product.size }}

{% endif %}

Quantité : {{ product.quantity }}

{{ product.price/100 * product.quantity }} €
{% endfor %}

Total

Télécharger la facture
Sous-total:
{{ order.subTotal/100 }} €
Mode de livraison:
{{ order.shipping/100 }} €
Total:
{{ order.total/100 }} €

Adresse de livraison

{{ order.firstName }} {{ order.lastName }}

{{ order.additionalAdress }}

{{ order.adress }}

{{ order.postCode }}, {{ order.city }} {{ order.country }}


{{form(form)}}
{% endblock %}