Cas ou departement sans nom complet
This commit is contained in:
parent
cadc26d581
commit
30e3328057
@ -74,7 +74,11 @@ def pdf_trombino_tours(
|
||||
T = Table(
|
||||
[
|
||||
[Paragraph(SU(InstituteName), StyleSheet["Heading3"])],
|
||||
[Paragraph(SU("Département " + DeptFullName), StyleSheet["Heading3"])],
|
||||
[
|
||||
Paragraph(
|
||||
SU("Département " + DeptFullName or "(?)"), StyleSheet["Heading3"]
|
||||
)
|
||||
],
|
||||
[
|
||||
Paragraph(
|
||||
SU("Date ............ / ............ / ......................"),
|
||||
@ -321,7 +325,8 @@ def pdf_feuille_releve_absences(
|
||||
],
|
||||
[
|
||||
Paragraph(
|
||||
SU("Département " + DeptFullName), StyleSheet["Heading3"]
|
||||
SU("Département " + (DeptFullName or "(?)")),
|
||||
StyleSheet["Heading3"],
|
||||
),
|
||||
"",
|
||||
],
|
||||
|
@ -613,7 +613,7 @@ def SignaleAbsenceGrSemestre(
|
||||
"modimpl_id": modimpl["moduleimpl_id"],
|
||||
"modname": (modimpl["module"]["code"] or "")
|
||||
+ " "
|
||||
+ (modimpl["module"]["abbrev"] or modimpl["module"]["titre"]),
|
||||
+ (modimpl["module"]["abbrev"] or modimpl["module"]["titre"] or ""),
|
||||
"sel": sel,
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user