forked from ScoDoc/ScoDoc
(Commit en retard) ECTS dans bul pdf
This commit is contained in:
parent
4f0294b5de
commit
c652bbf2f6
@ -139,7 +139,12 @@ class BulletinGeneratorStandardBUT(BulletinGeneratorStandard):
|
|||||||
}
|
}
|
||||||
rows.append(t)
|
rows.append(t)
|
||||||
# 2eme ligne titre UE (bonus/malus/ects)
|
# 2eme ligne titre UE (bonus/malus/ects)
|
||||||
ects_txt = f'ECTS: {ue["ECTS"]["acquis"]:.3g} / {ue["ECTS"]["total"]:.3g}'
|
if "ECTS" in ue:
|
||||||
|
ects_txt = (
|
||||||
|
f'ECTS: {ue["ECTS"]["acquis"]:.3g} / {ue["ECTS"]["total"]:.3g}'
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
ects_txt = ""
|
||||||
t = {
|
t = {
|
||||||
"titre": f"""Bonus: {ue['bonus']} - Malus: {
|
"titre": f"""Bonus: {ue['bonus']} - Malus: {
|
||||||
ue["malus"]}""",
|
ue["malus"]}""",
|
||||||
|
Loading…
Reference in New Issue
Block a user