Ignore:
Timestamp:
1 Apr 2019, 18:50:42 (6 years ago)
Author:
Henrik Bettermann
Message:

Configure bridge school fee split payment.

File:
1 edited

Legend:

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

    r15375 r15380  
    335335</item_details>
    336336</payment_item_detail>""" % xmldict
    337             else:
    338                 # Schoolfee without additional fees
     337
     338            elif student.current_mode == 'bridge':
     339                # Bridge school fee without any additional fee
     340                xmldict['institution_amt'] = 100 * (
     341                    gateway_net_amt(self.context.amount_auth)
     342                    - provider_amt)
     343                xmltext = """<payment_item_detail>
     344<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     345<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" />
     346<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" />
     347</item_details>
     348</payment_item_detail>""" % xmldict
     349            else:
     350                # Schoolfee without Student Union Fee ands Student Welfare Assurance
    339351                xmldict['institution_amt'] = 100 * (
    340352                    gateway_net_amt(self.context.amount_auth)
Note: See TracChangeset for help on using the changeset viewer.