Changeset 16948 for main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Timestamp:
- 5 May 2022, 15:29:08 (3 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16776 r16948 133 133 new_session = student['studycourse'].current_session + 1 134 134 return new_session, new_level 135 136 def _isPaymentDisabled(self, p_session, category, student): 137 academic_session = self._getSessionConfiguration(p_session) 138 if category == 'schoolfee': 139 if 'sf_all' in academic_session.payment_disabled: 140 return True 141 if 'sf_spat' in academic_session.payment_disabled and \ 142 student.faccode == 'SPAT': 143 return True 144 return False 135 145 136 146 def setPaymentDetails(self, category, student, -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py
r16563 r16948 23 23 """A collection of methods subject to customization. 24 24 """ 25 26 DISABLE_PAYMENT_GROUP_DICT = { 27 'sf_all': 'School Fee - All Students', 28 'sf_spat': 'School Fee - SPAT Students', 29 } 25 30 26 31 APP_CATS_DICT = {
Note: See TracChangeset for help on using the changeset viewer.