Ignore:
Timestamp:
12 Jan 2013, 07:01:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Take new balance payment into consideration.

File:
1 edited

Legend:

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

    r9796 r9869  
    9595        xmldict['institution_bank_id'] = '00'
    9696        xmldict['institution_amt'] = '0.0'
     97        provider_amt = 0.0
     98        self.pay_item_id = '0000'
    9799        if self.context.p_category == 'schoolfee':
    98             provider_amt = 1500.0
     100            if not self.context.p_item == 'Balance':
     101                provider_amt = 1500.0
    99102            if student.current_mode.endswith('_ft'):
    100103                self.pay_item_id = '5700'
     
    139142        elif self.context.p_category == 'gown':
    140143            self.pay_item_id = '5704'
    141             provider_amt = 0.0
    142144            xmldict['institution_bank_id'] = '7'
    143145            xmldict['institution_acct'] = '1016232382'
    144146        elif self.context.p_category.startswith('hostel_maintenance'):
    145147            self.pay_item_id = '5705'
    146             provider_amt = 0.0
    147148            xmldict['institution_bank_id'] = '129'
    148149            xmldict['institution_acct'] = '0014414547'
Note: See TracChangeset for help on using the changeset viewer.