- Timestamp:
- 1 Oct 2023, 20:32:58 (15 months ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
r17506 r17599 89 89 if self.context.p_category == 'clearance': 90 90 provider_amt = 500.0 91 xmldict['institution_acct'] = '1216063205' 92 if student.faccode in ('PRE', 'JUPEB'): 93 xmldict['institution_acct'] = '1011431799' 94 if student.current_mode.startswith('dp'): 95 xmldict['institution_acct'] = '1011431799' 96 if student.faccode == 'IJMB': 97 xmldict['institution_acct'] = '0093658062' 91 if student.current_mode in ('ug_ft', 'de_ft'): 92 xmldict['institution_acct'] = '1216063205' 93 tech_fee = 18000.0 94 xmldict['tech_acct'] = '0092304647' 95 xmldict['tech_bank_id'] = '121' 98 96 elif self.context.p_category == 'schoolfee': 99 97 provider_amt = 2800.0 100 98 tech_fee = 1200.0 101 99 xmldict['institution_acct'] = '1011739172' 100 xmldict['tech_acct'] = '0213065415' 101 xmldict['tech_bank_id'] = '47' 102 102 if student.faccode in ('PRE', 'JUPEB'): 103 103 xmldict['institution_acct'] = '2001627961' … … 152 152 <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" /> 153 153 <item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 154 <item_detail item_id="3" item_name="Technology Fee" item_amt="%(tech_fee)d" bank_id=" 47" acct_num="0213065415"/>154 <item_detail item_id="3" item_name="Technology Fee" item_amt="%(tech_fee)d" bank_id="%(tech_bank_id)s" acct_num="%(tech_acct)s"/> 155 155 </item_details> 156 156 </payment_item_detail>""" % xmldict -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py
r16869 r17599 101 101 self.assertEqual(self.student.current_mode, 'ug_ft') 102 102 self.assertMatches( 103 '...<input type="hidden" name="amount" value="1 15000" />...',103 '...<input type="hidden" name="amount" value="1975000" />...', 104 104 self.browser.contents) 105 105 delta = timedelta(days=8)
Note: See TracChangeset for help on using the changeset viewer.