Skip to content
Snippets Groups Projects
Commit afedd15e authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

Assiduité: import excel: feuille_abs_formsemestre: ajout RETJUST

parent 0406bba3
Branches
No related tags found
No related merge requests found
......@@ -47,8 +47,11 @@
<li>colonne A : identifiant de l'étudiant (voir type ci-dessous)</li>
<li class="star">colonne B : date de début</li>
<li class="star">colonne C : date de fin</li>
<li class="opt">colonne D : état: ABS (absent), ABSJUST (absent justifié),
RET (retard), PRE (présent), considéré ABSent si vide</li>
<li class="opt">colonne D : état: <tt>ABS</tt> (absent),
<tt>ABSJUST</tt> (absent justifié),
<tt>RET</tt> (retard), <tt>RETJUST</tt> (retard justifié),
<tt>PRE</tt> (présent),
considéré ABSent si vide</li>
<li class="opt">colonne E : code du module</li>
</ul>
......
......@@ -2594,7 +2594,7 @@ def _import_excel_assiduites_list(
date_fin = scu.TIME_ZONE.localize(date_fin)
# Vérification de l'état
if etat not in ["ABS", "RET", "PRE", "ABSJUST"]:
if etat not in ["ABS", "RET", "PRE", "ABSJUST", "RETJUST"]:
raise ScoValueError(f"État invalide => {etat}")
etat_assiduite: scu.EtatAssiduite = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment