- Timestamp:
- 30 May 2012, 20:37:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/browser.py
r8531 r8566 39 39 ICustomApplicantOnlinePayment, IPUTMEApplicantEdit, 40 40 UG_OMIT_DISPLAY_FIELDS, PG_OMIT_DISPLAY_FIELDS, 41 UG_OMIT_PDF_FIELDS, PG_OMIT_PDF_FIELDS, 41 42 UG_OMIT_MANAGE_FIELDS, PG_OMIT_MANAGE_FIELDS, 42 43 UG_OMIT_EDIT_FIELDS, PG_OMIT_EDIT_FIELDS, PUTME_OMIT_EDIT_FIELDS) … … 64 65 class CustomPDFApplicationSlip(PDFApplicationSlip): 65 66 67 note = _(u'<br /><br /><br />' 68 'Comfirm your exam venue 72 hours to the exam.') 69 66 70 @property 67 71 def form_fields(self): … … 69 73 if target is not None and target.startswith('pg'): 70 74 form_fields = grok.AutoFields(IPGApplicant) 71 for field in PG_OMIT_ DISPLAY_FIELDS:75 for field in PG_OMIT_PDF_FIELDS: 72 76 form_fields = form_fields.omit(field) 73 77 else: 74 78 form_fields = grok.AutoFields(IUGApplicant) 75 for field in UG_OMIT_ DISPLAY_FIELDS:79 for field in UG_OMIT_PDF_FIELDS: 76 80 form_fields = form_fields.omit(field) 77 81 return form_fields
Note: See TracChangeset for help on using the changeset viewer.