{% extends 'sites/template-default/base.html.twig' %} {% block title %}Commande {{ order.orderNumber }} - {{ site.name }}{% endblock %} {% block body %}
Retour à mes commandes

Commande {{ order.orderNumber }}

Passée le {{ order.createdAt|date('d/m/Y à H:i') }}

{{ order.status|upper }}

{{ order.totalAmount|number_format(2, ',', ' ') }} €

Suivi de commande
Commande créée
{{ order.createdAt|date('d/m/Y à H:i') }}
{% if order.isPaid %}
Paiement confirmé
{{ order.paidAt|date('d/m/Y à H:i') }}

{{ order.paymentMethodName }}

{% else %}
En attente de paiement

{{ order.paymentMethodName }}

{% endif %} {% if order.status in ['processing', 'shipped', 'completed'] %}
En préparation
{% else %}
En préparation
{% endif %} {% if order.status in ['shipped', 'completed'] %}
Expédié
{% else %}
Expédié
{% endif %} {% if order.status == 'completed' %}
Livré
{% endif %} {% if order.status == 'cancelled' %}
Commande annulée
{% endif %}
Articles commandés
{% for item in order.items %} {% endfor %} {% if order.vatAmount > 0 %} {% endif %}
Produit Quantité Prix unitaire Total
{{ item.productName }} {% if item.productSku %}
Réf: {{ item.productSku }} {% endif %}
{{ item.quantity }} {{ item.unitPrice|number_format(2, ',', ' ') }} € {{ (item.quantity * item.unitPrice)|number_format(2, ',', ' ') }} €
Sous-total HT: {{ (order.totalAmount - order.vatAmount)|number_format(2, ',', ' ') }} €
TVA: {{ order.vatAmount|number_format(2, ',', ' ') }} €
Total TTC: {{ order.totalAmount|number_format(2, ',', ' ') }} €
Informations client

{{ order.customerFullName }}

{{ order.customerEmail }}

{% if order.customerPhone %}

{{ order.customerPhone }}

{% endif %}
{% if order.shippingAddress %}
Adresse de livraison

{{ order.shippingAddress.address }}

{{ order.shippingAddress.postal_code }} {{ order.shippingAddress.city }}

{{ order.shippingAddress.country }}

{% endif %}
Paiement

Méthode: {{ order.paymentMethodName }}

{% if order.isPaid %}
Payé le {{ order.paidAt|date('d/m/Y') }}
{% elseif order.paymentMethod == 'bank_transfer' %}
En attente du virement

Référence:

{{ order.paymentTransactionId }}

{% endif %}
{% if order.invoice %}
Facture disponible

{{ order.invoice.invoiceNumber }}

Télécharger la facture
{% endif %}
{% endblock %}