Changeset 12661
- Timestamp:
- 3 Mar 2015, 11:54:41 (10 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
r11919 r12661 81 81 self.pay_item_id = '8302' 82 82 if student.current_mode in ('nce_sw','prence',): 83 xmldict['institution_acct'] = "101 2044194"83 xmldict['institution_acct'] = "1013780934" 84 84 xmldict['institution_bank_id'] = '117' 85 85 elif student.current_mode in ('nce_ft',) and \ 86 86 student['studycourse'].current_verdict == 'O': 87 xmldict['institution_acct'] = "101 2044015"87 xmldict['institution_acct'] = "1013780934" 88 88 xmldict['institution_bank_id'] = '117' 89 89 elif student.current_mode in ('nce_ft',): 90 xmldict['institution_acct'] = "101 2044015"90 xmldict['institution_acct'] = "1013780934" 91 91 xmldict['institution_bank_id'] = '117' 92 92 elif student.current_mode in ('pd_ft',): 93 xmldict['institution_acct'] = "101 2415659"93 xmldict['institution_acct'] = "1013780934" 94 94 xmldict['institution_bank_id'] = '117' 95 95 #undergraduate schoolfee added … … 107 107 xmldict['institution_amt'] = 100 * ( 108 108 self.context.amount_auth - GATEWAY_AMT) 109 xmldict['institution_acct'] = "101 2044132"109 xmldict['institution_acct'] = "1013780934" 110 110 xmldict['institution_bank_id'] = '117' 111 111 elif self.context.p_category == 'clearance': … … 123 123 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 124 124 <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" /> 125 <item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)d" bank_id="117" acct_num="101 2044039" />125 <item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)d" bank_id="117" acct_num="1013780934" /> 126 126 <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" /> 127 127 </item_details> … … 168 168 xmldict['institution_bank_id'] = '8' 169 169 else: 170 xmldict['institution_acct'] = '101 2445289'170 xmldict['institution_acct'] = '1013780934' 171 171 xmldict['institution_bank_id'] = '117' 172 172 xmldict['institution_amt'] = 100 * (self.context.amount_auth - -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r12628 r12661 97 97 in self.browser.contents) 98 98 self.assertTrue( 99 'item_name="School Fee" item_amt="1182500" bank_id="117" acct_num="101 2044015"'100 in self.browser.contents) 101 self.assertTrue( 102 'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="101 2044039"'99 'item_name="School Fee" item_amt="1182500" bank_id="117" acct_num="1013780934"' 100 in self.browser.contents) 101 self.assertTrue( 102 'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1013780934"' 103 103 in self.browser.contents) 104 104 self.assertTrue( … … 121 121 in self.browser.contents) 122 122 self.assertTrue( 123 'item_name="NCE Third Semester Fee" item_amt="476300" bank_id="117" acct_num="101 2044015"'124 in self.browser.contents) 125 self.assertTrue( 126 'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="101 2044039"'123 'item_name="NCE Third Semester Fee" item_amt="476300" bank_id="117" acct_num="1013780934"' 124 in self.browser.contents) 125 self.assertTrue( 126 'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1013780934"' 127 127 in self.browser.contents) 128 128 self.assertTrue( … … 189 189 in self.browser.contents) 190 190 self.assertTrue( 191 'item_name="Hostel Maintenance Fee" item_amt="400000" bank_id="117" acct_num="101 2044132"'191 'item_name="Hostel Maintenance Fee" item_amt="400000" bank_id="117" acct_num="1013780934"' 192 192 in self.browser.contents) 193 193 # BT does nor charge a fee for maintenance fee … … 374 374 self.assertTrue( 375 375 '<item_detail item_id="1" item_name="application"' 376 ' item_amt="35000" bank_id="117" acct_num="101 2445289" />'376 ' item_amt="35000" bank_id="117" acct_num="1013780934" />' 377 377 in self.browser.contents) 378 378
Note: See TracChangeset for help on using the changeset viewer.