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
c925ab95
Commit
c925ab95
authored
Nov 23, 2021
by
Thibault Grandjean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the date of the end of exemption
parent
061ab819
Pipeline
#1528
passed with stage
in 1 minute 28 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
members-space.js
members_space/static/js/members-space.js
+6
-0
index.html
templates/members_space/index.html
+1
-0
No files found.
members_space/static/js/members-space.js
View file @
c925ab95
...
@@ -188,6 +188,12 @@ function init_my_info_data() {
...
@@ -188,6 +188,12 @@ function init_my_info_data() {
$
(
this
).
removeClass
(
'active'
);
$
(
this
).
removeClass
(
'active'
);
});
});
});
});
}
else
if
(
partner_data
.
cooperative_state
===
'exempted'
)
{
const
d
=
new
Date
(
Date
.
parse
(
partner_data
.
leave_stop_date
));
const
f_date_delay_stop
=
d
.
getDate
()
+
'/'
+
(
"0"
+
(
d
.
getMonth
()
+
1
)).
slice
(
-
2
)
+
'/'
+
d
.
getFullYear
();
$
(
".delay_date_stop"
).
text
(
f_date_delay_stop
);
$
(
".delay_date_stop_container"
).
show
();
}
}
if
(
if
(
...
...
templates/members_space/index.html
View file @
c925ab95
...
@@ -117,6 +117,7 @@
...
@@ -117,6 +117,7 @@
"associated_partner_id"
:
"{{partnerData.associated_partner_id}}"
,
"associated_partner_id"
:
"{{partnerData.associated_partner_id}}"
,
"associated_partner_name"
:
"{{partnerData.associated_partner_name}}"
,
"associated_partner_name"
:
"{{partnerData.associated_partner_name}}"
,
"verif_token"
:
"{{partnerData.verif_token}}"
,
"verif_token"
:
"{{partnerData.verif_token}}"
,
"leave_stop_date"
:
"{{partnerData.leave_stop_date}}"
}
}
</script>
</script>
<script
src=
"{% static "
js
/
all_common
.
js
"
%}?
v=
"></script>
<script
src=
"{% static "
js
/
all_common
.
js
"
%}?
v=
"></script>
...
...
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