Ignore:
Timestamp:
23 Sep 2018, 17:05:12 (6 years ago)
Author:
Henrik Bettermann
Message:

Deduct WAeAC charge (provider_amt) from acceptance fee payments.

File:
1 edited

Legend:

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

    r15135 r15168  
    320320        # Clearance
    321321        elif self.context.p_category.startswith('clearance'):
     322            provider_amt = 1500.0
     323            xmldict['provider_amt'] = 100 * provider_amt
    322324            if contr_agreement_student(student) == 'first':
    323325                # First agreement
     
    349351<item_detail item_id="2" item_name="Matriculation Gown Fee" item_amt="%(gown_fee_amt)d" bank_id="117" acct_num="1010827641" />
    350352<item_detail item_id="3" item_name="AAU File-Lapel Fee" item_amt="%(aaue_lf_fee_amt)d" bank_id="117" acct_num="1010827641" />
     353<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" />
    351354</item_details>
    352355</payment_item_detail>""" % xmldict
     
    356359                xmldict['institution_amt'] = 100 * (
    357360                    gateway_net_amt(self.context.amount_auth))
     361                xmltext = """<payment_item_detail>
     362<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     363<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" />
     364<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" />
     365</item_details>
     366</payment_item_detail>""" % xmldict
     367
    358368
    359369        # Union Dues
Note: See TracChangeset for help on using the changeset viewer.