Changeset 10311


Ignore:
Timestamp:
17 Jun 2013, 08:34:22 (11 years ago)
Author:
Henrik Bettermann
Message:

Add jamb_reg_number.

Move jamb fields.

Add phone number on slip.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/applicants
Files:
3 edited

Legend:

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

    r10301 r10311  
    4646    ICustomUGApplicantEdit)
    4747
     48UG_OMIT_PDF_FIELDS = [
     49    element for element in UG_OMIT_PDF_FIELDS if not element == 'phone']
     50UG_OMIT_PDF_FIELDS += ('reg_number',)
    4851
    4952class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
     
    7477
    7578class CustomPDFApplicationSlip(NigeriaPDFApplicationSlip):
     79
     80    column_two_fields = ('applicant_id', 'reg_number',
     81        'firstname', 'middlename', 'lastname', 'sex', 'date_of_birth')
    7682
    7783    @property
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r10309 r10311  
    6969        required = False,
    7070        )
     71    jamb_reg_number = schema.TextLine(
     72        title = _(u'JAMB Registration Number'),
     73        required = False,
     74        )
     75    jamb_score = schema.Int(
     76        title = _(u'Total JAMB Score'),
     77        required = False,
     78        )
    7179    course1 = schema.Choice(
    7280        title = _(u'1st Choice Course of Study'),
     
    159167        readonly = False,
    160168        default = [],
    161         )
    162     jamb_score = schema.Int(
    163         title = _(u'Total JAMB Score'),
    164         required = False,
    165169        )
    166170    notice = schema.Text(
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py

    r10309 r10311  
    3838        'form.nysc_year': _(u'NYSC Information'),
    3939        'form.employer': _(u'Employment History'),
    40         'form.jamb_score': _(u'JAMB Data'),
     40        'form.jamb_reg_number': _(u'JAMB Data'),
    4141        'form.notice': _(u'Application Process Information'),
    4242        'form.pp_school': _(u'Post Primary School Qualification'),
Note: See TracChangeset for help on using the changeset viewer.