Changeset 17069 for main/waeup.fceokene
- Timestamp:
- 18 Aug 2022, 06:02:26 (2 years 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
r16899 r17069 247 247 self.assertEqual(error, None) 248 248 249 # UG returning students pay 56150249 # UG returning students pay 70700 250 250 self.certificate.study_mode = 'ug_ft' 251 251 error, payment = utils.setPaymentDetails('schoolfee',self.student) 252 self.assertEqual(payment.amount_auth, 56150)253 self.assertEqual(error, None) 254 # UG cleared students pay 65650252 self.assertEqual(payment.amount_auth, 70700) 253 self.assertEqual(error, None) 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, 65650)257 self.assertEqual(payment.amount_auth, 87200) 258 258 self.assertEqual(error, None) 259 259 -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r16921 r17069 179 179 elif student.current_mode == 'ug_ft': 180 180 if student.state == CLEARED: 181 amount = 65650181 amount = 87200 182 182 # Introducing repeater fee for 'ug_ft' for 1st time 183 183 # on 15/03/2016 184 184 elif student.current_verdict == 'O': 185 amount = 56150185 amount = 70700 186 186 else: 187 amount = 56150187 amount = 70700 188 188 # NCE 189 189 elif not student.current_mode.endswith('_sw'):
Note: See TracChangeset for help on using the changeset viewer.