Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Pourthié
SCODOC_R6A06
Commits
0a07f54d
Commit
0a07f54d
authored
4 months ago
by
Antoine Pourthié
Browse files
Options
Downloads
Patches
Plain Diff
Appel à la methode de notification de démission après la confirmation du formulaire
parent
2fcd6f6a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/scodoc/sco_formsemestre_inscriptions.py
+4
-0
4 additions, 0 deletions
app/scodoc/sco_formsemestre_inscriptions.py
with
4 additions
and
0 deletions
app/scodoc/sco_formsemestre_inscriptions.py
+
4
−
0
View file @
0a07f54d
...
@@ -141,8 +141,12 @@ def do_formsemestre_demission(
...
@@ -141,8 +141,12 @@ def do_formsemestre_demission(
db
.
session
.
add
(
event
)
db
.
session
.
add
(
event
)
db
.
session
.
commit
()
db
.
session
.
commit
()
sco_cache
.
invalidate_formsemestre
(
formsemestre_id
=
formsemestre_id
)
sco_cache
.
invalidate_formsemestre
(
formsemestre_id
=
formsemestre_id
)
if
etat_new
==
scu
.
DEMISSION
:
if
etat_new
==
scu
.
DEMISSION
:
flash
(
"
Démission enregistrée
"
)
flash
(
"
Démission enregistrée
"
)
# -- notification de demission
formsemestre
.
_notify_demission
(
etud
)
elif
etat_new
==
scu
.
DEF
:
elif
etat_new
==
scu
.
DEF
:
flash
(
"
Défaillance enregistrée
"
)
flash
(
"
Défaillance enregistrée
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment