Changeset 16203


Ignore:
Timestamp:
18 Aug 2020, 08:47:20 (4 years ago)
Author:
Henrik Bettermann
Message:

Remove WAEAC charge from balance payments.

File:
1 edited

Legend:

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

    r16201 r16203  
    261261    def lineitems(self):
    262262        provider_amt = 1000.0
    263         if self.context.__parent__.applicant_id.startswith('pre'):
    264             provider_amt = 2000.0
    265         if self.context.__parent__.applicant_id.startswith('tsc'):
    266             provider_amt = 1200.0
    267         if self.context.__parent__.applicant_id.startswith('ase'):
    268             provider_amt = 500.0
     263        if not self.context.p_item == 'Balance':
     264            if self.context.__parent__.applicant_id.startswith('pre'):
     265                provider_amt = 2000.0
     266            if self.context.__parent__.applicant_id.startswith('tsc'):
     267                provider_amt = 1200.0
     268            if self.context.__parent__.applicant_id.startswith('ase'):
     269                provider_amt = 500.0
    269270        if self.context.__parent__.applicant_id.startswith('dp'):
    270271            inst_acct = "0040217361038"
Note: See TracChangeset for help on using the changeset viewer.