Changeset 9630 for main/waeup.futminna/trunk/src/waeup/futminna/interswitch
- Timestamp:
- 13 Nov 2012, 13:03:01 (12 years ago)
- Location:
- main/waeup.futminna/trunk/src/waeup/futminna/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py
r9624 r9630 34 34 PRODUCT_ID = '117' 35 35 SITE_NAME = 'futminna-kofa.waeup.org' 36 PROVIDER_ACCT = '00 61001000021095'37 PROVIDER_BANK_ID = ' 89'36 PROVIDER_ACCT = '0026781725' 37 PROVIDER_BANK_ID = '31' 38 38 PROVIDER_ITEM_NAME = 'BT Education' 39 39 INSTITUTION_NAME = 'FUTMinna' … … 180 180 xmldict['department'] = None 181 181 xmldict['faculty'] = None 182 self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category] 182 self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[ 183 self.context.p_category] 183 184 tz = getUtility(IKofaUtils).tzinfo 184 185 self.local_date_time = to_timezone( … … 193 194 xmldict['provider_amt'] = 100 * provider_amt 194 195 195 # Institution data 196 # Institution data. Account numbers were changed to the new 197 # NUBAN 10 digit number system 196 198 xmldict['institution_acct'] = '' 197 199 xmldict['institution_bank_id'] = '' … … 231 233 xmldict['institution_bank_id'] = '00' 232 234 elif self.context.student.current_mode == 'pg_ft': 233 xmldict['institution_acct'] = "2 522040000134"235 xmldict['institution_acct'] = "2005910931" 234 236 xmldict['institution_bank_id'] = '8' 235 237 elif self.context.student.state == CLEARED and \ 236 238 self.context.student.current_level == 100: 237 xmldict['institution_acct'] = "00 30001000017110"238 xmldict['institution_bank_id'] = ' 89'239 xmldict['institution_acct'] = "0021030851" 240 xmldict['institution_bank_id'] = '31' 239 241 elif self.context.student.state == CLEARED and \ 240 242 self.context.student.current_level == 200: 241 xmldict['institution_acct'] = "0 591201005146"242 xmldict['institution_bank_id'] = ' 101'243 xmldict['institution_acct'] = "0005646299" 244 xmldict['institution_bank_id'] = '47' 243 245 elif self.context.student.state == CLEARED and \ 244 246 self.context.student.current_level == 300: 245 xmldict['institution_acct'] = " 6013803345"247 xmldict['institution_acct'] = "1010500151" 246 248 xmldict['institution_bank_id'] = '117' 247 249 elif self.context.student.state == RETURNING and \ 248 250 self.context.student.current_level in (100,110): 249 xmldict['institution_acct'] = "0 591201005146"250 xmldict['institution_bank_id'] = ' 101'251 xmldict['institution_acct'] = "0005646299" 252 xmldict['institution_bank_id'] = '47' 251 253 elif self.context.student.current_level in (200,210): 252 xmldict['institution_acct'] = " 6013803345"254 xmldict['institution_acct'] = "1010500151" 253 255 xmldict['institution_bank_id'] = '117' 254 256 elif self.context.student.current_level in (300,310): 255 xmldict['institution_acct'] = "2 522040000134"257 xmldict['institution_acct'] = "2005910931" 256 258 xmldict['institution_bank_id'] = '8' 257 #Change of acct from UBA to GTBank258 259 elif self.context.student.current_level in (400,410,500,510,600): 259 xmldict['institution_acct'] = " 3713516838111"260 xmldict['institution_acct'] = "0027490487" 260 261 xmldict['institution_bank_id'] = '10' 261 262 -
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py
r9432 r9630 75 75 self.browser.contents) 76 76 self.assertMatches( 77 '...item_name="School Fee" item_amt="12970000" bank_id=" 89" acct_num="0030001000017110"...',77 '...item_name="School Fee" item_amt="12970000" bank_id="31" acct_num="0021030851"...', 78 78 self.browser.contents) 79 79 self.assertMatches( 80 '...item_name="BT Education" item_amt="150000" bank_id=" 89" acct_num="0061001000021095"...',80 '...item_name="BT Education" item_amt="150000" bank_id="31" acct_num="0026781725"...', 81 81 self.browser.contents) 82 82
Note: See TracChangeset for help on using the changeset viewer.