Changeset 15179 for main/kofacustom.dspg


Ignore:
Timestamp:
28 Sep 2018, 05:14:53 (6 years ago)
Author:
Henrik Bettermann
Message:

Change bank account.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch
Files:
2 edited

Legend:

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

    r15098 r15179  
    150150                xmldict['institution_acct'] = '1012808851'
    151151                xmldict['institution_bank_id'] = '117'
    152             elif student.current_mode == 'nd_ft':
    153                 xmldict['institution_acct'] = '2004402644'
    154                 xmldict['institution_bank_id'] = '8'
     152            elif student.current_mode in ('nd_ft', 'hnd_ft'):
     153                xmldict['institution_acct'] = '5210039869'
     154                xmldict['institution_bank_id'] = '51'
    155155        elif self.context.p_category == 'gown':
    156156            self.pay_item_id = '102' # We use school fee item id.
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py

    r15098 r15179  
    113113            self.browser.contents)
    114114        self.assertTrue(
    115             'item_name="Acceptance" item_amt="1159500" bank_id="8" acct_num="2004402644"' in
     115            'item_name="Acceptance" item_amt="1159500" bank_id="51" acct_num="5210039869"' in
    116116            self.browser.contents)
    117117
Note: See TracChangeset for help on using the changeset viewer.