- Timestamp:
- 27 Nov 2024, 00:30:20 (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r17597 r17964 54 54 IPUTMEApplicantEdit, 55 55 ITranscriptApplicant, 56 IFrenchApplicant) 56 IFrenchApplicant, 57 IAfrimalApplicant) 57 58 from waeup.kofa.applicants.workflow import ADMITTED, PAID, STARTED 58 59 from kofacustom.nigeria.applicants.interfaces import ( … … 298 299 form_fields = form_fields.omit(field) 299 300 return form_fields 301 if self.target is not None and self.target == 'afrimal': 302 form_fields = grok.AutoFields(IAfrimalApplicant) 303 for field in REGISTRATION_OMIT_DISPLAY_FIELDS: 304 form_fields = form_fields.omit(field) 305 return form_fields 300 306 if self.target == 'ictwk': 301 307 form_fields = grok.AutoFields(IUnibenRegistration) … … 505 511 form_fields = form_fields.omit(field) 506 512 return form_fields 513 if self.target is not None and self.target == 'afrimal': 514 form_fields = grok.AutoFields(IAfrimalApplicant) 515 for field in REGISTRATION_OMIT_MANAGE_FIELDS: 516 form_fields = form_fields.omit(field) 517 return form_fields 507 518 if self.target is not None and self.target.startswith('pg'): 508 519 form_fields = grok.AutoFields(ICustomPGApplicant) … … 627 638 if self.target is not None and self.target == 'flc': 628 639 form_fields = grok.AutoFields(IFrenchApplicant) 640 for field in REGISTRATION_OMIT_EDIT_FIELDS: 641 form_fields = form_fields.omit(field) 642 return form_fields 643 if self.target is not None and self.target == 'afrimal': 644 form_fields = grok.AutoFields(IAfrimalApplicant) 629 645 for field in REGISTRATION_OMIT_EDIT_FIELDS: 630 646 form_fields = form_fields.omit(field) … … 821 837 elif self.target is not None and self.target == 'flc': 822 838 form_fields = grok.AutoFields(IFrenchApplicant) 839 for field in REGISTRATION_OMIT_PDF_FIELDS: 840 form_fields = form_fields.omit(field) 841 elif self.target is not None and self.target == 'afrimal': 842 form_fields = grok.AutoFields(IAfrimalApplicant) 823 843 for field in REGISTRATION_OMIT_PDF_FIELDS: 824 844 form_fields = form_fields.omit(field)
Note: See TracChangeset for help on using the changeset viewer.