Changeset 15603 for main/kofacustom.dspg


Ignore:
Timestamp:
22 Sep 2019, 08:55:30 (5 years ago)
Author:
Henrik Bettermann
Message:

Fix hndgrad and ndgrad split payment configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py

    r15577 r15603  
    427427</payment_item_detail>""" % xmldict
    428428
    429         if self.context.p_category == 'hndgrad':
    430             self.pay_item_id = '153'
     429        if self.context.p_category == 'ndgrad':
     430            self.pay_item_id = '152'
    431431            # amount_auth is being ignored. However, the sum of all split payments
    432432            # must coincide with the amount_auth configured in students/utils.py
     
    444444</payment_item_detail>""" % xmldict
    445445
    446         if self.context.p_category == 'ndgrad':
    447             self.pay_item_id = '152'
    448             # amount_auth is being ignored. However, the sum of all split payments
    449             # must coincide with the amount_auth configured in students/utils.py
    450             xmldict['amt1'] = 100 * 3000
     446        if self.context.p_category == 'hndgrad':
     447            self.pay_item_id = '153'
     448            # amount_auth is being ignored. However, the sum of all split payments
     449            # must coincide with the amount_auth configured in students/utils.py
     450            xmldict['amt1'] = 100 * 5000
    451451            xmldict['amt2'] = 100 * 7500
    452452            xmldict['amt3'] = 100 * 1000
Note: See TracChangeset for help on using the changeset viewer.