Changeset 5482 for main/waeup.sirp/trunk


Ignore:
Timestamp:
24 Aug 2010, 11:54:53 (14 years ago)
Author:
uli
Message:

Add an interface describing the data used when PUDE applicants edit
their application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/jambtables/interfaces.py

    r5471 r5482  
    485485        )
    486486
     487class IApplicantPDEEditData(IWAeUPObject):
     488    """The data set presented to PDE applicants.
     489    """
     490    reg_no = schema.TextLine(
     491        title = u'JAMB Registration Number',
     492        readonly = True,
     493        )
     494    access_code = schema.TextLine(
     495        title = u'Access Code',
     496        readonly = True,
     497        )
     498    course1 = schema.TextLine(
     499        title = u'1st Choice Course of Study',
     500        readonly = True,
     501        )
     502    course2 = schema.TextLine(
     503        title = u'2nd Choice Course of Study',
     504        required = False,
     505        )
     506    course3 = schema.TextLine(
     507        title = u'3rd Choice Course of Study',
     508        required = False,
     509        )
     510    lastname = schema.TextLine(
     511        title = u'Name',
     512        readonly = True,
     513        )
     514    jamb_age = schema.Int(
     515        title = u'Age',
     516        readonly = True,
     517        )
     518    date_of_birth = schema.Date(
     519        title = u'Date of Birth',
     520        required = True,
     521        )
     522    jamb_state = schema.TextLine(
     523        title = u'State (provided by JAMB)',
     524        readonly = True,
     525        )
     526    jamb_lga = schema.TextLine(
     527        title = u'LGA (provided by JAMB)',
     528        readonly = True,
     529        )
     530    lga = schema.TextLine(
     531        # XXX: should be choice
     532        title = u'State/LGA (confirmed by applicant)',
     533        required = False,
     534        )
     535    email = schema.TextLine(
     536        title = u'Email',
     537        required = False,
     538        )
     539    phone = schema.TextLine(
     540        title = u'Phone',
     541        required = False,
     542        )
     543    passport = schema.Bool(
     544        title = u'Passport Photograph',
     545        default = True,
     546        required = False,
     547        )
     548    aos = schema.TextLine(
     549        # XXX: should be choice
     550        title = u'Area of Specialisation',
     551        required = False,
     552        )
     553    subj1 = schema.TextLine(
     554        # XXX: should be choice
     555        title = u'1st Choice of Study',
     556        readonly = True,
     557        )
     558    subj2 = schema.TextLine(
     559        # XXX: should be choice
     560        title = u'2nd Choice of Study',
     561        required = False,
     562        )
     563    subj3 = schema.TextLine(
     564        # XXX: should be choice
     565        title = u'3rd Choice of Study',
     566        required = False,
     567        )
     568   
     569    #
     570    # Application Data
     571    #
     572    application_date = schema.Date(
     573        title = u'Application Date',
     574        readonly = True,
     575        )
     576    status = schema.TextLine(
     577        # XXX: should be 'status' type
     578        title = u'Application Status',
     579        readonly = True,
     580        )
     581    screening_date = schema.Date(
     582        title = u'Screening Date',
     583        readonly = True,
     584        )
     585
     586
    487587class IApplicantPDEImportData(IApplicantBaseData):
    488588    """Data for applicants, that passed PDE screening.
Note: See TracChangeset for help on using the changeset viewer.