{% extends "dashboard/base.html" %} {% block title %}Commande {{ order.number }} — Commandes — Comptoir{% endblock %} {% block content %} {% comment %}Own block row: the sub-menu above is inline-flex, an inline-block button would sit beside it.{% endcomment %}
← Retour aux commandes

Commande {{ order.number }}

Passée le {{ order.date_placed|date:"d/m/Y à H:i" }}

{% include "dashboard/ecommerce/_order_dispute_banner.html" %}

Acheteur

{% if order.user %}
Nom
{{ order.user.get_full_name|default:"Sans nom" }}
E-mail
{{ order.user.email|default:"Non renseigné" }}
{% if can_link_customer %}
Voir la fiche client
{% endif %} {% else %}
E-mail
{{ order.guest_email|default:"Non renseigné" }} Invité
{% endif %}

Livraison

Statut d'expédition
{{ shipping_label }}
Adresse de livraison
{% if order.shipping_address %}{{ order.shipping_address.first_name }} {{ order.shipping_address.last_name }}
{% include "ecommerce/_address.html" with address=order.shipping_address %}{% else %}Non renseignée{% endif %}

Paiement

Statut de la commande
{{ order.status }}
{% for source in order.sources.all %}
Moyen de paiement
{{ source.label|default:source.source_type.name }}
Référence du prestataire
{{ source.reference }}
{% empty %}
Moyen de paiement
Non renseigné
{% endfor %} {% if refunded_total %}
Montant remboursé
{{ refunded_total|floatformat:2 }} {{ order.currency }}
{% endif %}

Articles

{% for line in order.lines.all %} {% endfor %}
Produit Quantité Prix unitaire Total
{{ line.title }} {{ line.quantity }} {{ line.unit_price_incl_tax|floatformat:2 }} {{ order.currency }} {{ line.line_price_incl_tax|floatformat:2 }} {{ order.currency }}
Livraison
{{ order.shipping_incl_tax|floatformat:2 }} {{ order.currency }}
Total
{{ order.total_incl_tax|floatformat:2 }} {{ order.currency }}
{% endblock %}