diff --git a/app/views/notes.py b/app/views/notes.py index e6065c36..f433dadb 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -2248,6 +2248,23 @@ def formsemestre_validation_but(formsemestre_id: int, etudid: int): formsemestre = FormSemestre.query.get_or_404(formsemestre_id) etud = Identite.query.get_or_404(etudid) + if formsemestre.etuds_inscriptions[16405].etat != scu.INSCRIT: + return ( + "\n".join(H) + + f"""