{% extends 'base.html' %} {% load static i18n faccontrol_search faccontrol_ui gscan %} {# Template principal du point de vente : il organise le panier, la recherche produit et les actions de validation. #} {# Le titre reprend le point de vente reel de l'utilisateur connecte pour garder le breadcrumb synchronise avec son contexte. #} {% block page_title %}{% blocktrans with name=current_point_de_vente_name %}Point de vente actif / {{ name }}{% endblocktrans %}{% endblock %} {# Le titre est porte par l'en-tete commun (page_head) de la barre du point de vente. #} {% block page_header %}{% endblock %} {% block content %} {% blocktrans with name=current_point_de_vente_name asvar pos_page_title %}Point de vente actif / {{ name }}{% endblocktrans %}
{% page_head icon="bi bi-shop-window" title=pos_page_title subtitle=_("Encaissez, facturez et imprimez depuis ce point de vente.") %} {% if can_switch_pos %}
{% csrf_token %} {% trans "Basculer à un autre Point de vente" %}
{% endif %} {% endpage_head %}
{% csrf_token %}
{% trans "TAB sur recherche vide : règlement" %} · F2 {% trans "Produit" %} · F4 {% trans "Client" %} · F6 {% trans "Paiement" %} · Ctrl ↵ {% trans "Facturer" %} · {% trans "Ctrl Suppr" %} {% trans "Supprimer la ligne active" %}
{% trans "Produits" %}
{# Icone code-barres : un scanner branche fonctionne a tout moment, sans clic. #}
{% if show_add_product_button %} {% endif %} {% if can_edit_product_from_pos %} {% endif %} {% if show_virtual_keyboard_button %} {% endif %} {% if show_camera_scan_button %} {# Hors HTTPS (ou localhost) le navigateur refuse la camera : on l'explique au lieu d'un bouton qui echoue. #} {% endif %}
{% if show_virtual_keyboard_button %} {% endif %}
{# Panneau en surimpression (pos_layout.js) : epingle a droite ou a gauche, ou detache. #}
{% trans "Facturation" %}
{% trans "Produit" %} {% trans "Qté" %} {% trans "Remise" %} {% trans "Total" %}
{% trans "Type de facture :" %} FV
{% if show_add_client_button %} {% endif %}
{% trans "Devise de la facture" %} : CDF (FC)
{% trans "Total CDF (HT):" %} 0,00 FC
{% trans "Total TVA :" %} 0,00 FC
{% trans "Remise globale" %}0,00 FC
{% trans "Total TTC" %}0,00 FC
{% trans "Net à payer (TTC) :" %} 0,00 FC
{% trans "Net à payer (USD) :" %} 0,00 $

{% trans "Remise (FC)" %}
{% trans "Paiement 1" %}
{% trans "Total payé (converti en FC) :" %} 0,00 FC
{% trans "Reste à payer :" %} 0,00 FC
{# Barre de validation en surimpression : toujours visible en bas du panneau. #}
{% if restaurant_pos %}{# Restaurant : la table part en cuisine / bar et reste en attente (logique Hilton). #}
{% endif %}
{% trans "Actions secondaires" %} F7
{# Styles de la facture recuperes pendant la saisie : la facture validee s'affiche aussitot. #} {% include "facturation/partials/invoice_document_styles.html" with rel="prefetch" %} {% if show_add_client_button %} {% endif %} {% if show_add_product_button %} {% endif %} {% if can_add_category_from_pos and quick_category_form %} {% endif %} {% if can_edit_product_from_pos %} {% endif %} {% if proforma_invoice %}{{ proforma_invoice|json_script:"proformaInvoiceData" }}{% endif %} {% if restaurant_pos %}{% include "G_Restaurant/pos_mise_en_attente.html" %}{% endif %} {% if show_camera_scan_button %}{% gscan_camera_modal %}{% gscan_camera_assets %}{% endif %} {% if can_edit_product_from_pos %} {% endif %} {% endblock %}