{% extends "base_template.html" %} {% block title %}État du Stock - DOOBAT{% endblock %} {% block header_title %}État du Stock{% endblock %} {% block header_subtitle %}Recherche : {{ article_name }}{% endblock %} {% block content %} {% if products %} {% for p in products %} {% if p.stock_details %} {% for d in p.stock_details %} {% endfor %} {% endif %} {% endfor %}
Référence Désignation Catégorie Stock dispo Stock virtuel Prix HT
{{ p.default_code or '' }} {{ p.name }} {{ p.categ_id[1] if p.categ_id else '' }} {{ p.qty_available|int }} {{ p.virtual_available|int }} {{ "%.2f"|format(p.list_price) }} €
↳ {{ d.location_id[1] if d.location_id else 'Inconnu' }} {{ d.quantity|int }} (rés: {{ d.reserved_quantity|int }})
{% else %}

⚠️ Aucun article trouvé pour la recherche : {{ article_name }}

{% endif %} {% endblock %}