Ignore:
Timestamp:
13 Jun 2022, 10:47:28 (3 years ago)
Author:
Henrik Bettermann
Message:

Add ref_number field.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants
Files:
2 edited

Legend:

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

    r16648 r16958  
    335335                 or not self.context.jamb_reg_number):
    336336            return _('JAMB fields must be filled.')
     337        if self.context.subtype in ('transfer', 'de') \
     338            and not self.context.ref_number:
     339            return _('Reference Number field must be filled.')
    337340        if self.context.__parent__.with_picture:
    338341            store = getUtility(IExtFileStore)
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py

    r16957 r16958  
    179179        required = False,
    180180        )
     181   
     182    ref_number = schema.TextLine(
     183        title = _(u'Reference Number'),
     184        required = False,
     185        readonly = False,
     186        description = _(u'Reference Number from JAMB Inter-University transfer form (if applicable)'),
     187        )
    181188    disabilities = schema.Choice(
    182189        title = _(u'Disability'),
Note: See TracChangeset for help on using the changeset viewer.