Changeset 15732


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

Disable Combi Payments.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
Files:
2 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:
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py

    r15728 r15732  
    8080        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
    8181        'pharmlab': 'Pharmacy Lab Support Fee',
    82         'combi': 'Combi Payment',
     82        #'combi': 'Combi Payment',
    8383        }
    8484
Note: See TracChangeset for help on using the changeset viewer.