Changeset 15260
- Timestamp:
- 4 Dec 2018, 08:18:51 (6 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15233 r15260 90 90 self.redirect(self.url(self.context, '@@index')) 91 91 return 92 provider_amt = 2000.0 92 93 if contr_agreement_applicant(self.context.__parent__) == 'first': 93 94 self.product_id = PRODUCT_ID_PT 94 95 self.pay_item_id = '101' 95 96 self.mac = MAC_PT 96 provider_amt = 4000.097 97 else: 98 98 self.product_id = PRODUCT_ID_REGULAR 99 99 self.pay_item_id = '109' 100 100 self.mac = MAC_REGULAR 101 provider_amt = 1000.0102 101 if self.applicant.__parent__.prefix in ('trans', 'cert'): 103 provider_amt = 2000.0104 102 self.provider_bank_id = '10' 105 103 self.provider_acct = '0427773399' 106 104 elif self.applicant.applicant_id.startswith('bridge',): # easier to test 107 provider_amt = 2000.0108 105 self.institution_acct = '1014847058' 109 106 self.institution_bank_id = '7' -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py
r15224 r15260 78 78 in self.browser.contents) 79 79 self.assertTrue( 80 'item_name="WAeAC" item_amt=" 100000"'81 in self.browser.contents) 82 self.assertTrue( 83 'item_name="Application Fee" item_amt=" 875000" bank_id="117" acct_num="1010835352"'80 'item_name="WAeAC" item_amt="200000"' 81 in self.browser.contents) 82 self.assertTrue( 83 'item_name="Application Fee" item_amt="775000" bank_id="117" acct_num="1010835352"' 84 84 in self.browser.contents) 85 85 self.assertTrue( … … 109 109 in self.browser.contents) 110 110 self.assertTrue( 111 'item_name="WAeAC" item_amt=" 100000"'112 in self.browser.contents) 113 self.assertTrue( 114 'item_name="Application Fee" item_amt=" 675000" bank_id="117" acct_num="1010835352"'111 'item_name="WAeAC" item_amt="200000"' 112 in self.browser.contents) 113 self.assertTrue( 114 'item_name="Application Fee" item_amt="575000" bank_id="117" acct_num="1010835352"' 115 115 in self.browser.contents) 116 116 self.assertTrue( … … 143 143 in self.browser.contents) 144 144 self.assertTrue( 145 'item_name="WAeAC" item_amt=" 100000"'146 in self.browser.contents) 147 self.assertTrue( 148 'item_name="Application Fee" item_amt=" 875000" bank_id="117" acct_num="1010835352"'145 'item_name="WAeAC" item_amt="200000"' 146 in self.browser.contents) 147 self.assertTrue( 148 'item_name="Application Fee" item_amt="775000" bank_id="117" acct_num="1010835352"' 149 149 in self.browser.contents) 150 150 self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.