Add view to send PDF letter to EDE expert

This commit is contained in:
Claude Paroz 2018-04-12 12:37:17 +02:00
parent 84440ceb2a
commit 3b43477e17
7 changed files with 168 additions and 7 deletions

View file

@ -27,7 +27,7 @@ class InscriptionSummaryPDF(EpcBaseDocTemplate):
filename = slugify('{0}_{1}'.format(candidate.last_name, candidate.first_name)) + '.pdf'
path = os.path.join(tempfile.gettempdir(), filename)
super().__init__(path, title="Dossier d'inscription", **kwargs)
self.setNormalTemplatePage()
self.set_normal_template_page()
def produce(self, candidate):
# personal data