Changeset 17598
- Timestamp:
- 29 Sep 2023, 09:55:41 (15 months ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17373 r17598 44 44 ticket.p_category == 'clearance': 45 45 return True 46 return False 47 48 def _isPaymentDisabled(self, p_session, category, student): 49 academic_session = self._getSessionConfiguration(p_session) 50 if category == 'schoolfee': 51 if 'sf_all' in academic_session.payment_disabled: 52 return True 53 if student.current_mode == 'ug_ft' and \ 54 'sf_ugft' in academic_session.payment_disabled: 55 return True 46 56 return False 47 57 -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py
r17554 r17598 53 53 PREVIOUS_PAYMENT_CATEGORIES = deepcopy(SELECTABLE_PAYMENT_CATEGORIES) 54 54 55 DISABLE_PAYMENT_GROUP_DICT = { 56 'sf_all': 'School Fee - All', 57 'sf_ugft': 'School Fee - Undergraduate Full-Time', 58 } 59 55 60 COURSE_CATEGORY_DICT = { 56 61 'C':'Core Course (C)',
Note: See TracChangeset for help on using the changeset viewer.