Ignore:
Timestamp:
22 Mar 2021, 10:11:09 (4 years ago)
Author:
Henrik Bettermann
Message:

Add Microsoft Fee to schoolfee.

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  
    110110        self.assertEqual(payment.p_level, 200)
    111111        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
    113113
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py

    r16416 r16421  
    2424from kofacustom.dspg.interfaces import MessageFactory as _
    2525
     26MICROSOFT_FEE = 7000.0
    2627
    2728def local(student):
     
    212213                        300, 310, 320, 330, 600, 610, 620, 630):
    213214                        amount -= 7000
     215                    amount += MICROSOFT_FEE
    214216                elif student.is_postgrad and student.state == PAID:
    215217                    # Returning postgraduate students also pay for the
Note: See TracChangeset for help on using the changeset viewer.