Changeset 16912 for main/waeup.fceokene


Ignore:
Timestamp:
7 Apr 2022, 08:04:13 (3 years ago)
Author:
Henrik Bettermann
Message:

Do not deduct provider amount from all Balance payments and from all 'clearance', 'hostel_maintenance' and 'third_semester' payments.

File:
1 edited

Legend:

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

    r15827 r16912  
    8181    def lineitems(self):
    8282        provider_amt = 1600.0
    83         if 'maintenance' in self.context.p_category or \
    84             self.context.p_category == 'clearance':
     83        if self.context.p_item == 'Balance' or self.context.p_category in (
     84            'clearance', 'hostel_maintenance', 'third_semester'):
    8585            provider_amt = 0.0
    8686        inst_amt = self.context.amount_auth - provider_amt
Note: See TracChangeset for help on using the changeset viewer.