Ignore:
Timestamp:
7 Feb 2016, 07:32:25 (9 years ago)
Author:
Henrik Bettermann
Message:

Carryover payments must not trigger workflow transitions.

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

Legend:

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

    r13591 r13653  
    125125        xmldict['institution_acct'] = "0106259811"
    126126        xmldict['institution_bank_id'] = "10"
    127         if self.context.p_category == 'schoolfee':
     127        if self.context.p_category == 'schoolfee' \
     128            or self.context.p_category.startswith('carryover'):
    128129            self.pay_item_id = '101'
    129130            dalash_amt = 1800.0
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r13461 r13653  
    248248            self.browser.contents)
    249249        self.assertTrue(
    250             'item_name="School Fee" item_amt="270000" bank_id="10" acct_num="0106259811"' in
     250            'item_name="One Carry-Over" item_amt="270000" bank_id="10" acct_num="0106259811"' in
    251251            self.browser.contents)
    252252        self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.