Ignore:
Timestamp:
15 Feb 2021, 13:16:44 (4 years ago)
Author:
Henrik Bettermann
Message:

Add JUPEB fee categories.

File:
1 edited

Legend:

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

    r16270 r16395  
    118118            self.pay_item_id = '102'
    119119        if self.context.p_category in (
    120             'registration', 'required_combi', 'pg_other'):
     120            'registration', 'required_combi', 'pg_other', 'jupeb_reg'):
    121121            provider_amt = 5000.0
    122122        if self.context.p_category in (
    123123            'schoolfee', 'schoolfee40') and student.is_jupeb:
    124124            provider_amt = 5000.0
     125        if self.context.p_category.startswith('jupeb'):
     126            xmldict['institution_acct'] = '0787077169'
     127            xmldict['institution_bank_id'] = '31'
     128            self.pay_item_id = '102'
    125129        xmldict['provider_amt'] = 100 * provider_amt
    126130        xmldict['institution_item_name'] = self.context.category
Note: See TracChangeset for help on using the changeset viewer.