Changeset 16764 for main/kofacustom.dspg/trunk/src/kofacustom/dspg/students
- Timestamp:
- 31 Jan 2022, 10:09:15 (3 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_utils.py
r16762 r16764 110 110 self.assertEqual(payment.p_level, 200) 111 111 self.assertEqual(payment.p_session, 2005) 112 # 9999 + 5950 + 15000 4250113 self.assertEqual(payment.amount_auth, 35199.0)112 # 9999 + 15000 + 1200 113 self.assertEqual(payment.amount_auth, 26199.0) 114 114 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16762 r16764 31 31 32 32 def MICROSOFT_FEE(student): 33 if student. is_fresh:33 if student.state == CLEARED: 34 34 return 5950.0 35 35 return 0.0 … … 41 41 42 42 def TECH_FEE(student): 43 if student. is_fresh:43 if student.state == CLEARED: 44 44 return 4250.0 45 45 return 1200.0
Note: See TracChangeset for help on using the changeset viewer.