forked from ScoDoc/ScoDoc
Précision nb abs sur table recap
This commit is contained in:
parent
9cdab8d1ed
commit
e56cbfc5a2
@ -621,8 +621,10 @@ class RowRecap(tb.Row):
|
|||||||
"Ajoute les colonnes absences"
|
"Ajoute les colonnes absences"
|
||||||
# Absences (nb d'abs non just. dans ce semestre)
|
# Absences (nb d'abs non just. dans ce semestre)
|
||||||
nbabs, nbabsjust = self.table.res.formsemestre.get_abs_count(self.etud.id)
|
nbabs, nbabsjust = self.table.res.formsemestre.get_abs_count(self.etud.id)
|
||||||
self.add_cell("nbabs", "Abs", nbabs, "abs")
|
self.add_cell("nbabs", "Abs", f"{nbabs:1.0f}", "abs", raw_content=nbabs)
|
||||||
self.add_cell("nbabsjust", "Just.", nbabsjust, "abs")
|
self.add_cell(
|
||||||
|
"nbabsjust", "Just.", f"{nbabsjust:1.0f}", "abs", raw_content=nbabsjust
|
||||||
|
)
|
||||||
|
|
||||||
def add_moyennes_cols(
|
def add_moyennes_cols(
|
||||||
self,
|
self,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.6.948"
|
SCOVERSION = "9.6.949"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user