Ignore:
Timestamp:
3 Aug 2016, 06:34:59 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not ask other applicants than ase for bank account data.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants
Files:
2 edited

Legend:

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

    r14037 r14044  
    253253                form_fields = form_fields.omit(field)
    254254        elif self.target is not None and self.target.startswith('ase'): # was putme
    255 
    256 
    257             # Temporary solution for reopening application in Uniben
    258             form_fields = grok.AutoFields(IBankAccount)
    259             #form_fields = grok.AutoFields(IPUTMEApplicantEdit)
    260             #for field in PUTME_OMIT_EDIT_FIELDS:
    261             #    form_fields = form_fields.omit(field)
     255            form_fields = grok.AutoFields(IPUTMEApplicantEdit)
     256            for field in PUTME_OMIT_EDIT_FIELDS:
     257                form_fields = form_fields.omit(field)
    262258            return form_fields
    263 
    264 
    265259        elif self.target is not None and self.target.startswith('pude'):
    266260            form_fields = grok.AutoFields(INigeriaUGApplicantEdit)
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py

    r14010 r14044  
    126126    'hq_session', 'hq_disc',
    127127    'aggregate', 'jamb_subjects',
    128     'programme_type')
     128    'programme_type',
     129    'bank_account_number',
     130    'bank_account_name',
     131    'bank_name')
    129132CBT_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + CBT_OMIT_FIELDS
    130133CBT_OMIT_MANAGE_FIELDS = CBT_OMIT_FIELDS + ('special_application',)
     
    148151    'hq_degree', 'hq_school',
    149152    'hq_session', 'hq_disc',
    150     'jamb_subjects',)
     153    'jamb_subjects',
     154    'bank_account_number',
     155    'bank_account_name',
     156    'bank_name')
    151157AFFIL_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + AFFIL_OMIT_FIELDS
    152158AFFIL_OMIT_MANAGE_FIELDS = AFFIL_OMIT_FIELDS + ('special_application',)
     
    188194    'aggregate',
    189195    'jamb_subjects_list',
    190     'programme_type')
     196    'programme_type',
     197    'bank_account_number',
     198    'bank_account_name',
     199    'bank_name')
    191200PUDE_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUDE_OMIT_FIELDS
    192201PUDE_OMIT_MANAGE_FIELDS = UG_OMIT_MANAGE_FIELDS + PUDE_OMIT_FIELDS
Note: See TracChangeset for help on using the changeset viewer.