Ignore:
Timestamp:
2 Apr 2016, 16:05:32 (9 years ago)
Author:
Henrik Bettermann
Message:

Allow to disable regular students acceptance fee payments. Not yet tested!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r13793 r13794  
    128128    def _isPaymentDisabled(self, p_session, category, student):
    129129        academic_session = self._getSessionConfiguration(p_session)
    130         if category == 'schoolfee' and \
     130        if category.startswith('schoolfee') and \
    131131            'sf_all' in academic_session.payment_disabled:
     132            return True
     133        if category.startswith('clearance') and \
     134            'cl_regular' in academic_session.payment_disabled and \
     135            student.current_mode in ('ug_ft', 'de_ft', 'mug_ft', 'mde_ft'):
    132136            return True
    133137        if category == 'hostel_maintenance' and \
Note: See TracChangeset for help on using the changeset viewer.