- Timestamp:
- 21 Dec 2015, 08:42:15 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py
r13277 r13551 47 47 CBT_OMIT_MANAGE_FIELDS, 48 48 CBT_OMIT_EDIT_FIELDS, 49 AFFIL_OMIT_DISPLAY_FIELDS, 50 AFFIL_OMIT_PDF_FIELDS, 51 AFFIL_OMIT_MANAGE_FIELDS, 52 AFFIL_OMIT_EDIT_FIELDS, 49 53 PG_OMIT_DISPLAY_FIELDS, 50 54 PG_OMIT_PDF_FIELDS, … … 102 106 for field in CBT_OMIT_DISPLAY_FIELDS: 103 107 form_fields = form_fields.omit(field) 108 elif self.target is not None and self.target.startswith('affil'): 109 form_fields = grok.AutoFields(INigeriaUGApplicant) 110 for field in AFFIL_OMIT_DISPLAY_FIELDS: 111 form_fields = form_fields.omit(field) 104 112 elif self.target is not None and self.target.startswith('putme'): 105 113 form_fields = grok.AutoFields(INigeriaUGApplicant) … … 151 159 for field in CBT_OMIT_PDF_FIELDS: 152 160 form_fields = form_fields.omit(field) 161 elif self.target is not None and self.target.startswith('affil'): 162 form_fields = grok.AutoFields(INigeriaUGApplicant) 163 for field in AFFIL_OMIT_PDF_FIELDS: 164 form_fields = form_fields.omit(field) 153 165 elif self.target is not None and self.target.startswith('putme'): 154 166 form_fields = grok.AutoFields(INigeriaUGApplicant) … … 199 211 for field in CBT_OMIT_MANAGE_FIELDS: 200 212 form_fields = form_fields.omit(field) 213 elif self.target is not None and self.target.startswith('affil'): 214 form_fields = grok.AutoFields(INigeriaUGApplicant) 215 for field in AFFIL_OMIT_MANAGE_FIELDS: 216 form_fields = form_fields.omit(field) 201 217 elif self.target is not None and self.target.startswith('putme'): 202 218 form_fields = grok.AutoFields(INigeriaUGApplicant) … … 232 248 form_fields = grok.AutoFields(INigeriaUGApplicantEdit) 233 249 for field in CBT_OMIT_EDIT_FIELDS: 250 form_fields = form_fields.omit(field) 251 elif self.target is not None and self.target.startswith('affil'): 252 form_fields = grok.AutoFields(INigeriaUGApplicantEdit) 253 for field in AFFIL_OMIT_EDIT_FIELDS: 234 254 form_fields = form_fields.omit(field) 235 255 elif self.target is not None and self.target.startswith('putme'):
Note: See TracChangeset for help on using the changeset viewer.