Ignore:
Timestamp:
22 Aug 2016, 09:10:11 (8 years ago)
Author:
Henrik Bettermann
Message:

Add referee fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py

    r14020 r14106  
    3535from waeup.kofa.schema import FormattedDate, TextLineChoice, PhoneNumber
    3636from waeup.kofa.students.vocabularies import nats_vocab, GenderSource
     37from waeup.kofa.refereeentries import RefereeEntryField
    3738from waeup.kofa.applicants.interfaces import contextual_reg_num_source
    3839from kofacustom.nigeria.applicants.interfaces import (
     
    195196    """
    196197
     198    referees = schema.List(
     199        title = _(u'Referees'),
     200        value_type = RefereeEntryField(),
     201        required = False,
     202        defaultFactory=list,
     203        )
     204
     205ICustomPGApplicant[
     206    'referees'].order =  INigeriaPGApplicant['emp2_reason'].order
    197207
    198208class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant,
     
    240250    """
    241251
     252    referees = schema.List(
     253        title = _(u'Referees'),
     254        value_type = RefereeEntryField(),
     255        required = False,
     256        defaultFactory=list,
     257        )
     258
     259ICustomPGApplicantEdit[
     260    'referees'].order =  INigeriaPGApplicantEdit['emp2_reason'].order
    242261
    243262class ICustomApplicantOnlinePayment(INigeriaApplicantOnlinePayment):
Note: See TracChangeset for help on using the changeset viewer.