Changeset 9951 for main/waeup.fceokene
- Timestamp:
- 15 Feb 2013, 08:03:44 (12 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
r9943 r9951 102 102 self.pay_item_id = '8302' 103 103 if student.current_mode in ('nce_sw','prence',): 104 xmldict['institution_acct'] = " 6216801025"104 xmldict['institution_acct'] = "1012044194" 105 105 xmldict['institution_bank_id'] = '117' 106 106 elif student.current_mode in ('nce_ft',) and \ 107 107 student['studycourse'].current_verdict == 'O': 108 xmldict['institution_acct'] = " 6216801025"108 xmldict['institution_acct'] = "1012044015" 109 109 xmldict['institution_bank_id'] = '117' 110 110 elif student.current_mode in ('nce_ft',): 111 xmldict['institution_acct'] = " 6216801033"111 xmldict['institution_acct'] = "1012044015" 112 112 xmldict['institution_bank_id'] = '117' 113 113 elif student.current_mode in ('pd_ft',): 114 xmldict['institution_acct'] = " 6216801025"114 xmldict['institution_acct'] = "1012415659" 115 115 xmldict['institution_bank_id'] = '117' 116 116 xmldict['fceokene_split'] = 100 * fceokene_split_amt … … 132 132 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 133 133 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" /> 134 <item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)d" bank_id="117" acct_num=" 6216801058" />134 <item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)d" bank_id="117" acct_num="1012044039" /> 135 135 <item_detail item_id="3" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 136 136 </item_details> … … 195 195 xmldict['institution_amt'] = 100 * (self.context.amount_auth - 196 196 provider_amt - GATEWAY_AMT) 197 xmldict['institution_acct'] = '1012 445289'197 xmldict['institution_acct'] = '10120445289' 198 198 xmldict['institution_bank_id'] = '117' 199 199 xmldict['institution_item_name'] = self.context.p_category -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r9943 r9951 97 97 self.browser.contents) 98 98 self.assertMatches( 99 '...item_name="School Fee" item_amt="934800" bank_id="117" acct_num=" 6216801033"...',100 self.browser.contents) 101 self.assertMatches( 102 '...item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num=" 6216801058"...',99 '...item_name="School Fee" item_amt="934800" bank_id="117" acct_num="1012044015"...', 100 self.browser.contents) 101 self.assertMatches( 102 '...item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1012044039"...', 103 103 self.browser.contents) 104 104 self.assertMatches(
Note: See TracChangeset for help on using the changeset viewer.