{% extends 'base.html.twig' %} {% block title %}État des stocks - {{ parent() }}{% endblock %} {% block body %}
Situation au {{ "now"|date('d/m/Y à H:i') }}
Produits référencés
Stocks suffisants
Stocks faibles
Référence | Description | Stock initial | Total entrées | Total sorties | Stock final | État |
---|---|---|---|---|---|---|
{{ produit.reference }} | {{ produit.description }} | {{ produit.stockInitial|number_format(2, ',', ' ') }} | +{{ produit.totalEntrees|number_format(2, ',', ' ') }} | -{{ produit.totalSorties|number_format(2, ',', ' ') }} | {{ produit.stockFinal|number_format(2, ',', ' ') }} | {% if produit.stockFinal < 5 %} Stock critique {% elseif produit.stockFinal < 10 %} Stock faible {% else %} Stock OK {% endif %} |