Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
862824e7
Commit
862824e7
authored
Oct 06, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated
parent
dd069f5d
Pipeline
#2414
passed with stage
in 1 minute 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
inscriptions.js
members/static/js/inscriptions.js
+2
-3
No files found.
members/static/js/inscriptions.js
View file @
862824e7
...
@@ -244,7 +244,6 @@ function store_new_coop(event) {
...
@@ -244,7 +244,6 @@ function store_new_coop(event) {
var
errors
=
[],
var
errors
=
[],
bc
=
''
,
// barcode may not be present
bc
=
''
,
// barcode may not be present
msex
=
''
,
// sex may not be present
msex
=
''
,
// sex may not be present
associated_area_actived
=
$
(
'#associate_area'
);
// need to ckeck if type of association is choosen
active_asso_area
=
$
(
'#associate_area .choice_active'
);
// need to ckeck if associated data are available
active_asso_area
=
$
(
'#associate_area .choice_active'
);
// need to ckeck if associated data are available
// 1- Un coop avec le meme mail ne doit pas exister dans odoo (dans base intermediaire, le cas est géré par l'erreur à l'enregistrement)
// 1- Un coop avec le meme mail ne doit pas exister dans odoo (dans base intermediaire, le cas est géré par l'erreur à l'enregistrement)
let
email
=
$
(
'input[name="email"]'
).
val
()
let
email
=
$
(
'input[name="email"]'
).
val
()
...
@@ -270,7 +269,7 @@ function store_new_coop(event) {
...
@@ -270,7 +269,7 @@ function store_new_coop(event) {
}
}
}
}
if
(
associated_area_actived
.
show
(
))
{
if
(
$
(
'#associate_area'
).
is
(
':visible'
))
{
// If user choose yes for binome, a type of association must be selected
// If user choose yes for binome, a type of association must be selected
let
associated_data_selected
=
false
;
let
associated_data_selected
=
false
;
...
@@ -281,7 +280,7 @@ function store_new_coop(event) {
...
@@ -281,7 +280,7 @@ function store_new_coop(event) {
)
{
)
{
associated_data_selected
=
true
;
associated_data_selected
=
true
;
}
}
if
(
associated_data_selected
===
false
)
errors
.
push
(
"Un des deux choix doit être sélectionné"
);
if
(
associated_data_selected
===
false
)
errors
.
push
(
"Un des deux choix
concernant la mise en binôme
doit être sélectionné"
);
}
}
...
...
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