Ignore:
Timestamp:
5 Jan 2016, 08:18:50 (9 years ago)
Author:
Henrik Bettermann
Message:

Extend DISABLE_PAYMENT_GROUP_DICT.

File:
1 edited

Legend:

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

    r13522 r13566  
    135135        return False
    136136
     137    def _isPaymentDisabled(self, p_session, category, student):
     138        academic_session = self._getSessionConfiguration(p_session)
     139        if category == 'schoolfee' and \
     140            'sf_all' in academic_session.payment_disabled:
     141            return True
     142        if category == 'hostel_maintenance' and \
     143            'maint_all' in academic_session.payment_disabled:
     144            return True
     145        return False
     146
    137147    #def _hostelApplicationPaymentMade(self, student, session):
    138148    #    if len(student['payments']):
Note: See TracChangeset for help on using the changeset viewer.