Ignore:
Timestamp:
30 Oct 2012, 07:17:59 (12 years ago)
Author:
Henrik Bettermann
Message:

Customization only to integrate BEC application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r9059 r9463  
    3636    INigeriaApplicantUpdateByRegNo,
    3737    IPUTMEApplicantEdit,
     38    OMIT_DISPLAY_FIELDS
    3839    )
    3940from waeup.fceokene.interfaces import MessageFactory as _
    40 from waeup.fceokene.payments.interfaces import ICustomOnlinePayment
     41
     42BEC_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS
     43BEC_OMIT_PDF_FIELDS = BEC_OMIT_DISPLAY_FIELDS + ('phone',)
     44BEC_OMIT_MANAGE_FIELDS = ()
     45BEC_OMIT_EDIT_FIELDS = BEC_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + (
     46    'student_id', 'notice',
     47    'screening_score',
     48    'screening_venue',
     49    'screening_date',
     50    #'jamb_subjects',
     51    #'jamb_score',
     52    'aggregate')
    4153
    4254class ICustomUGApplicant(INigeriaUGApplicant):
     
    4557    This interface defines the least common multiple of all fields
    4658    in ug application forms. In customized forms, fields can be excluded by
    47     adding them to the UG_OMIT* tuples.
     59    adding them to the OMIT* tuples.
    4860    """
     61
     62    olevel_type = schema.Choice(
     63        title = _(u'Qualification Obtained'),
     64        required = False,
     65        readonly = False,
     66        vocabulary = high_qual,
     67        )
     68    olevel_matric_no = schema.TextLine(
     69        title = _(u'Former Matric Number'),
     70        required = False,
     71        readonly = False,
     72        )
     73    olevel_degree = schema.Choice(
     74        title = _(u'Class of Degree'),
     75        required = False,
     76        readonly = False,
     77        vocabulary = high_grade,
     78        )
     79    olevel_school = schema.TextLine(
     80        title = _(u'Institution Attended'),
     81        required = False,
     82        readonly = False,
     83        )
     84    olevel_session = schema.TextLine(
     85        title = _(u'Years Attended'),
     86        required = False,
     87        readonly = False,
     88        )
     89    olevel_disc = schema.TextLine(
     90        title = _(u'Discipline'),
     91        required = False,
     92        readonly = False,
     93        )
     94
    4995
    5096class ICustomPGApplicant(INigeriaPGApplicant):
Note: See TracChangeset for help on using the changeset viewer.