- Timestamp:
- 2 Jul 2016, 04:56:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py
r13945 r14003 24 24 from zope.formlib.textwidgets import BytesDisplayWidget 25 25 from waeup.kofa.students.interfaces import IStudentsUtils 26 from waeup.kofa.applicants.interfaces import ( 27 IApplicantRegisterUpdate, IApplicant, IApplicantEdit) 26 from waeup.kofa.applicants.interfaces import IApplicantRegisterUpdate 28 27 from waeup.kofa.applicants.browser import (ApplicantDisplayFormPage, 29 28 ApplicantManageFormPage, ApplicantEditFormPage, … … 39 38 INigeriaPGApplicantEdit, INigeriaUGApplicantEdit, 40 39 INigeriaApplicantOnlinePayment,IPUTMEApplicantEdit, 40 IBankAccount, 41 41 UG_OMIT_DISPLAY_FIELDS, 42 42 UG_OMIT_PDF_FIELDS, … … 254 254 form_fields = form_fields.omit(field) 255 255 elif self.target is not None and self.target.startswith('ase'): # was putme 256 form_fields = grok.AutoFields(IPUTMEApplicantEdit) 257 for field in PUTME_OMIT_EDIT_FIELDS: 258 form_fields = form_fields.omit(field) 256 257 258 # Temporary solution for reopening application in Uniben 259 form_fields = grok.AutoFields(IBankAccount) 260 #form_fields = grok.AutoFields(IPUTMEApplicantEdit) 261 #for field in PUTME_OMIT_EDIT_FIELDS: 262 # form_fields = form_fields.omit(field) 263 return form_fields 264 265 259 266 elif self.target is not None and self.target.startswith('pude'): 260 267 form_fields = grok.AutoFields(INigeriaUGApplicantEdit)
Note: See TracChangeset for help on using the changeset viewer.