forked from ScoDoc/ScoDoc
Fix: bul BUT pdf / autorisation_inscription
This commit is contained in:
parent
d21388edb8
commit
fc2fc07af0
@ -499,14 +499,14 @@ class BulletinGeneratorBUTCourt(BulletinGeneratorStandard):
|
|||||||
def boite_decisions_jury(self):
|
def boite_decisions_jury(self):
|
||||||
"""La boite en bas à droite avec jury"""
|
"""La boite en bas à droite avec jury"""
|
||||||
txt = f"""ECTS acquis en BUT : <b>{self.ects_total:g}</b><br/>"""
|
txt = f"""ECTS acquis en BUT : <b>{self.ects_total:g}</b><br/>"""
|
||||||
if self.bul["semestre"]["decision_annee"]:
|
if self.bul["semestre"].get("decision_annee", None):
|
||||||
txt += f"""
|
txt += f"""
|
||||||
Jury tenu le {
|
Jury tenu le {
|
||||||
datetime.datetime.fromisoformat(self.bul["semestre"]["decision_annee"]["date"]).strftime("%d/%m/%Y")
|
datetime.datetime.fromisoformat(self.bul["semestre"]["decision_annee"]["date"]).strftime("%d/%m/%Y")
|
||||||
}, année BUT <b>{self.bul["semestre"]["decision_annee"]["code"]}</b>.
|
}, année BUT <b>{self.bul["semestre"]["decision_annee"]["code"]}</b>.
|
||||||
<br/>
|
<br/>
|
||||||
"""
|
"""
|
||||||
if self.bul["semestre"]["autorisation_inscription"]:
|
if self.bul["semestre"].get("autorisation_inscription", None):
|
||||||
txt += (
|
txt += (
|
||||||
"<br/>Autorisé à s'inscrire en <b>"
|
"<br/>Autorisé à s'inscrire en <b>"
|
||||||
+ ", ".join(
|
+ ", ".join(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.6.19"
|
SCOVERSION = "9.6.20"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user