- Timestamp:
- 18 May 2020, 11:56:47 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r15937 r16091 20 20 from zope.component import createObject, getUtility 21 21 from waeup.kofa.interfaces import (IKofaUtils, 22 ADMITTED, CLEARANCE, CLEARED, RETURNING, PAID, REGISTERED, VALIDATED) 22 ADMITTED, CLEARANCE, REQUESTED, CLEARED, RETURNING, PAID, 23 REGISTERED, VALIDATED) 23 24 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 24 25 from kofacustom.iuokada.interfaces import MessageFactory as _ … … 107 108 amount = 0.6 * getattr(certificate, 'school_fee_2', 0.0) 108 109 else: 109 if student.state == CLEARED:110 if student.state in (CLEARANCE, REQUESTED, CLEARED): 110 111 amount = getattr(certificate, 'school_fee_1', 0.0) 111 112 elif student.state == RETURNING:
Note: See TracChangeset for help on using the changeset viewer.