Changeset 16566
- Timestamp:
- 12 Aug 2021, 06:40:29 (3 years ago)
- 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
r16565 r16566 330 330 def dataNotComplete(self, data): 331 331 store = getUtility(IExtFileStore) 332 if self.context.subtype not in ('transfer', 'de') \ 332 if self.context.subtype \ 333 and self.context.subtype not in ('transfer', 'de') \ 333 334 and (not self.context.jamb_fname 334 335 or not self.context.jamb_reg_number): -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r16565 r16566 87 87 88 88 subtype_vocab = SimpleKofaVocabulary( 89 (_('None'), 'none'), 89 90 (_('UTME'), 'utme'), 90 91 (_('Direct Entry'), 'de'), … … 170 171 vocabulary = subtype_vocab, 171 172 required = False, 173 default = 'none', 172 174 ) 173 175 disabilities = schema.Choice( … … 693 695 title = _(u'Full Name'), 694 696 description = _(u'As it is written on your JAMB result slip.'), 695 required = False,697 required = True, 696 698 readonly = False, 697 699 ) … … 704 706 jamb_reg_number = schema.TextLine( 705 707 title = _(u'JAMB Registration Number'), 706 required = False,708 required = True, 707 709 constraint=validate_jamb_reg_number_2, # temporarily in 2021 708 710 description = _(u'Use all CAPS when entering the field.'),
Note: See TracChangeset for help on using the changeset viewer.