mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Fix les erreurs d'affichage lors du paiement
This commit is contained in:
parent
09d7baba5f
commit
9cae582201
3 changed files with 4 additions and 3 deletions
|
@ -129,7 +129,7 @@ def comnpay(facture, request):
|
||||||
facture.prix(),
|
facture.prix(),
|
||||||
idTransaction=str(facture.id)
|
idTransaction=str(facture.id)
|
||||||
),
|
),
|
||||||
'amount': facture.prix,
|
'amount': facture.prix(),
|
||||||
}
|
}
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<h2>{% trans "Balance refill" %}</h2>
|
<h2>{% trans "Balance refill" %}</h2>
|
||||||
<h3>
|
<h3>
|
||||||
{% blocktrans %}
|
{% blocktrans %}
|
||||||
Balance : <span class="label label-default">{{ request.user.solde }} €</span>
|
Balance : <span class="label label-default">{{ solde }} €</span>
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</h3>
|
</h3>
|
||||||
<form class="form" method="post">
|
<form class="form" method="post">
|
||||||
|
|
|
@ -870,5 +870,6 @@ def recharge(request):
|
||||||
](invoice, request)
|
](invoice, request)
|
||||||
return render(request, 'cotisations/payment.html', content)
|
return render(request, 'cotisations/payment.html', content)
|
||||||
return form({
|
return form({
|
||||||
'rechargeform': refill_form
|
'rechargeform': refill_form,
|
||||||
|
'solde': request.user.solde
|
||||||
}, 'cotisations/recharge.html', request)
|
}, 'cotisations/recharge.html', request)
|
||||||
|
|
Loading…
Reference in a new issue