Changeset 13794


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!

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 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 \
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r13750 r13794  
    150150        'sf_all': 'School Fee - All Students',
    151151        'maint_all': 'Accommodation Fee - All Students',
     152        'cl_regular': 'Acceptance Fee - Regular Students',
    152153        }
Note: See TracChangeset for help on using the changeset viewer.