Ignore:
Timestamp:
24 Apr 2025, 01:07:30 (2 months ago)
Author:
Henrik Bettermann
Message:

Add JAMB registration number and NIN.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
Files:
2 edited

Legend:

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

    r16918 r18067  
    3232    grok.provides(ICustomApplicant)
    3333
     34    applicant_student_mapping = NigeriaApplicant.applicant_student_mapping + [
     35        ('nin', 'nin'),
     36        ('jamb_reg_number', 'jamb_reg_number'),
     37        ]
     38
    3439# Set all attributes of CustomApplicant required in ICustomApplicant as field
    3540# properties. Doing this, we do not have to set initial attributes
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r17744 r18067  
    426426        required = False,
    427427        )
     428    nin = schema.Int(
     429        title = _(u'National Identity Number (NIN)'),
     430        required = False,
     431        readonly = False,
     432        min=10000000000,
     433        max=99999999999,
     434        )
    428435    notice = schema.Text(
    429436        title = _(u'Notice'),
Note: See TracChangeset for help on using the changeset viewer.