1
0
forked from ScoDoc/ScoDoc

Fix: controle affichage code et date naissance sur PV jury pdf

This commit is contained in:
Emmanuel Viennet 2021-02-05 21:34:26 +01:00
parent de7d66e8e8
commit c8c58e54c4

View File

@ -675,10 +675,6 @@ def formsemestre_pvjury_pdf(
tf[2]["showTitle"] = True tf[2]["showTitle"] = True
else: else:
tf[2]["showTitle"] = False tf[2]["showTitle"] = False
if tf[2]["with_paragraph_nom"]:
tf[2]["with_paragraph_nom"] = True
else:
tf[2]["with_paragraph_nom"] = False
if tf[2]["anonymous"]: if tf[2]["anonymous"]:
tf[2]["anonymous"] = True tf[2]["anonymous"] = True
else: else:
@ -773,12 +769,10 @@ def descrform_pvjury(context, sem):
( (
"with_paragraph_nom", "with_paragraph_nom",
{ {
"input_type": "checkbox", "input_type": "boolcheckbox",
"title": "Avec date naissance et code", "title": "Avec date naissance et code",
"explanation": "ajoute informations sous le nom", "explanation": "ajoute informations sous le nom",
"default": "1", "default": True,
"labels": [""],
"allowed_values": ("1",),
}, },
), ),
( (