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 07c6868a authored by Levy--Falk Hugo's avatar Levy--Falk Hugo

Validation des factures à la recharge

parent c1f55e79
......@@ -677,9 +677,9 @@ def credit_solde(request, user, **_kwargs):
refill_form = RechargeForm(request.POST or None, user=request.user)
if refill_form.is_valid():
invoice = Facture(user=request.user)
invoice = Facture(user=user)
invoice.paiement = refill_form.cleaned_data['payment']
invoice.valid = False
invoice.valid = True
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