Ignore:
Timestamp:
8 Apr 2020, 10:48:10 (5 years ago)
Author:
Henrik Bettermann
Message:

Change headlines and add referee entry field.

File:
1 edited

Legend:

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

    r15884 r16049  
    3030from waeup.kofa.applicants.interfaces import (
    3131    contextual_reg_num_source, IApplicantBaseData)
     32from waeup.kofa.refereeentries import RefereeEntryField
    3233from kofacustom.nigeria.applicants.interfaces import (
    3334    LGASource, high_qual, high_grade, exam_types, DisabilitiesSource,
     
    325326        )
    326327
     328    nysc_number = schema.Int(
     329        title = _(u'Nysc Number'),
     330        required = False,
     331        readonly = False,
     332        )
     333
     334    referees = schema.List(
     335        title = _(u'Referees'),
     336        value_type = RefereeEntryField(),
     337        required = False,
     338        defaultFactory=list,
     339        )
     340
     341ICustomPGApplicant[
     342    'referees'].order =  INigeriaPGApplicant['emp2_reason'].order
    327343ICustomPGApplicant[
    328344    'sponsor'].order =  ICustomPGApplicant['lga'].order
     
    333349ICustomPGApplicant[
    334350    'lga'].order =  ICustomPGApplicant['nationality'].order
     351ICustomPGApplicant[
     352    'nysc_number'].order =  ICustomPGApplicant['nysc_year'].order
    335353
    336354class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant):
Note: See TracChangeset for help on using the changeset viewer.