Changeset 14210
- Timestamp:
- 1 Oct 2016, 05:02:10 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/applicants/browser.py
r14128 r14210 27 27 NigeriaApplicantEditFormPage, 28 28 NigeriaPDFApplicationSlip) 29 from kofacustom.nigeria.applicants.interfaces import ( 30 UG_OMIT_DISPLAY_FIELDS, 31 UG_OMIT_PDF_FIELDS, 32 UG_OMIT_MANAGE_FIELDS, 33 UG_OMIT_EDIT_FIELDS, 34 ) 29 35 30 from kofacustom.coewarri.applicants.interfaces import ( 36 31 ICustomUGApplicantEdit, ICustomUGApplicant) 37 32 from kofacustom.coewarri.interfaces import MessageFactory as _ 33 34 # Fields to be omitted in all display forms. course_admitted is 35 # rendered separately. 36 37 OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted', 38 'result_uploaded', 'suspended', 'special_application', 39 'bank_account_number', 40 'bank_account_name', 41 'bank_name') 42 43 # UG students are all undergraduate students. 44 UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + ( 45 'jamb_subjects_list', 'programme_type') 46 UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',) 47 UG_OMIT_MANAGE_FIELDS = ( 48 'special_application', 49 'jamb_subjects_list', 50 'programme_type') 51 UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + ( 52 'student_id', 53 'notice', 54 'screening_score', 55 'screening_venue', 56 'screening_date', 57 # 'jamb_age', 58 # 'jamb_subjects', 59 # 'jamb_score', 60 # 'jamb_reg_number', 61 'aggregate') 38 62 39 63 class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.