- Timestamp:
- 12 Dec 2019, 06:17:45 (5 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r15883 r15884 38 38 FriendlyDatetimeDisplayWidget) 39 39 from kofacustom.nigeria.applicants.interfaces import ( 40 UG_OMIT_DISPLAY_FIELDS, 41 UG_OMIT_PDF_FIELDS, 42 UG_OMIT_MANAGE_FIELDS, 43 UG_OMIT_EDIT_FIELDS, 40 OMIT_DISPLAY_FIELDS, 41 #UG_OMIT_DISPLAY_FIELDS, 42 #UG_OMIT_PDF_FIELDS, 43 #UG_OMIT_MANAGE_FIELDS, 44 #UG_OMIT_EDIT_FIELDS, 44 45 PG_OMIT_DISPLAY_FIELDS, 45 46 PG_OMIT_PDF_FIELDS, … … 55 56 56 57 MAX_FILE_UPLOAD_SIZE = 1024 * 500 58 59 # UG students are all undergraduate students. 60 UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + ( 61 #'jamb_subjects_list', 62 'programme_type',) 63 UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',) 64 UG_OMIT_MANAGE_FIELDS = ( 65 'special_application', 66 #'jamb_subjects_list', 67 'programme_type') 68 UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + ( 69 'student_id', 70 'notice', 71 'screening_score', 72 'screening_venue', 73 'screening_date', 74 #'jamb_age', 75 #'jamb_subjects', 76 #'jamb_score', 77 #'jamb_reg_number', 78 'aggregate') 57 79 58 80 def handle_file_upload(upload, context, view, attr=None): -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r15863 r15884 230 230 readonly = False, 231 231 ) 232 jamb_subjects = schema.Text( 233 title = _(u'Subjects and Scores'), 234 required = False, 235 ) 236 jamb_subjects = schema.Text( 237 title = _(u'Subjects and Scores'), 238 required = False, 239 ) 232 #jamb_subjects = schema.Text( 233 # title = _(u'Subjects and Scores'), 234 # required = False, 235 # ) 240 236 jamb_subjects_list = schema.List( 241 237 title = _(u'JAMB Subjects'),
Note: See TracChangeset for help on using the changeset viewer.