Plus d'infos dans la liste des relevés d'une caisse

This commit is contained in:
Aurélien Delobelle 2016-08-23 03:07:47 +02:00
parent 6a175eee08
commit 313764dcf4

View file

@ -20,11 +20,27 @@
{% if not statements %}
Pas de relevé
{% else %}
<ul>
<table class="table table-bordered">
<thead>
<tr>
<td></td>
<td>Date/heure</td>
<td>Montant pris</td>
<td>Montant laissé</td>
<td>Erreur</td>
</thead>
<tbody>
{% for statement in statements %}
<li><a href="{% url 'kfet.checkoutstatement.update' checkout.pk statement.pk %}">{{ statement }}</a></li>
<tr>
<td><a href="{% url 'kfet.checkoutstatement.update' checkout.pk statement.pk %}"><span class="glyphicon glyphicon-cog"></span></a></td>
<td>{{ statement.at }}</td>
<td>{{ statement.amount_taken }}</td>
<td>{{ statement.balance_new }}</td>
<td>{{ statement.amount_error }}</td>
</tr>
{% endfor %}
</ul>
</tbody>
</table>
{% endif %}
</div>
</div>