{% extends "base.html" %} {% load static %} {% block entete %}Consommations{%endblock%} {% block navbar %} {% endblock %} {% block content %}

Consommations ({{user}})

{% for c in consumptions %} {%endfor%}
Produit Quantité Montant Type de Paiement Date Annuler
{% if perms.gestion.view_product %}{{ c.product.name }}{% else %}{{c.product.name}}{% endif %} {{c.quantity}} {{c.amount}} {{c.paymentMethod}} {{c.date}} {% if perms.gestion.delete_consumptionhistory %}Annuler{% endif %}
{%endblock%}