mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +00:00
Fix la visibilité du bouton de recharge de solde.
This commit is contained in:
parent
31e13fc7f7
commit
899cd863eb
1 changed files with 2 additions and 2 deletions
|
@ -899,8 +899,8 @@ def profil(request, users, **_kwargs):
|
||||||
SortTable.USERS_INDEX_WHITE
|
SortTable.USERS_INDEX_WHITE
|
||||||
)
|
)
|
||||||
balance, _created = Paiement.objects.get_or_create(moyen="solde")
|
balance, _created = Paiement.objects.get_or_create(moyen="solde")
|
||||||
user_solde = Facture.can_create(request.user) \
|
user_solde = Facture.can_create(request.user)[0] \
|
||||||
and balance.can_use_payment(request.user)
|
and balance.can_use_payment(request.user)[0]
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
'users/profil.html',
|
'users/profil.html',
|
||||||
|
|
Loading…
Reference in a new issue