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 f2c13201 authored by detraz's avatar detraz Committed by chirac

Les factures sont validées en post_paiement + bug fix paiement relation

parent 9fdadaf4
......@@ -836,7 +836,6 @@ def credit_solde(request, user, **_kwargs):
price_ok = True
if price_ok:
invoice.valid = True
......@@ -852,6 +851,6 @@ def credit_solde(request, user, **_kwargs):
'balance': user.solde,
'title': _("Refill your balance"),
'action_name': _("Pay"),
'max_balance': p.payment_method.maximum_balance,
'max_balance': find_payment_method(p).maximum_balance,
}, 'cotisations/facture.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