{% extends 'gestion/_base.html.twig' %} {% set active = 'commandes' %} {% block title %}Commandes{% endblock %} {% block content %}
{{ total }} commande{{ total > 1 ? 's' }} {{ tab != 'toutes' ? 'dans cet onglet' : 'au total' }}
Aucune commande {{ q ? 'pour cette recherche' : 'dans cet onglet' }}.
| Référence | Date | Client | Total | Livraison | Statut | Suivi | |
|---|---|---|---|---|---|---|---|
| {{ commande.reference|slice(0, 12) }}{{ commande.reference|length > 12 ? '…' }} | {{ commande.createdAt|date('d/m/Y H:i') }} |
{{ commande.client.prenom }} {{ commande.client.nom }}
{{ commande.client.email }}
|
{{ commande.total|number_format(2, ',', ' ') }} € | {{ commande.livraison.libelle }} | {% include 'gestion/commandes/_status_badge.html.twig' with { status: commande.status } only %} | {% if commande.numSuiviColis %} {{ commande.trackingLastStatus ? commande.trackingLastStatus.label : 'Suivi posé' }} {% else %} — {% endif %} | Voir |