Changeset 17664
- Timestamp:
- 11 Jan 2024, 16:33:46 (12 months ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r17661 r17664 382 382 amount *= number 383 383 elif category == 'combi' and combi: 384 categories = getUtility(IKofaUtils).C DLPORTAL_PAYMENT_CATEGORIES384 categories = getUtility(IKofaUtils).COMBI_PAYMENT_CATEGORIES 385 385 for cat in combi: 386 386 fee_name = cat + '_fee' -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r17661 r17664 191 191 'cdlcourse14': '14 Courses', 192 192 'cdlcourse15': '15 Courses', 193 'combi': 'Combi Payment', 193 194 } 194 195 … … 240 241 } 241 242 242 COMBI_PAYMENT_CATEGORIES = { 243 @property 244 def COMBI_PAYMENT_CATEGORIES(self): 245 if grok.getSite().__name__ == 'iuokada-cdl': 246 cpc = deepcopy(self.CDLPORTAL_COMBI_PAYMENT_CATEGORIES) 247 return cpc 248 cpc = deepcopy(self._COMBI_PAYMENT_CATEGORIES) 249 return cpc 250 251 CDLPORTAL_COMBI_PAYMENT_CATEGORIES = { 252 'clearance': 'Acceptance Fee', 253 'id_card': 'Student ID Card', 254 'waecneco': 'WAEC/NECO Verification', 255 # CDL Portal fees only 256 'medical':'Medical Services', 257 'library':'Library', 258 'ict':'ICT Fees', 259 'orientation':'Orientation Fee', 260 'examination':'Examination Fee', 261 'cdlcourse1': ' 1 Course', 262 'cdlcourse2': ' 2 Courses', 263 'cdlcourse3': ' 3 Courses', 264 'cdlcourse4': ' 4 Courses', 265 'cdlcourse5': ' 5 Courses', 266 'cdlcourse6': ' 6 Courses', 267 'cdlcourse7': ' 7 Courses', 268 'cdlcourse8': ' 8 Courses', 269 'cdlcourse9': ' 9 Courses', 270 'cdlcourse10': '10 Courses', 271 'cdlcourse11': '11 Courses', 272 'cdlcourse12': '12 Courses', 273 'cdlcourse13': '13 Courses', 274 'cdlcourse14': '14 Courses', 275 'cdlcourse15': '15 Courses', 276 } 277 278 _COMBI_PAYMENT_CATEGORIES = { 243 279 'registration': 'Registration Fee', 244 280 'grad_clearance': 'Clearance Fee',
Note: See TracChangeset for help on using the changeset viewer.