{% extends "mag/base_mag_ecom.html" %} {% load static %} {% block title %}AUTO-PIECE — Bons de commande (paiement){% endblock title %} {% block page %}Bons commande caisse{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block main_content %}
{% include "mag/partials/_periode_filter_modal.html" %} {% include "mag/partials/_dashboard_kpi_styles.html" %}
{% include "mag/partials/_kpi_row_bon_cmd_paiement.html" %}

Liste des bons de commande (paiement) · {{ nb_bons }} bon{% if nb_bons > 1 %}s{% endif %}

{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Rechercher n° bon, commande, client…" %}
{% for bon in bons_paiement %} {% empty %} {% endfor %}
N° N° bon N° commande N° ticket Client Localité Caissier Hôte accueil Moyen paiement Total cmd. Montant payé Reste Date émission Actions
{{ forloop.counter }} {{ bon.numero_bon }} {{ bon.commande.numero_commande|default:bon.commande_id }} {{ bon.ticket_numero }} {{ bon.client_nom|default:"—" }} {% if bon.local_entrepot %}{{ bon.local_entrepot.nom }}{% else %}—{% endif %} {% if bon.caissier %}{{ bon.caissier.get_full_name|default:bon.caissier.username }}{% else %}—{% endif %} {% if bon.hote_accueil %}{{ bon.hote_accueil.get_full_name|default:bon.hote_accueil.username }}{% else %}—{% endif %} {{ bon.moyen_paiement_nom|default:"—" }} {{ bon.total_commande }} {{ bon.montant_paye }} {{ bon.montant_reste }} {{ bon.date_emission|date:"d/m/Y H:i" }}
{% if bon.fichier_pdf %} {% endif %}
Aucun bon de commande pour la période sélectionnée.
{% include "mag/partials/_table_pager.html" %}
{% endblock main_content %} {% block extra_js %} {% include "mag/partials/_periode_filter_js.html" %} {% endblock extra_js %}