From 9ad1e219caff7875678850b355c0172250e190ef Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 6 Sep 2022 15:21:32 +0200 Subject: [PATCH] Tableau recap. formation: pas de coef en APC. Close #490 --- app/scodoc/sco_formation_recap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_formation_recap.py b/app/scodoc/sco_formation_recap.py index fedf7a48..9d06dbad 100644 --- a/app/scodoc/sco_formation_recap.py +++ b/app/scodoc/sco_formation_recap.py @@ -112,13 +112,14 @@ def formation_table_recap(formation_id, format="html") -> Response: "apo", # "mat", inutile d'afficher la matière "titre", - "coef", "ects", "nb_moduleimpls", "heures_cours", "heures_td", "heures_tp", ] + if not formation.is_apc(): + columns_ids.insert(columns_ids.index("ects"), "coef") titles = { "ue": "UE", "mat": "Matière",