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

Add ref_number field.

File:
1 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)
Note: See TracChangeset for help on using the changeset viewer.