{% extends 'comptabilite/_layout.html.twig' %} {% block title %}Produits vendus{% endblock %} {% block page_title %}Produits vendus & stock{% endblock %} {% block body %} {% if is_granted('ROLE_DIRECTION') %}
| Nom | Prix | Stock | Statut | {% if is_granted('ROLE_DIRECTION') %}{% endif %} |
|---|---|---|---|---|
| {{ produit.nom }} | {{ produit.prix }} | {{ produit.quantiteStock }} {% if produit.estSousLeSeuil %} Stock bas {% endif %} | {% if produit.actif %} Actif {% else %} Désactivé {% endif %} | {% if is_granted('ROLE_DIRECTION') %}{% if produit.actif %} {% else %} {% endif %} | {% endif %}