Ignore:
Timestamp:
17 Aug 2020, 14:37:00 (4 years ago)
Author:
Henrik Bettermann
Message:

Do it right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/batching.py

    r16200 r16202  
    424424            ticket = applicant[key]
    425425            if ticket.p_state == 'paid' and\
    426                 ticket.p_category == category and\
    427                 ticket.p_item != 'Balance':
     426                ticket.p_category == category:
    428427                return True
    429428        return False
     
    432431        applicant = self.getParent(row, site)
    433432        p_id = row['p_id'].strip('#')
    434         if self.samePaymentMade(applicant, obj.p_category):
     433        if obj.p_item != 'Balance' and self.samePaymentMade(
     434            applicant, obj.p_category):
    435435            applicant.__parent__.__parent__.logger.info(
    436436                '%s - %s - previous update cancelled'
Note: See TracChangeset for help on using the changeset viewer.