{% extends "mag/base_mag_ecom.html" %} {% load static %} {% load custom_filters %} {% block title %}AUTO-PIECE — Fournisseurs{% endblock title %} {% block page %}Fournisseurs{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block page_action_buttons %} {% endblock page_action_buttons %} {% block main_content %}
{% include "mag/partials/_periode_filter_modal.html" %}

Total fournisseurs

{{ fourn_list|length }}
{{ moisact }} — {{ annee }}

Pièces fournies (mois)

{{ total_entre_piece }}
Val {{ valeur_entre_piece|floatformat:2 }} frs

Pièces fournies (année)

{{ count_piece }}
Val {{ valeur_piece|floatformat:2 }} frs · {{ annee }}
{% for fourn in fourn_list %} {% endfor %}

Liste des fournisseurs · {{ moisact }} {{ annee }}

{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Rechercher fournisseur, contact…" %}
{% for cat in all_categories %} {% endfor %} {% for data in fourniss_data %} {% for cat in all_categories %} {% endfor %} {% empty %} {% endfor %}
N° Fournisseur Contact{{ cat }}Total Qté Total Valeur Actions
{{ forloop.counter }} {{ data.f.nom }} {% if data.f.contact %} {{ data.f.contact }} {% else %} — {% endif %} {% with stats=data.categories_dict|get_item:cat %} {% if stats.qte > 0 %}
{{ stats.qte }} {{ stats.valeur|floatformat:0 }} FCFA
{% else %} — {% endif %} {% endwith %}
{{ data.quant_piec }} {{ data.val_piec|floatformat:0 }} FCFA
Aucun fournisseur enregistré.
{% include "mag/partials/_table_pager.html" %}
{% endblock main_content %} {% block extra_js %} {% include "mag/partials/_periode_filter_js.html" %} {% endblock extra_js %}