Changeset 14060 for main/kofacustom.nigeria/trunk/src
- Timestamp:
- 8 Aug 2016, 15:14:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py
r14047 r14060 101 101 for field in PRE_OMIT_DISPLAY_FIELDS: 102 102 form_fields = form_fields.omit(field) 103 elif self.target is not None and self.target.startswith('cbt'): 103 elif self.target is not None and self.target.startswith('cbt'): #uniben 104 104 form_fields = grok.AutoFields(INigeriaUGApplicant) 105 105 for field in CBT_OMIT_DISPLAY_FIELDS: 106 106 form_fields = form_fields.omit(field) 107 elif self.target is not None and self.target.startswith('af'): 107 elif self.target is not None and self.target.startswith('akj'): # uniben 108 form_fields = grok.AutoFields(INigeriaPGApplicant) 109 for field in PRE_OMIT_DISPLAY_FIELDS: 110 form_fields = form_fields.omit(field) 111 elif self.target is not None and self.target.startswith('ak'): # uniben 108 112 form_fields = grok.AutoFields(INigeriaUGApplicant) 109 113 for field in AFFIL_OMIT_DISPLAY_FIELDS: … … 154 158 for field in PRE_OMIT_PDF_FIELDS: 155 159 form_fields = form_fields.omit(field) 156 elif self.target is not None and self.target.startswith('cbt'): 160 elif self.target is not None and self.target.startswith('cbt'): # uniben 157 161 form_fields = grok.AutoFields(INigeriaUGApplicant) 158 162 for field in CBT_OMIT_PDF_FIELDS: 159 163 form_fields = form_fields.omit(field) 160 elif self.target is not None and self.target.startswith('a f'):164 elif self.target is not None and self.target.startswith('ak'): # uniben 161 165 form_fields = grok.AutoFields(INigeriaUGApplicant) 162 166 for field in AFFIL_OMIT_PDF_FIELDS: 167 form_fields = form_fields.omit(field) 168 elif self.target is not None and self.target.startswith('akj'): # uniben 169 form_fields = grok.AutoFields(INigeriaPGApplicant) 170 for field in PRE_OMIT_PDF_FIELDS: 163 171 form_fields = form_fields.omit(field) 164 172 elif self.target is not None and self.target.startswith('ase'): # was putme … … 206 214 for field in PRE_OMIT_MANAGE_FIELDS: 207 215 form_fields = form_fields.omit(field) 208 elif self.target is not None and self.target.startswith('cbt'): 216 elif self.target is not None and self.target.startswith('cbt'): # uniben 209 217 form_fields = grok.AutoFields(INigeriaUGApplicant) 210 218 for field in CBT_OMIT_MANAGE_FIELDS: 211 219 form_fields = form_fields.omit(field) 212 elif self.target is not None and self.target.startswith('af'): 220 elif self.target is not None and self.target.startswith('akj'): # uniben 221 form_fields = grok.AutoFields(INigeriaPGApplicant) 222 for field in PRE_OMIT_MANAGE_FIELDS: 223 form_fields = form_fields.omit(field) 224 elif self.target is not None and self.target.startswith('ak'): # uniben 213 225 form_fields = grok.AutoFields(INigeriaUGApplicant) 214 226 for field in AFFIL_OMIT_MANAGE_FIELDS: … … 244 256 for field in PRE_OMIT_EDIT_FIELDS: 245 257 form_fields = form_fields.omit(field) 246 elif self.target is not None and self.target.startswith('cbt'): 258 elif self.target is not None and self.target.startswith('cbt'): # uniben 247 259 form_fields = grok.AutoFields(INigeriaUGApplicantEdit) 248 260 for field in CBT_OMIT_EDIT_FIELDS: 249 261 form_fields = form_fields.omit(field) 250 elif self.target is not None and self.target.startswith('af'): 262 elif self.target is not None and self.target.startswith('akj'): # uniben 263 form_fields = grok.AutoFields(INigeriaPGApplicant) 264 for field in PRE_OMIT_EDIT_FIELDS: 265 form_fields = form_fields.omit(field) 266 elif self.target is not None and self.target.startswith('ak'): # uniben 251 267 form_fields = grok.AutoFields(INigeriaUGApplicantEdit) 252 268 for field in AFFIL_OMIT_EDIT_FIELDS:
Note: See TracChangeset for help on using the changeset viewer.