Ignore:
Timestamp:
6 Feb 2020, 10:48:21 (5 years ago)
Author:
Henrik Bettermann
Message:

Split combined sports and library fee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r15978 r15992  
    648648        #        gateway_net_amt(self.context.amount_auth))
    649649
    650         # Sports & Library Fee
     650        # Sports & Library Fee    temporarily in 2020
    651651        elif self.context.p_category == 'sports_library':
    652652            self.pay_item_id = '105'
    653             xmldict['institution_amt'] = 100 * (
    654                 gateway_net_amt(self.context.amount_auth))
    655 
     653            xmldict['sports_amt'] = 100 * 3000.0
     654            xmldict['library_amt'] = 100 * 1000.0
     655            xmltext = """<payment_item_detail>
     656<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     657<item_detail item_id="1" item_name="Sports Development Fee" item_amt="%(sports_amt)d" bank_id="123" acct_num="1006407792" />
     658<item_detail item_id="2" item_name="Library Development Fee" item_amt="%(library_amt)d" bank_id="8" acct_num="2000122995" />
     659</item_details>
     660</payment_item_detail>""" % xmldict
    656661
    657662        # Late Registration Fee
Note: See TracChangeset for help on using the changeset viewer.