From e56cbfc5a26598cc3424fc72766a001b695d8504 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 28 Feb 2024 23:22:15 +0100 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9cision=20nb=20abs=20sur=20table=20recap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/tables/recap.py | 6 ++++-- sco_version.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/tables/recap.py b/app/tables/recap.py index 01947f631..f26535edc 100644 --- a/app/tables/recap.py +++ b/app/tables/recap.py @@ -621,8 +621,10 @@ class RowRecap(tb.Row): "Ajoute les colonnes absences" # Absences (nb d'abs non just. dans ce semestre) nbabs, nbabsjust = self.table.res.formsemestre.get_abs_count(self.etud.id) - self.add_cell("nbabs", "Abs", nbabs, "abs") - self.add_cell("nbabsjust", "Just.", nbabsjust, "abs") + self.add_cell("nbabs", "Abs", f"{nbabs:1.0f}", "abs", raw_content=nbabs) + self.add_cell( + "nbabsjust", "Just.", f"{nbabsjust:1.0f}", "abs", raw_content=nbabsjust + ) def add_moyennes_cols( self, diff --git a/sco_version.py b/sco_version.py index df8dd3613..41ebc3033 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.948" +SCOVERSION = "9.6.949" SCONAME = "ScoDoc"