Browse Source

Revert "Fix les erreurs d'affichage lors du paiement"

This reverts commit 9cae582201
tests
klafyvel 8 years ago
parent
commit
12af239f64
  1. 2
      cotisations/payment.py
  2. 2
      cotisations/templates/cotisations/recharge.html
  3. 3
      cotisations/views.py

2
cotisations/payment.py

@ -129,7 +129,7 @@ def comnpay(facture, request):
facture.prix(),
idTransaction=str(facture.id)
),
'amount': facture.prix(),
'amount': facture.prix,
}
return r

2
cotisations/templates/cotisations/recharge.html

@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h2>{% trans "Balance refill" %}</h2>
<h3>
{% blocktrans %}
Balance : <span class="label label-default">{{ solde }} €</span>
Balance : <span class="label label-default">{{ request.user.solde }} €</span>
{% endblocktrans %}
</h3>
<form class="form" method="post">

3
cotisations/views.py

@ -870,6 +870,5 @@ def recharge(request):
](invoice, request)
return render(request, 'cotisations/payment.html', content)
return form({
'rechargeform': refill_form,
'solde': request.user.solde
'rechargeform': refill_form
}, 'cotisations/recharge.html', request)

Loading…
Cancel
Save