{% extends "mag/base_mag_ecom.html" %} {% load static %} {% load custom_filters %} {% block title %}AUTO-PIECE — Caisse{% endblock title %} {% block page %}{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block main_content %}
{% include 'mag/partials/_panier_no_valid_styles.html' %}
    {% include 'mag/partials/_panier_no_valid.html' %}

Paniers en attente ({{ paniers_non_valides|length }})

{% include 'mag/partials/_caisse_form.html' %}

Ventes

Commandes encaissées aujourd’hui

Total {{ cmdes|length }}
{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Rechercher une vente…" %}
{% for c in cmdes %} {% empty %} {% endfor %}
N°# N°Commande Montant Total Remise TVA Versé Reste Paiement Caissier(ère) Date Actions
{{ forloop.counter }} {{ c.numero_commande }} {{ c.total_sans_remise }} {{ c.total }} {{ c.remise }} {% if c.montant_tva and c.montant_tva > 0 %}{{ c.montant_tva }}{% else %}—{% endif %} {{ c.montant_paye }} {{ c.montant_reste }} {% if c.paye %} Payé {% else %} Impayé {% endif %} {% if c.libelle_paiement %}
{{ c.libelle_paiement }}
{% endif %}
{{ c.utilisateur.username|default:"—" }} {{ c.date_creation|date:"d-m-y" }} {% if c.paye and c.ticket %} {% if c.bon_paiement %} {% endif %} {% else %} — {% endif %}
Aucune vente pour le moment.
{% endblock main_content %} {% block extra_js %} {% endblock extra_js %}