- Timestamp:
- 9 Oct 2020, 07:07:15 (4 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/applicant.py
r16142 r16273 36 36 grok.provides(ICustomApplicant) 37 37 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 38 62 CustomApplicant = attrs_to_fields(CustomApplicant) 39 63 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/interfaces.py
r16272 r16273 30 30 ) 31 31 from kofacustom.iuokada.payments.interfaces import ICustomOnlinePayment 32 from kofacustom.iuokada.applicants.interfaces import sponsors_vocab 32 33 from kofacustom.iuokada.interfaces import MessageFactory as _ 33 34 … … 46 47 title = _(u'Library Id Card'), 47 48 default = False, 49 required = False, 50 ) 51 sponsor = schema.Choice( 52 title = _(u'Sponsor'), 53 vocabulary = sponsors_vocab, 48 54 required = False, 49 55 )
Note: See TracChangeset for help on using the changeset viewer.