Changeset 14223 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 24 Oct 2016, 06:41:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r14122 r14223 437 437 # Hostel Maintenance 438 438 elif self.context.p_category == 'hostel_maintenance': 439 provider_amt = 500.0 439 440 self.pay_item_id = '109' 441 xmldict['provider_amt'] = 100 * provider_amt 440 442 xmldict['institution_acct'] = '1006406795' 441 443 xmldict['institution_bank_id'] = '123' 442 444 xmldict['institution_amt'] = 100 * ( 443 gateway_net_amt(self.context.amount_auth)) 444 xmltext = """<payment_item_detail> 445 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 446 <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" /> 445 gateway_net_amt(self.context.amount_auth) - provider_amt) 446 xmltext = """<payment_item_detail> 447 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 448 <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" /> 449 <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" /> 447 450 </item_details> 448 451 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.