Correction label work_certificate pour CFC ASE

This commit is contained in:
Claude Paroz 2023-01-17 11:57:24 +01:00
parent 4a665d2324
commit cafe0746c8

View file

@ -85,8 +85,7 @@ class InscriptionSummaryPDF(EpcBaseDocTemplate):
work_label = candidate._meta.get_field('work_certificate').verbose_name
if candidate.diploma == 1: # CFC ASE
data.append([
'Evaluation du dernier stage ASE et/ou dernier rapport de formation',
candidate.get_ok('work_certificate'),
work_label, candidate.get_ok('work_certificate'),
])
elif candidate.diploma == 2: # CFC autre domaine