- Timestamp:
- 6 May 2015, 10:13:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r12904 r12907 24 24 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 25 25 from waeup.kofa.accesscodes import create_accesscode 26 from waeup.kofa.interfaces import CLEARED, RETURNING, ADMITTED, IKofaUtils 26 from waeup.kofa.interfaces import ( 27 CLEARED, RETURNING, ADMITTED, PAID, IKofaUtils) 27 28 from waeup.kofa.fees import FeeTable 28 29 from waeup.kofa.hostels.hostel import NOT_OCCUPIED … … 356 357 entry_mode = getattr( 357 358 student.get('studycourse', None), 'entry_mode', None) 359 if student.state not in (PAID, ): 360 return _('Wrong state.'), None 358 361 if None in (cert, entry_session, entry_mode): 359 362 return _('Matriculation number cannot be set.'), None
Note: See TracChangeset for help on using the changeset viewer.