Ignore:
Timestamp:
23 Jun 2016, 07:25:56 (8 years ago)
Author:
Henrik Bettermann
Message:

Changes requested in ticket #232 (fire brigade approach).

File:
1 edited

Legend:

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

    r13679 r13977  
    6060    """
    6161
    62     programme_type = schema.Choice(
    63         title = _(u'Programme Type'),
    64         vocabulary = programme_types_vocab,
    65         required = False,
    66         )
     62    #programme_type = schema.Choice(
     63    #    title = _(u'Programme Type'),
     64    #    vocabulary = programme_types_vocab,
     65    #    required = False,
     66    #    )
    6767
    6868    nationality = schema.Choice(
     
    8484        required = False,
    8585        )
    86     jamb_reg_number = schema.TextLine(
    87         title = _(u'JAMB Registration Number'),
    88         required = False,
    89         )
     86    #jamb_reg_number = schema.TextLine(
     87    #    title = _(u'JAMB Registration Number'),
     88    #    required = False,
     89    #    )
    9090    jamb_score = schema.Int(
    9191        title = _(u'Total JAMB Score'),
     92        required = False,
     93        )
     94    jamb_subjects = schema.Text(
     95        title = _(u'JAMB Subjects and Scores'),
    9296        required = False,
    9397        )
     
    406410        required = False,
    407411        )
     412
     413
     414    master_sheet_number = schema.TextLine(
     415        title = _(u'Master Sheet Number'),
     416        required = False,
     417        readonly = False,
     418        )
     419
    408420    #screening_venue = schema.TextLine(
    409421    #    title = _(u'Screening Venue'),
     
    447459            raise Invalid(_("2nd choice course must differ from 1st choice course."))
    448460
    449 ICustomUGApplicant['programme_type'].order = IApplicantBaseData[
    450     'reg_number'].order
     461#ICustomUGApplicant['programme_type'].order = IApplicantBaseData[
     462#    'reg_number'].order
    451463
    452464class ICustomPGApplicant(INigeriaPGApplicant):
     
    628640    """
    629641
    630     programme_type = schema.Choice(
    631         title = _(u'Programme Type'),
    632         vocabulary = programme_types_vocab,
    633         required = True,
    634         )
     642    #programme_type = schema.Choice(
     643    #    title = _(u'Programme Type'),
     644    #    vocabulary = programme_types_vocab,
     645    #    required = True,
     646    #    )
    635647
    636648    date_of_birth = FormattedDate(
     
    640652        )
    641653
    642 ICustomUGApplicantEdit['programme_type'].order = ICustomUGApplicant[
    643     'programme_type'].order
     654#ICustomUGApplicantEdit['programme_type'].order = ICustomUGApplicant[
     655#    'programme_type'].order
    644656ICustomUGApplicantEdit['date_of_birth'].order = ICustomUGApplicant[
    645657    'date_of_birth'].order
Note: See TracChangeset for help on using the changeset viewer.