Affichage détail compte

- Ajout de l'affichage des totaux venant des majorations/jour
- Fix affichage valid_by historique
This commit is contained in:
Aurélien Delobelle 2016-08-23 18:15:41 +02:00
parent 4048c007ea
commit 79455193ca
2 changed files with 24 additions and 4 deletions

View file

@ -28,6 +28,18 @@
<div class="col-sm-8 col-md-9 col-content-right">
{% include "kfet/base_messages.html" %}
<div class="content-right">
{% if addcosts %}
<div class="content-right-block">
<h2>Gagné des majorations</h2>
<div>
<ul>
{% for addcost in addcosts %}
<li>{{ addcost.date|date:'l j F' }}: {{ addcost.sum_addcosts }}</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
<div class="content-right-block">
<h2>Historique</h2>
<div id="history">
@ -48,7 +60,7 @@
{{ ope.group.amount|ukf:ope.group.is_cof }}
{% endif %}
</span>
{% if perms.kfet.is_team %}
{% if perms.kfet.is_team and ope.group.valid_by %}
<span class="valid_by">Par {{ ope.group.valid_by.trigramme }}</span>
{% endif %}
{% if ope.group.comment %}