1
0
forked from ScoDoc/ScoDoc

Assiduité : balise semestre notification mail closes #896

This commit is contained in:
Iziram 2024-06-11 15:07:17 +02:00
parent 70605edad7
commit c8a042cc09

View File

@ -31,6 +31,7 @@
Il suffit d'appeler abs_notify() après chaque ajout d'absence.
"""
import datetime
from typing import Optional
@ -281,6 +282,9 @@ def abs_notification_message(
"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"]
txt = ""
if template: