Ignore:
Timestamp:
9 Aug 2016, 17:24:03 (8 years ago)
Author:
Henrik Bettermann
Message:

Use correct interface for akj applications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py

    r14060 r14062  
    162162            for field in CBT_OMIT_PDF_FIELDS:
    163163                form_fields = form_fields.omit(field)
     164        elif self.target is not None and self.target.startswith('akj'): # uniben
     165            form_fields = grok.AutoFields(INigeriaPGApplicant)
     166            for field in PRE_OMIT_PDF_FIELDS:
     167                form_fields = form_fields.omit(field)
    164168        elif self.target is not None and self.target.startswith('ak'): # uniben
    165169            form_fields = grok.AutoFields(INigeriaUGApplicant)
    166170            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:
    171171                form_fields = form_fields.omit(field)
    172172        elif self.target is not None and self.target.startswith('ase'): # was putme
Note: See TracChangeset for help on using the changeset viewer.