Changeset 13967 for main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Timestamp:
- 21 Jun 2016, 11:25:20 (9 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r13772 r13967 176 176 for field in PG_OMIT_DISPLAY_FIELDS: 177 177 form_fields = form_fields.omit(field) 178 elif self.target is not None and self.target .startswith('ptee'):178 elif self.target is not None and self.target in ('ptee', 'ude'): 179 179 for field in PTEE_OMIT_DISPLAY_FIELDS: 180 180 form_fields = form_fields.omit(field) … … 235 235 for field in PG_OMIT_PDF_FIELDS: 236 236 form_fields = form_fields.omit(field) 237 elif self.target is not None and self.target .startswith('ptee'):237 elif self.target is not None and self.target in ('ptee', 'ude'): 238 238 for field in PTEE_OMIT_PDF_FIELDS: 239 239 form_fields = form_fields.omit(field) … … 266 266 for field in PG_OMIT_MANAGE_FIELDS: 267 267 form_fields = form_fields.omit(field) 268 elif self.target is not None and self.target .startswith('ptee'):268 elif self.target is not None and self.target in ('ptee', 'ude'): 269 269 for field in PTEE_OMIT_MANAGE_FIELDS: 270 270 form_fields = form_fields.omit(field) … … 294 294 for field in PG_OMIT_EDIT_FIELDS: 295 295 form_fields = form_fields.omit(field) 296 elif self.target is not None and self.target .startswith('ptee'):296 elif self.target is not None and self.target in ('ptee', 'ude'): 297 297 for field in PTEE_OMIT_EDIT_FIELDS: 298 298 form_fields = form_fields.omit(field) -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py
r13754 r13967 28 28 29 29 APP_TYPES_DICT = { 30 'utme': ['AAUE Admission Screening (UTME)', 'UTME'], 31 'ude': ['AAUE Admission Screening (UDE)', 'UDE'], 30 32 'fp': ['Foundation Programmes', 'FND'], 31 33 'ptee': ['Part-Time Entrance Examination', 'PTEE'],
Note: See TracChangeset for help on using the changeset viewer.