{% extends "mag/base_mag_ecom.html" %} {% load static %} {% load custom_filters %} {% block title %}AUTO-PIECE{% endblock title %} {% block page %}Liste tickets{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block main_content %}

{{ tickets|length }} ticket{% if tickets|length != 1 %}s{% endif %}

{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Rechercher ticket, commande, caissier…" %}
{% for c in tickets %} {% empty %} {% endfor %}
N° N° ticket Commande Utilisé Caissier(ère) Date Fichier Imprimer Action
{{ forloop.counter }} {{ c.numero }} {{ c.commande.numero_commande }} {% if c.utilise %} Oui {% else %} Non {% endif %} {{ c.utilisateur.username }} {{ c.date_save }} {% if c.fichier_pdf %} {% else %} — {% endif %} {% if c.commande.paye %} {% if c.commande.bon_paiement %} {% endif %} {% else %} — {% endif %} —
Aucun ticket.
{% if tickets %} {% include "mag/partials/_table_pager.html" %} {% endif %}
{% endblock main_content %} {% block extra_js %} {% endblock extra_js %}