Changeset 11844 for main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants
- Timestamp:
- 15 Oct 2014, 07:06:39 (10 years ago)
- Location:
- main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/browser.py
r11843 r11844 19 19 """ 20 20 import grok 21 from waeup.kofa.widgets.datewidget import ( 22 FriendlyDateDisplayWidget, FriendlyDateDisplayWidget,) 21 23 from waeup.kofa.applicants.browser import ( 22 24 ApplicantRegistrationPage, … … 24 26 ApplicantDisplayFormPage, 25 27 ApplicantManageFormPage, 26 ApplicantEditFormPage) 28 ApplicantEditFormPage, 29 ) 30 from waeup.kofa.applicants.pdf import PDFApplicationSlip 27 31 from waeup.kofa.applicants.viewlets import ( 28 32 StudentCreateActionButton, … … 85 89 form_fields['reg_number'].for_display = True 86 90 return form_fields 91 92 class CustomPDFApplicationSlip(PDFApplicationSlip): 93 """Bypass NigeriaPDFApplicationSlip 94 """ 95 96 form_fields = grok.AutoFields(ICustomApplicant).omit( 97 'locked', 'course_admitted', 'suspended', 'sex', 'course2' 98 ) 99 form_fields['date_of_birth'].custom_widget = FriendlyDateDisplayWidget('le') -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/utils.py
r11841 r11844 34 34 'sop': ['Scientific Office Permit', 'XXX'], 35 35 } 36 37 SEPARATORS_DICT = { 38 }
Note: See TracChangeset for help on using the changeset viewer.