Ignore:
Timestamp:
9 Jul 2023, 08:45:18 (18 months ago)
Author:
Henrik Bettermann
Message:

Overwrite bank account selection.

File:
1 edited

Legend:

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

    r16706 r17474  
    133133            xmldict['institution_acct'] = '0040484781'
    134134            xmldict['institution_bank_id'] = '31'
     135
     136        # Overwrite above selection
     137
     138        if self.context.p_category == 'book':
     139            xmldict['institution_acct'] = '1228744877'
     140            xmldict['institution_bank_id'] = '117'
     141        elif self.context.p_category == 'parentsconsult':
     142            xmldict['institution_acct'] = '1228747029'
     143            xmldict['institution_bank_id'] = '117'
     144        elif self.context.p_category == 'health_insurance':
     145            xmldict['institution_acct'] = '1228747029'
     146            xmldict['institution_bank_id'] = '117'
    135147
    136148        if provider_amt == 0:
Note: See TracChangeset for help on using the changeset viewer.