Changeset 17983
- Timestamp:
- 14 Jan 2025, 14:08:30 (17 hours ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r17734 r17983 250 250 self.certificate.study_mode = 'ug_ft' 251 251 error, payment = utils.setPaymentDetails('schoolfee',self.student) 252 self.assertEqual(payment.amount_auth, 96700)252 self.assertEqual(payment.amount_auth, 110000) 253 253 self.assertEqual(error, None) 254 254 # UG cleared students pay 87200 255 255 IWorkflowState(self.student).setState('cleared') 256 256 error, payment = utils.setPaymentDetails('schoolfee',self.student) 257 self.assertEqual(payment.amount_auth, 1 26200)257 self.assertEqual(payment.amount_auth, 140000) 258 258 self.assertEqual(error, None) 259 259 -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r17734 r17983 200 200 if category == 'schoolfee_ug_new': 201 201 # conditions checked above 202 amount = 63200202 amount = 80000 203 203 elif category == 'schoolfee_ug_ret': 204 204 # conditions checked above 205 amount = 48700205 amount = 60000 206 206 elif student.state == CLEARED: 207 amount = 1 26200207 amount = 140000 208 208 # Introducing repeater fee for 'ug_ft' for 1st time 209 209 # on 15/03/2016 … … 211 211 # amount = 96700 212 212 else: 213 amount = 96700 213 amount = 110000 214 214 215 # NCE 215 216 elif not student.current_mode.endswith('_sw'):
Note: See TracChangeset for help on using the changeset viewer.