Changeset 14235


Ignore:
Timestamp:
27 Oct 2016, 15:14:20 (8 years ago)
Author:
Henrik Bettermann
Message:

Configure 2 different accounts for joint venture and aaue share amounts.

File:
1 edited

Legend:

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

    r14234 r14235  
    244244                xmldict['student_union_bank_id'] = '31'
    245245                xmldict['student_union_acct'] = '0051005007'
     246                xmldict['aaue_share_bank_id'] = '51'
     247                xmldict['aaue_share_acct'] = '5060020947'
     248                xmldict['joint_venture_bank_id'] = '51'
     249                xmldict['joint_venture_acct'] = '5060023759'
    246250                if student.current_mode == 'found':
    247251                    self.pay_item_id = '103'
     
    261265                xmldict['student_union_bank_id'] = '123'
    262266                xmldict['student_union_acct'] = '1006360118'
     267                xmldict['aaue_share_bank_id'] = '11'
     268                xmldict['aaue_share_acct'] = '0030656377'
     269                xmldict['joint_venture_bank_id'] = '117'
     270                xmldict['joint_venture_acct'] = '1014573025'
    263271                self.pay_item_id = '107'
    264272                if student.is_postgrad:
     
    293301<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" />
    294302<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" />
    295 <item_detail item_id="3" item_name="Joint Venture" item_amt="%(joint_venture_amt)d" bank_id="117" acct_num="1014573025" />
    296 <item_detail item_id="4" item_name="AAUE Share" item_amt="%(aaue_share_amt)d" bank_id="11" acct_num="0030656377" />
     303<item_detail item_id="3" item_name="Joint Venture" item_amt="%(joint_venture_amt)d" bank_id="%(joint_venture_bank_id)s" acct_num="%(joint_venture_acct)s" />
     304<item_detail item_id="4" item_name="AAUE Share" item_amt="%(aaue_share_amt)d" bank_id="%(aaue_share_bank_id)s" acct_num="%(aaue_share_acct)s" />
    297305<item_detail item_id="5" item_name="Student Union" item_amt="%(student_union_due_amt)d" bank_id="%(student_union_bank_id)s" acct_num="%(student_union_acct)s" />
    298306<item_detail item_id="6" item_name="Student Welfare Assurance" item_amt="%(student_welfare_assurance_amt)d" bank_id="123" acct_num="1006407792" />
     
    310318<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" />
    311319<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" />
    312 <item_detail item_id="3" item_name="Joint Venture" item_amt="%(joint_venture_amt)d" bank_id="117" acct_num="1014573025" />
    313 <item_detail item_id="4" item_name="AAUE Share" item_amt="%(aaue_share_amt)d" bank_id="11" acct_num="0030656377" />
     320<item_detail item_id="3" item_name="Joint Venture" item_amt="%(joint_venture_amt)d" bank_id="%(joint_venture_bank_id)s" acct_num="%(joint_venture_acct)s" />
     321<item_detail item_id="4" item_name="AAUE Share" item_amt="%(aaue_share_amt)d" bank_id="%(aaue_share_bank_id)s" acct_num="%(aaue_share_acct)s" />
    314322</item_details>
    315323</payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.