Ignore:
Timestamp:
1 Nov 2019, 11:04:53 (5 years ago)
Author:
Henrik Bettermann
Message:

Disable Combi Payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py

    r15729 r15732  
    123123                    amount = getattr(certificate, 'school_fee_2', 0.0)
    124124            if category == 'schoolfee40':
    125                 amount = (amount-GATEWAY_AMT)*0.4 + GATEWAY_AMT
     125                amount = 0.4*amount + 0.6*GATEWAY_AMT
    126126            elif category == 'secondinstal':
    127                 amount = (amount-GATEWAY_AMT)*0.6 + GATEWAY_AMT
     127                amount = 0.6*amount + 0.4*GATEWAY_AMT
    128128        elif category == 'clearance':
    129129            try:
Note: See TracChangeset for help on using the changeset viewer.