Plus d'infos dans la liste des relevés d'une caisse
This commit is contained in:
parent
6a175eee08
commit
313764dcf4
1 changed files with 21 additions and 5 deletions
|
@ -20,11 +20,27 @@
|
|||
{% if not statements %}
|
||||
Pas de relevé
|
||||
{% else %}
|
||||
<ul>
|
||||
{% for statement in statements %}
|
||||
<li><a href="{% url 'kfet.checkoutstatement.update' checkout.pk statement.pk %}">{{ statement }}</a></li>
|
||||
{% endfor %}
|
||||
</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 %}
|
||||
<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 %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue