Changeset 16421 for main/kofacustom.dspg/trunk/src/kofacustom/dspg/students
- Timestamp:
- 22 Mar 2021, 10:11:09 (4 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
r16338 r16421 110 110 self.assertEqual(payment.p_level, 200) 111 111 self.assertEqual(payment.p_session, 2005) 112 self.assertEqual(payment.amount_auth, 9999.0)112 self.assertEqual(payment.amount_auth, 16999.0) # now includes Microsoft Fee 113 113 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16416 r16421 24 24 from kofacustom.dspg.interfaces import MessageFactory as _ 25 25 26 MICROSOFT_FEE = 7000.0 26 27 27 28 def local(student): … … 212 213 300, 310, 320, 330, 600, 610, 620, 630): 213 214 amount -= 7000 215 amount += MICROSOFT_FEE 214 216 elif student.is_postgrad and student.state == PAID: 215 217 # Returning postgraduate students also pay for the
Note: See TracChangeset for help on using the changeset viewer.