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

Fix la visibilité du bouton de recharge de solde.

parent 31e13fc7
......@@ -899,8 +899,8 @@ def profil(request, users, **_kwargs):
balance, _created = Paiement.objects.get_or_create(moyen="solde")
user_solde = Facture.can_create(request.user) \
and balance.can_use_payment(request.user)
user_solde = Facture.can_create(request.user)[0] \
and balance.can_use_payment(request.user)[0]
return render(
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