Ignore:
Timestamp:
26 Feb 2016, 06:18:02 (9 years ago)
Author:
Henrik Bettermann
Message:

Balance school fee payments must not be split.

File:
1 edited

Legend:

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

    r13644 r13732  
    236236            xmldict['joint_venture_amt'] = 100 * joint_venture_amt
    237237            xmldict['aaue_share_amt'] = 100 * aaue_share_amt
    238             if self.context.p_category in ('schoolfee_incl', 'schoolfee_1'):
     238            if self.context.p_item == 'Balance':
     239                xmldict['institution_amt'] = 100 * (
     240                    gateway_net_amt(self.context.amount_auth))
     241                xmltext = """<payment_item_detail>
     242<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     243<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" />
     244</item_details>
     245</payment_item_detail>""" % xmldict
     246            elif self.context.p_category in ('schoolfee_incl', 'schoolfee_1'):
    239247                # Schoolfee including additional fees
    240248                xmldict['student_union_due_amt'] = 100 * student_union_due_amt
Note: See TracChangeset for help on using the changeset viewer.