Changeset 16643 for main/kofacustom.edocons
- Timestamp:
- 27 Sep 2021, 06:17:08 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py
r16639 r16643 42 42 INigeriaPGApplicantEdit, INigeriaUGApplicantEdit, 43 43 INigeriaApplicantOnlinePayment, 44 UG_OMIT_DISPLAY_FIELDS,45 UG_OMIT_PDF_FIELDS,46 UG_OMIT_MANAGE_FIELDS,47 UG_OMIT_EDIT_FIELDS,44 #UG_OMIT_DISPLAY_FIELDS, 45 #UG_OMIT_PDF_FIELDS, 46 #UG_OMIT_MANAGE_FIELDS, 47 #UG_OMIT_EDIT_FIELDS, 48 48 PG_OMIT_DISPLAY_FIELDS, 49 49 PG_OMIT_PDF_FIELDS, … … 57 57 ) 58 58 from kofacustom.nigeria.interfaces import MessageFactory as _ 59 60 # Fields to be omitted in all display forms. course_admitted is 61 # rendered separately. 62 63 OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted', 64 'result_uploaded', 'suspended', 'special_application', 65 'bank_account_number', 66 'bank_account_name', 67 'bank_name', 68 'course1', 'course2') # these 2 have been added 69 70 # UG students are all undergraduate students. 71 UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + ( 72 'jamb_subjects_list', 'programme_type') 73 UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',) 74 UG_OMIT_MANAGE_FIELDS = ( 75 'special_application', 76 'jamb_subjects_list', 77 'programme_type') 78 UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + ( 79 'student_id', 80 'notice', 81 'screening_score', 82 'screening_venue', 83 'screening_date', 84 'jamb_age', 85 'jamb_subjects', 86 'jamb_score', 87 'jamb_reg_number', 88 'aggregate') 59 89 60 90 class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.