1499c0bced
K-Fêt - Wagtail - Page content becomes a StreamField. - GroupTeam snippet becomes a block for stream field. - Navigation menu moved becomes a "flatmenu", preventing possible future conflicts. - Page layout can be modified in wagtail admin. K-Fêt - Add shorthands for ukf account balance/article price. - Cleaning stylesheets and templates.
44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
{% extends "kfet/base_col_2.html" %}
|
|
|
|
{% block title %}Caisse - {{ checkout.name }}{% endblock %}
|
|
{% block header-title %}Informations sur la caisse {{ checkout.name }}{% endblock %}
|
|
|
|
{% block fixed %}
|
|
{% include 'kfet/left_checkout.html' %}
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<section>
|
|
<h2>Relevés</h2>
|
|
<div class="table-responsive">
|
|
{% if not statements %}
|
|
Pas de relevé
|
|
{% else %}
|
|
<table class="table table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<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 %}">
|
|
{{ statement.at }}
|
|
</a>
|
|
</td>
|
|
<td>{{ statement.amount_taken }}</td>
|
|
<td>{{ statement.balance_new }}</td>
|
|
<td>{{ statement.amount_error }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
</section>
|
|
|
|
{% endblock %}
|