mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-08-19 21:53:41 +00:00
Imports corrects
This commit is contained in:
parent
9321e6b5ed
commit
7dcd32cb1e
1 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ from reversion import revisions as reversion
|
|||
|
||||
from cotisations.models import Facture, Paiement
|
||||
from machines.models import Machine
|
||||
from preferences.models import GeneralOption, OptionalUser
|
||||
from preferences.models import OptionalUser, GeneralOption, AssoOption
|
||||
from re2o.views import form
|
||||
from re2o.utils import (
|
||||
all_has_access,
|
||||
|
@ -913,8 +913,8 @@ def profil(request, users, **_kwargs):
|
|||
'ban_list': bans,
|
||||
'white_list': whitelists,
|
||||
'user_solde': user_solde,
|
||||
'allow_online_payment': allow_online_payment,
|
||||
'solde_activated': OptionalUser.objects.first().user_solde
|
||||
'solde_activated': Paiement.objects.filter(is_balance=True).exists(),
|
||||
'asso_name': AssoOption.objects.first().name
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue