Changeset 8549 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py
- Timestamp:
- 29 May 2012, 22:35:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py
r8313 r8549 39 39 grok.implements(IPDF) 40 40 grok.name('application_slip') 41 note = None 41 42 42 43 form_fields = grok.AutoFields(IApplicant).omit( … … 95 96 return data 96 97 97 def __call__(self, view=None , note=None):98 def __call__(self, view=None): 98 99 """Return a PDF representation of the context applicant. 99 100 … … 132 133 data = self._addComments(data) 133 134 134 return creator.create_pdf(data, None, doc_title, note= note)135 return creator.create_pdf(data, None, doc_title, note=self.note)
Note: See TracChangeset for help on using the changeset viewer.