- Timestamp:
- 16 Oct 2024, 12:21:57 (2 months ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py
r17727 r17943 123 123 IWorkflowState(self.student).setState('admitted') 124 124 error, payment = utils.setPaymentDetails('schoolfee',self.student) 125 self.assertEqual(error, u' Amount could not be determined.')125 self.assertEqual(error, u'Please proceed for clearance before paying school fees.') -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py
r17727 r17943 20 20 from zope.component import createObject, getUtility 21 21 from waeup.kofa.interfaces import (IKofaUtils, 22 CLEARED, RETURNING, PAID, REGISTERED, VALIDATED)22 ADMITTED, CLEARED, RETURNING, PAID, REGISTERED, VALIDATED) 23 23 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 24 24 from kofacustom.edopoly.interfaces import MessageFactory as _ … … 196 196 u'Session configuration object is not available.' 197 197 ), None 198 elif student.state == ADMITTED: 199 return _( 200 u'Please proceed for clearance before paying school fees.' 201 ), None 198 202 rpm, rpt = self._requiredPaymentsMade(student, p_session) 199 203 if not rpm:
Note: See TracChangeset for help on using the changeset viewer.