Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
7dcd32cb
Commit
7dcd32cb
authored
Jul 10, 2018
by
Gabriel Detraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imports corrects
parent
9321e6b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
users/views.py
users/views.py
+3
-3
No files found.
users/views.py
View file @
7dcd32cb
...
...
@@ -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_sold
e
'
solde_activated'
:
Paiement
.
objects
.
filter
(
is_balance
=
True
).
exists
()
,
'
asso_name'
:
AssoOption
.
objects
.
first
().
nam
e
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment