Changeset 14968 for main/kofacustom.coewarri/trunk
- Timestamp:
- 15 Mar 2018, 15:32:40 (7 years ago)
- Location:
- main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py
r14943 r14968 62 62 63 63 """ 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 64 74 65 75 def setPaymentDetails(self, category, student, -
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/utils/utils.py
r14894 r14968 67 67 68 68 SELECTABLE_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES) 69 70 DISABLE_PAYMENT_GROUP_DICT = { 71 'sf_all': 'School Fee - All Students', 72 'degree': 'Degree Programme', 73 }
Note: See TracChangeset for help on using the changeset viewer.