forked from ScoDoc/ScoDoc
Assiduité : balise semestre notification mail closes #896
This commit is contained in:
parent
70605edad7
commit
c8a042cc09
@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
Il suffit d'appeler abs_notify() après chaque ajout d'absence.
|
Il suffit d'appeler abs_notify() après chaque ajout d'absence.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
@ -281,6 +282,9 @@ def abs_notification_message(
|
|||||||
"scolar.fiche_etud", scodoc_dept=g.scodoc_dept, etudid=etudid, _external=True
|
"scolar.fiche_etud", scodoc_dept=g.scodoc_dept, etudid=etudid, _external=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Formsemestre concerné (ex: "BUT Informatique semestre 2")
|
||||||
|
values["semestre"] = formsemestre.titre_num()
|
||||||
|
|
||||||
template = prefs["abs_notification_mail_tmpl"]
|
template = prefs["abs_notification_mail_tmpl"]
|
||||||
txt = ""
|
txt = ""
|
||||||
if template:
|
if template:
|
||||||
|
Loading…
Reference in New Issue
Block a user