Changeset 15321
- Timestamp:
- 4 Feb 2019, 19:21:17 (6 years ago)
- Location:
- main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py
r15211 r15321 77 77 provider_amt = 0.0 78 78 # Institution data 79 xmldict['institution_acct'] = '10 19684470'79 xmldict['institution_acct'] = '1020855036' 80 80 xmldict['institution_bank_id'] = '7' 81 81 xmldict['institution_item_name'] = self.context.category … … 86 86 elif self.context.p_category.startswith('schoolfee'): 87 87 self.pay_item_id = '103' 88 if self.context.p_category in ('schoolfee', 'schoolfee_1') \ 88 if self.context.p_category in ('schoolfee_1', 'schoolfee_2') \ 89 and not self.context.p_item == 'Balance': 90 provider_amt = 2000.0 91 if self.context.p_category == 'schoolfee' \ 89 92 and not self.context.p_item == 'Balance': 90 93 provider_amt = 4000.0 … … 141 144 xmldict = {} 142 145 provider_amt = 500.0 143 xmldict['institution_acct'] = '10 19684470'146 xmldict['institution_acct'] = '1020855036' 144 147 xmldict['institution_bank_id'] = '7' 145 148 xmldict['detail_ref'] = self.context.p_id -
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/tests.py
r14658 r15321 81 81 self.browser.contents) 82 82 self.assertMatches( 83 '...item_name="School Fee (total)" item_amt="7945000" bank_id="7" acct_num="10 19684470"...',83 '...item_name="School Fee (total)" item_amt="7945000" bank_id="7" acct_num="1020855036"...', 84 84 self.browser.contents) 85 85
Note: See TracChangeset for help on using the changeset viewer.