Fix: bulletins pdf, notes évaluations sans notes.

This commit is contained in:
Emmanuel Viennet 2024-05-07 18:17:13 +02:00
parent 18b1f00586
commit 3e43495831
2 changed files with 4 additions and 5 deletions

View File

@ -427,12 +427,11 @@ class BulletinGeneratorStandardBUT(BulletinGeneratorStandard):
if e["evaluation_type"] == Evaluation.EVALUATION_NORMALE
else "*"
)
note_value = e["note"].get("value", "")
t = {
"titre": f"{e['description'] or ''}",
"moyenne": e["note"]["value"],
"_moyenne_pdf": Paragraph(
f"""<para align=right>{e["note"]["value"]}</para>"""
),
"moyenne": note_value,
"_moyenne_pdf": Paragraph(f"""<para align=right>{note_value}</para>"""),
"coef": coef,
"_coef_pdf": Paragraph(
f"""<para align=right fontSize={self.small_fontsize}><i>{

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.6.964"
SCOVERSION = "9.6.965"
SCONAME = "ScoDoc"