Added declaration to charge sheet

This commit is contained in:
alazo 2017-08-30 18:06:47 +02:00 committed by Claude Paroz
parent c569e9f3a5
commit a4fe079475

View file

@ -70,6 +70,14 @@ class ChargeSheetPDF(SimpleDocTemplate):
self.story.append(Paragraph(d, style_normal))
self.story.append(Spacer(0, 0.5*cm))
self.story.append(Paragraph('la direction', style_normal))
max_total = settings.MAX_ENS_PERIODS + settings.MAX_ENS_FORMATION
if activities['tot_paye'] == max_total and activities['tot_paye'] != activities['tot_trav']:
self.story.append(Spacer(0, 1 * cm))
d = 'Je soussigné-e déclare accepter les conditions ci-dessus pour la régularisation de mon salaire.'
self.story.append(Paragraph(d, style_normal))
self.story.append(Spacer(0, 1 * cm))
d = 'Lieu, date et signature: ___________________________________________________________________________'
self.story.append(Paragraph(d, style_normal))
self.story.append(PageBreak())
self.build(self.story)