{% extends "mag/base_mag_ecom.html" %} {% load static %} {% block title %}AUTO-PIECE{% endblock title %} {% block page %}Stock{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block page_action_buttons %} Archives {% endblock page_action_buttons %} {% block page_action_suffix %} {% if not can_choose_localite and localite_active %} {{ localite_active.nom }} {% endif %} {% endblock page_action_suffix %} {% block main_content %}
{% include "mag/partials/_periode_filter_modal.html" %} {% include "mag/partials/_dashboard_kpi_styles.html" %}
{% include "mag/partials/_kpi_row_stock.html" %}

Evolution des ventes

{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Rechercher pièce, désignation, catégorie…" %}
{% if piece_queryset %} {% for d in piece_queryset %} {% empty %} {% endfor %} {% else %} {% endif %}
N°# N°Pièce Designation Categorie Prix achat Prix vente Prix vente local Quantite stock Provenance seuil Emplacement Auteur Date Action Sortie
{{forloop.counter}} {{d.numero_piece}} {{d.designation}} {{ d.libelle_classification }} {{d.prix_achat}} {{ d.prix_unitaire }} F {% if d.prix_unitaire_local_valeur is not None %} {{ d.prix_unitaire_local_valeur }} F {% else %} — {% endif %} {% if d.derniere_origine_type == 'transfert_local' and d.derniere_origine_nom %} ↪ {{ d.derniere_origine_nom }} {% else %} Fournisseur {% endif %} {{d.seuil}} {{d.emplacement}} {% if d.utilisateur %}{{d.utilisateur.username}}{% else %}N/A{% endif %} {{d.date_creation|date:"d-m-y"}} - {% if peut_fixer_prix_local %} - {% endif %} - - {% if peut_toggle_sortie_catalogue %} {% elif peut_toggle_sortie_local %} {% else %} — {% endif %}

Aucune pièce trouvée avec les critères de filtrage.

Vérifiez les filtres ou l'activation catalogue / locale de la pièce.

Aucune pièce disponible dans le stock.

{% if piece_queryset %} {% include "mag/partials/_table_pager.html" %} {% endif %}
{% if piece_queryset %} {% for d in piece_queryset %} {% include "mag/partials/entre_stock.html" with piece=d entre_stock_form=entre_stock_form %} {% include "mag/partials/_edit_piece.html" with piece=d edit_piece_form=edit_piece_form fournisseurs=fournisseurs categories=categories %} {% if peut_fixer_prix_local %} {% include "mag/partials/_modal_prix_local.html" with piece=d %} {% endif %} {% endfor %} {% endif %} {% include "mag/partials/_modal_archive_motif.html" %} {% include "mag/partials/_archive_toggle_js.html" %} {% include "mag/partials/_sous_categorie_cascade.html" %}
{% endblock main_content %} {% block extra_js %} {% include "mag/partials/_periode_filter_js.html" %} {% endblock extra_js %}