- Timestamp:
- 9 Jul 2019, 06:09:29 (5 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py
r15472 r15489 37 37 from waeup.kofa.students.vocabularies import nats_vocab, GenderSource 38 38 from kofacustom.nigeria.interfaces import ( 39 LGASource, high_qual, high_grade, exam_types, validate_jamb_reg_number) 39 LGASource, DisabilitiesSource, 40 high_qual, high_grade, exam_types, validate_jamb_reg_number) 40 41 from kofacustom.nigeria.interfaces import MessageFactory as _ 41 42 from kofacustom.nigeria.payments.interfaces import INigeriaOnlinePayment … … 270 271 """ 271 272 273 disabilities = schema.Choice( 274 title = _(u'Disabilities'), 275 source = DisabilitiesSource(), 276 required = False, 277 ) 272 278 nationality = schema.Choice( 273 279 source = nats_vocab, -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/tests/test_browser.py
r14093 r15489 411 411 self.assertMatches(result, 412 412 'aggregate,applicant_id,bank_account_name,bank_account_number,' 413 'bank_name,course1,course2,course_admitted,date_of_birth,email,' 413 'bank_name,course1,course2,course_admitted,date_of_birth,' 414 'disabilities,email,' 414 415 'emp2_end,emp2_position,emp2_reason,emp2_start,emp_end,' 415 416 'emp_position,emp_reason,emp_start,employer,employer2,' … … 426 427 'application_number,display_fullname,application_date\r\n' 427 428 428 ',dp2011_654321,,,,CERT1,CERT1,CERT1,1981-02-04#, '429 ',dp2011_654321,,,,CERT1,CERT1,CERT1,1981-02-04#,,' 429 430 'anna@sample.com,,,,,,,,,,,Anna,,,,,,,,,,,,,,,Line 1++Line 2,' 430 431 '"[\'english_language\', \'fine_art\']",' … … 442 443 [ 443 444 'aggregate','ignore_applicant_id','bank_account_name','bank_account_number', 444 'bank_name','course1','course2','course_admitted','date_of_birth','email', 445 'bank_name','course1','course2','course_admitted','date_of_birth', 446 'disabilities','email', 445 447 'emp2_end','emp2_position','emp2_reason','emp2_start','emp_end', 446 448 'emp_position','emp_reason','emp_start','employer','employer2', … … 472 474 [ 473 475 'aggregate','ignore_applicant_id','bank_account_name','bank_account_number', 474 'bank_name','course1','course2','course_admitted','date_of_birth','email', 476 'bank_name','course1','course2','course_admitted','date_of_birth', 477 'disabilities', 'email', 475 478 'emp2_end','emp2_position','emp2_reason','emp2_start','emp_end', 476 479 'emp_position','emp_reason','emp_start','employer','employer2',
Note: See TracChangeset for help on using the changeset viewer.