8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2025-01-11 10:44:29 +00:00

Fix #155 confusion entre request.user et user

This commit is contained in:
grisel-davy 2018-08-17 11:05:40 +02:00
parent 9c065b57e3
commit e94400c9eb

View file

@ -868,7 +868,7 @@ def credit_solde(request, user, **_kwargs):
p = get_object_or_404(Paiement, is_balance=True)
return form({
'factureform': refill_form,
'balance': request.user.solde,
'balance': user.solde,
'title': _("Refill your balance"),
'action_name': _("Pay"),
'max_balance': p.payment_method.maximum_balance,