From a421bec62598c4dc56590e94d0d4a4ce83cd2fd7 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Thu, 18 Feb 2021 17:58:08 +0100 Subject: [PATCH] Fix templates --- kfet/templates/kfet/account_negative.html | 16 +++------------- kfet/templates/kfet/left_account.html | 22 ++++++++++------------ 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/kfet/templates/kfet/account_negative.html b/kfet/templates/kfet/account_negative.html index fa8b508d..9ca9cd99 100644 --- a/kfet/templates/kfet/account_negative.html +++ b/kfet/templates/kfet/account_negative.html @@ -35,20 +35,16 @@ {% block main %}
- +
- - @@ -61,11 +57,6 @@ - @@ -73,11 +64,10 @@ - {% endfor %}
Tri. Nom BalanceRéelle Début Découvert autorisé Jusqu'auBalance offset
{{ neg.account.name }} {{ neg.account.balance|floatformat:2 }}€ - {% if neg.balance_offset %} - {{ neg.account.real_balance|floatformat:2 }}€ - {% endif %} - {{ neg.start|date:'d/m/Y H:i'}} {{ neg.authz_overdraft_until|date:'d/m/Y H:i' }} {{ neg.balance_offset|default_if_none:'' }}
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/kfet/templates/kfet/left_account.html b/kfet/templates/kfet/left_account.html index 716c96cc..a058abf9 100644 --- a/kfet/templates/kfet/left_account.html +++ b/kfet/templates/kfet/left_account.html @@ -39,7 +39,8 @@
  • {{ account.departement }} {{ account.promo }}
  • {% if account.is_cof %} - Adhérent COF + Adhérent COF {% else %} Non-COF {% endif %} @@ -54,9 +55,6 @@ {% if account.negative.start %}
  • Depuis le {{ account.negative.start|date:"d/m/Y à H:i" }}
  • {% endif %} - {% if account.real_balance != account.balance %} -
  • Solde réel: {{ account.real_balance }} €
  • - {% endif %}
  • Plafond : {{ account.negative.authz_overdraft_amount|default:kfet_config.overdraft_amount }} € @@ -89,20 +87,20 @@ {% endif %} + }); + \ No newline at end of file