Skip to content
Snippets Groups Projects
Commit 0a07f54d authored by Antoine Pourthié's avatar Antoine Pourthié
Browse files

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
......@@ -141,8 +141,12 @@ def do_formsemestre_demission(
db.session.add(event)
db.session.commit()
sco_cache.invalidate_formsemestre(formsemestre_id=formsemestre_id)
if etat_new == scu.DEMISSION:
flash("Démission enregistrée")
# -- notification de demission
formsemestre._notify_demission(etud)
elif etat_new == scu.DEF:
flash("Défaillance enregistrée")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment