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

Customization only to integrate BEC application.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
Files:
1 added
2 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):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/utils.py

    r9461 r9463  
    2424from kofacustom.nigeria.applicants.utils import NigeriaApplicantsUtils
    2525
    26 
     26from waeup.fceokene.interfaces import MessageFactory as _
    2727
    2828class ApplicantsUtils(NigeriaApplicantsUtils):
     
    3131
    3232    APP_TYPES_DICT = {
     33        'app': ['General Studies', 'APP'],
    3334        'prence': ['Pre-NCE Programme', 'PRE'],
    3435        'sandwich': ['NCE Sandwich Programme', 'SAND'],
     
    3940        'bec': ['Bachelor of Education Certificate Programmes', 'BEC']
    4041        }
     42
     43    SEPARATORS_DICT = {
     44        'form.applicant_id': _(u'Base Data'),
     45        'form.course1': _(u'Programmes/Courses Desired'),
     46        'form.hq_type': _(u'Higher Education Record'),
     47        'form.presently': _(u'Course or Programme Presently Attending'),
     48        'form.nysc_year': _(u'NYSC Information'),
     49        'form.employer': _(u'Employment History'),
     50        'form.jamb_subjects': _(u'JAMB Data'),
     51        'form.notice': _(u'Application Process Information'),
     52        'form.pp_school': _(u'Post Primary School Qualification'),
     53        'form.presently_inst': _(u'Presently attending a course or programme'),
     54        'form.olevel_type': _(u"'O' Level Record"),
     55        }
Note: See TracChangeset for help on using the changeset viewer.