~therp-nl/junk/account_banking_lp801107

« back to all changes in this revision

Viewing changes to account_banking_nl_girotel/girotel.py

  • Committer: Pieter J. Kersten
  • Date: 2011-04-21 19:03:58 UTC
  • Revision ID: p.j.kersten@edusense.nl-20110421190358-mak27onxq3ruvl9i
[FIX] account_banking_nl_girotel: interest is transferred as reversed VZ

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
        Parse the message as sent by the bank. Most messages are composed
193
193
        of chunks of 32 characters, but there are exceptions.
194
194
        '''
 
195
        if self.transfer_type == 'VZ':
 
196
            # Credit bank costs (interest) gets a special treatment.
 
197
            if self.remote_owner.starswith('RC AFREK.  REK. '):
 
198
                self.transfer_type = 'DV'
 
199
 
195
200
        if self.transfer_type == 'DV':
196
201
            # Bank costs.
197
202
            # Title of action is in remote_owner, message contains additional