3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-12-24 16:03:47 +00:00
coope/gestion/templates/gestion/kegh.html

21 lines
No EOL
666 B
HTML

{% extends 'base.html' %}
{% block entete %}Gestion des produits{% endblock %}
{% block navbar%}
<ul>
<li><a href="#first">Historique du fût</a></li>
</ul>
{% endblock %}
{% block content %}
<section id="first" class="main">
<header class="major">
<h2>Historique du fût {{ keg.name }}</h2>
</header>
<a href="{% url 'gestion:kegsList' %}">Retour à la liste des fûts</a><br><br>
{% for kegH in kegHistory %}
<h2>Du {{kegH.openingDate}} au {{kegH.closingDate | default:"?"}}</h2>
Quantité vendue : {{ kegH.quantitySold }} L<br>
Montant vendu : {{ kegH.amountSold }} €(prix fût : {{keg.amount}} €)<br><br>
{% endfor %}
</section>
{% endblock %}