Changeset 17081


Ignore:
Timestamp:
2 Sep 2022, 10:19:20 (2 years ago)
Author:
Henrik Bettermann
Message:

Fix split.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/interswitch
Files:
2 edited

Legend:

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

    r16951 r17081  
    420420                        gateway_net_amt(self.context.amount_auth)
    421421                        - provider_amt
    422                         - joint_venture_amt
    423                         - aaue_share_amt
    424422                        - student_union_due_amt
    425423                        - student_welfare_assurance_amt)
     
    431429<item_detail item_id="4" item_name="Student Welfare Assurance" item_amt="%(student_welfare_assurance_amt)d" bank_id="123" acct_num="1006407792" />""" % xmldict
    432430                    if contr_agreement_student(student) == 'second':
     431                        xmldict['institution_amt'] = 100 * (
     432                            gateway_net_amt(self.context.amount_auth)
     433                            - provider_amt
     434                            - joint_venture_amt
     435                            - aaue_share_amt
     436                            - student_union_due_amt
     437                            - student_welfare_assurance_amt)                   
    433438                        xmltext += """"
    434439<item_detail item_id="5" item_name="Joint Venture" item_amt="%(joint_venture_amt)d" bank_id="%(joint_venture_bank_id)s" acct_num="%(joint_venture_acct)s" />
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r17057 r17081  
    279279            in self.browser.contents)
    280280        self.assertTrue(
    281             'item_name="School Fee Plus" item_amt="4755000" bank_id="117" '
     281            'item_name="School Fee Plus" item_amt="5005000" bank_id="117" '
    282282            'acct_num="1010827641"' in self.browser.contents)
    283283
Note: See TracChangeset for help on using the changeset viewer.