Ignore:
Timestamp:
9 Oct 2020, 07:07:15 (4 years ago)
Author:
Henrik Bettermann
Message:

Add sponsor field to student base data.

File:
1 edited

Legend:

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

    r16142 r16273  
    3636    grok.provides(ICustomApplicant)
    3737
     38    applicant_student_mapping = NigeriaApplicant.applicant_student_mapping + [
     39        ('lga', 'lga'),
     40        ('nationality', 'nationality'),
     41        ('fst_sit_fname', 'fst_sit_fname'),
     42        ('fst_sit_no', 'fst_sit_no'),
     43        ('fst_sit_date', 'fst_sit_date'),
     44        ('fst_sit_type', 'fst_sit_type'),
     45        ('fst_sit_results', 'fst_sit_results'),
     46        ('scd_sit_fname', 'scd_sit_fname'),
     47        ('scd_sit_no', 'scd_sit_no'),
     48        ('scd_sit_date', 'scd_sit_date'),
     49        ('scd_sit_type', 'scd_sit_type'),
     50        ('scd_sit_results', 'scd_sit_results'),
     51        ('hq_type', 'hq_type'),
     52        ('hq_fname', 'hq_fname'),
     53        ('hq_matric_no', 'hq_matric_no'),
     54        ('hq_degree', 'hq_degree'),
     55        ('hq_school', 'hq_school'),
     56        ('hq_session', 'hq_session'),
     57        ('hq_disc', 'hq_disc'),
     58        # added
     59        ('sponsor', 'sponsor'),
     60        ]
     61
    3862CustomApplicant = attrs_to_fields(CustomApplicant)
    3963
Note: See TracChangeset for help on using the changeset viewer.