Ignore:
Timestamp:
15 Mar 2018, 15:32:40 (7 years ago)
Author:
Henrik Bettermann
Message:

Allow to disable degree programme school fee payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py

    r14943 r14968  
    6262
    6363    """
     64
     65    def _isPaymentDisabled(self, p_session, category, student):
     66        academic_session = self._getSessionConfiguration(p_session)
     67        if category == 'schoolfee':
     68            if 'sf_all' in academic_session.payment_disabled:
     69                return True
     70            if student.current_mode == 'ug_ft' and \
     71                'degree' in academic_session.payment_disabled:
     72                return True
     73        return False
    6474
    6575    def setPaymentDetails(self, category, student,
Note: See TracChangeset for help on using the changeset viewer.