Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 9cae5822 authored by Levy--Falk Hugo's avatar Levy--Falk Hugo

Fix les erreurs d'affichage lors du paiement

parent 09d7baba
......@@ -129,7 +129,7 @@ def comnpay(facture, request):
'amount': facture.prix,
'amount': facture.prix(),
return r
......@@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h2>{% trans "Balance refill" %}</h2>
{% blocktrans %}
Balance : <span class="label label-default">{{ request.user.solde }} €</span>
Balance : <span class="label label-default">{{ solde }} €</span>
{% endblocktrans %}
<form class="form" method="post">
......@@ -870,5 +870,6 @@ def recharge(request):
](invoice, request)
return render(request, 'cotisations/payment.html', content)
return form({
'rechargeform': refill_form
'rechargeform': refill_form,
'solde': request.user.solde
}, 'cotisations/recharge.html', request)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment