Changeset 13594 for main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
- Timestamp:
- 11 Jan 2016, 13:45:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r13571 r13594 20 20 from zope.component import createObject 21 21 from waeup.kofa.interfaces import ( 22 ADMITTED, CLEARED, RETURNING, PAID, academic_sessions_vocab) 22 ADMITTED, CLEARANCE, REQUESTED, CLEARED, RETURNING, PAID, 23 academic_sessions_vocab) 23 24 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 24 25 from waeup.kofa.accesscodes import create_accesscode … … 154 155 amount = academic_session.concessional_fee 155 156 elif category.startswith('clearance'): 157 if student.state not in (ADMITTED, CLEARANCE, REQUESTED, CLEARED): 158 return _(u'Acceptance Fee payments not allowed.'), None 156 159 if student.faccode == 'FP': 157 160 amount = academic_session.clearance_fee_fp
Note: See TracChangeset for help on using the changeset viewer.