Changeset 17963 for main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
- Timestamp:
- 26 Nov 2024, 02:34:19 (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r17916 r17963 74 74 PAYMENT_CATEGORIES = { 75 75 'schoolfee': 'School Fee', 76 'schoolfee_1': 'School Fee (1st instalment)', 77 'secondinstall':'School Fee (2nd instalment)', 76 78 'clearance': 'Acceptance Fee', 77 79 'bed_allocation': 'Bed Allocation Fee', … … 126 128 REPORTABLE_PAYMENT_CATEGORIES = { 127 129 'schoolfee': 'School Fee', 130 'schoolfee_1': 'School Fee (1st instalment)', 131 'secondinstall':'School Fee (2nd instalment)', 128 132 'clearance': 'Acceptance Fee', 129 133 'bed_allocation': 'Bed Allocation Fee', … … 133 137 134 138 def selectable_payment_categories(self, student): 135 return self.SELECTABLE_PAYMENT_CATEGORIES 139 spc = deepcopy(self.SELECTABLE_PAYMENT_CATEGORIES) 140 if student.is_jupeb: 141 spc[schoolfee_1] = 'School Fee (1st instalment)' 142 spc[secondinstal] = 'School Fee (2nd instalment)' 143 return spc 136 144 137 145 PREVIOUS_PAYMENT_CATEGORIES = deepcopy(SELECTABLE_PAYMENT_CATEGORIES) … … 147 155 'sf_return': 'School Fee - Returning', 148 156 'maint_all': 'Accomm. Fee - All', 149 'cl_all': 'Accept. Fee - All',157 'cl_all': 'Accept. Fee - All', 150 158 'cl_jupeb': 'Accept. Fee - JUPEB', 151 159 'cl_allexj': 'Accept. Fee - All except JUPEB',
Note: See TracChangeset for help on using the changeset viewer.