Changeset 13566 for main/waeup.uniben/trunk/src/waeup/uniben
- Timestamp:
- 5 Jan 2016, 08:18:50 (9 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r13522 r13566 135 135 return False 136 136 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 137 147 #def _hostelApplicationPaymentMade(self, student, session): 138 148 # if len(student['payments']): -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r13550 r13566 96 96 } 97 97 98 DISABLE_PAYMENT_GROUP_DICT = { 99 'sf_all': 'School Fee - All Students', 100 'maint_all': 'Accommodation Fee - All Students', 101 } 102 98 103 SEMESTER_DICT = { 99 104 1: '1st Semester',
Note: See TracChangeset for help on using the changeset viewer.