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/students/interfaces.py

    r16272 r16273  
    3030    )
    3131from kofacustom.iuokada.payments.interfaces import ICustomOnlinePayment
     32from kofacustom.iuokada.applicants.interfaces import sponsors_vocab
    3233from kofacustom.iuokada.interfaces import MessageFactory as _
    3334
     
    4647        title = _(u'Library Id Card'),
    4748        default = False,
     49        required = False,
     50        )
     51    sponsor = schema.Choice(
     52        title = _(u'Sponsor'),
     53        vocabulary = sponsors_vocab,
    4854        required = False,
    4955        )
Note: See TracChangeset for help on using the changeset viewer.