{% extends "mag/base_mag_ecom.html" %} {% load static %} {% load custom_filters %} {% block title %}AUTO-PIECE{% endblock title %} {% block page %}Historique paniers{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block page_action_buttons %} {{ annee }} Filtre {% endblock page_action_buttons %} {% block main_content %}

{{historique_paniers|length}} historique{% if historique_paniers|length > 1 %}s{% endif %}

{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Rechercher utilisateur, action…" %}
{% for panier in historique_paniers %} {% empty %} {% endfor %}
N° ID Utilisateur Valide Payé Livré Date création Date save Action Date historique
{{ forloop.counter }} {{ panier.id }} {{ panier.utilisateur }} {% if panier.valide %} Oui {% else %} Non {% endif %} {% if panier.panier_paye %} Oui {% else %} Non {% endif %} {% if panier.panier_livre %} Oui {% else %} Non {% endif %} {{ panier.date_creation }} {{ panier.date_save }} {{ panier.get_history_type_display }} {{ panier.history_date }}
Aucun historique.
{% if historique_paniers %} {% include "mag/partials/_table_pager.html" %} {% endif %}
{% endblock main_content %}