Ignore:
Timestamp:
2 Jul 2016, 04:56:31 (8 years ago)
Author:
Henrik Bettermann
Message:

Temporary solution for reopening application in Uniben. This revision has to be reverted when ase application is finished.

File:
1 edited

Legend:

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

    r13945 r14003  
    2424from zope.formlib.textwidgets import BytesDisplayWidget
    2525from waeup.kofa.students.interfaces import IStudentsUtils
    26 from waeup.kofa.applicants.interfaces import (
    27     IApplicantRegisterUpdate, IApplicant, IApplicantEdit)
     26from waeup.kofa.applicants.interfaces import IApplicantRegisterUpdate
    2827from waeup.kofa.applicants.browser import (ApplicantDisplayFormPage,
    2928    ApplicantManageFormPage, ApplicantEditFormPage,
     
    3938    INigeriaPGApplicantEdit, INigeriaUGApplicantEdit,
    4039    INigeriaApplicantOnlinePayment,IPUTMEApplicantEdit,
     40    IBankAccount,
    4141    UG_OMIT_DISPLAY_FIELDS,
    4242    UG_OMIT_PDF_FIELDS,
     
    254254                form_fields = form_fields.omit(field)
    255255        elif self.target is not None and self.target.startswith('ase'): # was putme
    256             form_fields = grok.AutoFields(IPUTMEApplicantEdit)
    257             for field in PUTME_OMIT_EDIT_FIELDS:
    258                 form_fields = form_fields.omit(field)
     256
     257
     258            # Temporary solution for reopening application in Uniben
     259            form_fields = grok.AutoFields(IBankAccount)
     260            #form_fields = grok.AutoFields(IPUTMEApplicantEdit)
     261            #for field in PUTME_OMIT_EDIT_FIELDS:
     262            #    form_fields = form_fields.omit(field)
     263            return form_fields
     264
     265
    259266        elif self.target is not None and self.target.startswith('pude'):
    260267            form_fields = grok.AutoFields(INigeriaUGApplicantEdit)
Note: See TracChangeset for help on using the changeset viewer.