Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 9989f419cb - Show all commits

View File

@ -218,6 +218,7 @@ def fiche_etud(etudid=None):
only_to_show=True,
)
# Parcours de l'étudiant
last_formsemestre = None
inscriptions = etud.inscriptions()
info["last_formsemestre_id"] = (
inscriptions[0].formsemestre.id if inscriptions else ""

View File

@ -1115,7 +1115,7 @@ def get_code_cursus_etud(
p.append(":R")
if (
dec
and s["semestre_id"] == nt.parcours.NB_SEM
and formsemestre.semestre_id == nt.parcours.NB_SEM
and code_semestre_validant(dec["code"])
):
p.append(":A")