Changeset 15375
- Timestamp:
- 1 Apr 2019, 08:32:38 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15374 r15375 372 372 self.pay_item_id = '120' 373 373 374 if student.current_mode == 'bridge':375 # Clearance without any surcharge376 xmldict['institution_amt'] = 100 * gateway_net_amt(377 self.context.amount_auth)378 xmltext = """<payment_item_detail>379 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">380 <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" />381 </item_details>382 </payment_item_detail>""" % xmldict383 384 374 if self.context.p_category.endswith('_incl'): 385 375 # Clearance including additional fees … … 399 389 <item_detail item_id="3" item_name="AAU File-Lapel Fee" item_amt="%(aaue_lf_fee_amt)d" bank_id="117" acct_num="1010827641" /> 400 390 <item_detail item_id="4" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 391 </item_details> 392 </payment_item_detail>""" % xmldict 393 394 elif student.current_mode == 'bridge': 395 # Clearance without any surcharge 396 xmldict['institution_amt'] = 100 * gateway_net_amt( 397 self.context.amount_auth) 398 xmltext = """<payment_item_detail> 399 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 400 <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" /> 401 401 </item_details> 402 402 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.