Changeset 13290


Ignore:
Timestamp:
7 Oct 2015, 09:13:57 (9 years ago)
Author:
Henrik Bettermann
Message:

Add hq fullname field.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/applicant.py

    r11616 r13290  
    3232    grok.provides(INigeriaApplicant)
    3333
    34     # Meanwhile perm_address has been removed but the attribute still exists in
    35     # some applicant objects. So we'll leave it until all 2012 students
    36     # have been created.
    3734    applicant_student_mapping = Applicant.applicant_student_mapping + [
    3835        ('lga', 'lga'),
    3936        ('nationality', 'nationality'),
    40         ('perm_address', 'perm_address'),
     37        #('perm_address', 'perm_address'),
    4138        ]
    4239
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py

    r13277 r13290  
    347347        vocabulary = high_qual,
    348348        )
     349    hq_fname = schema.TextLine(
     350        title = _(u'Full Name'),
     351        required = False,
     352        readonly = False,
     353        )
    349354    hq_matric_no = schema.TextLine(
    350355        title = _(u'Former Matric Number'),
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/tests/test_browser.py

    r13163 r13290  
    438438            'employer2,firstname,fst_sit_date,fst_sit_fname,fst_sit_no,'
    439439            'fst_sit_results,fst_sit_type,history,hq_degree,hq_disc,'
     440            'hq_fname,'
    440441            'hq_matric_no,hq_school,hq_session,hq_type,jamb_reg_number,'
    441442            'jamb_score,jamb_subjects,jamb_subjects_list,'
     
    450451            'Anna M. Tester,anna@sample.com,,,,,,,,,,,Anna,,,,,,'
    451452            '[u\'2015-07-06 11:21:22 WAT - Application initialized by system\']'
    452             ',,,,,,,,,Line 1++Line 2,"[\'english_language\', \'fine_art\']",'
     453            ',,,,,,,,,,Line 1++Line 2,"[\'english_language\', \'fine_art\']",'
    453454            'Tester,,0,M.,NG,"Some notice\nin lines.",,,'
    454455            'any password,+234-123-12345#,,123456,,,,,,,'
     
    467468            'employer2','firstname','fst_sit_date','fst_sit_fname','fst_sit_no',
    468469            'fst_sit_results','fst_sit_type','history','hq_degree','hq_disc',
     470            'hq_fname',
    469471            'hq_matric_no','hq_school','hq_session','hq_type','jamb_reg_number',
    470472            'jamb_score','jamb_subjects','jamb_subjects_list',
     
    495497            'employer2','firstname','fst_sit_date','fst_sit_fname','fst_sit_no',
    496498            'fst_sit_results','fst_sit_type','history','hq_degree','hq_disc',
     499            'hq_fname',
    497500            'hq_matric_no','hq_school','hq_session','hq_type','jamb_reg_number',
    498501            'jamb_score','jamb_subjects','jamb_subjects_list',
Note: See TracChangeset for help on using the changeset viewer.