From b840fe1de4e214d79dd49028f4e0c70aa889b156 Mon Sep 17 00:00:00 2001 From: aurelien Date: Mon, 7 Jun 2021 14:01:21 +0200 Subject: [PATCH] ajout id sur les notes d'ue --- sco_formsemestre_validation.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/sco_formsemestre_validation.py b/sco_formsemestre_validation.py index 13ed948d6..30012b684 100644 --- a/sco_formsemestre_validation.py +++ b/sco_formsemestre_validation.py @@ -640,8 +640,13 @@ def formsemestre_recap_parcours_table( # log('') H.append( - '%s' - % (class_ue, " ".join(explanation_ue), scu.fmt_note(moy_ue)) + '%s' + % ( + ue["acronyme"], + class_ue, + " ".join(explanation_ue), + scu.fmt_note(moy_ue), + ) ) if len(ues) < Se.nb_max_ue: H.append('' % (Se.nb_max_ue - len(ues))) @@ -677,12 +682,8 @@ def formsemestre_recap_parcours_table( for ue in ues: ue_status = nt.get_etud_ue_status(etudid, ue["ue_id"]) H.append( - '%g%g' - % ( - ue["acronyme"], - ue_status["ects_pot"], - ue_status["ects_pot_fond"], - ) + '%g%g' + % (ue_status["ects_pot"], ue_status["ects_pot_fond"]) ) H.append("")