Changeset 14527 for main/waeup.aaue
- Timestamp:
- 9 Feb 2017, 12:21:12 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r14453 r14527 206 206 'p_category') 207 207 208 alumni_payment_cats= {208 ALUMNI_PAYMENT_CATS = { 209 209 'transcript_local': 'Transcript Fee Local', 210 210 'transcript_inter': 'Transcript Fee International', 211 211 } 212 212 213 IJMBE_PAYMENT_CATS = { 214 'clearance': 'Acceptance Fee', 215 'schoolfee': 'School Fee', 216 } 217 213 218 @property 214 219 def selectable_categories(self): 215 220 if 'alumni' in self.application_url(): 216 return self.alumni_payment_cats.items() 221 return self.ALUMNI_PAYMENT_CATS.items() 222 if self.context.student.current_mode == 'ijmbe': 223 return self.IJMBE_PAYMENT_CATS.items() 217 224 categories = getUtility(IKofaUtils).SELECTABLE_PAYMENT_CATEGORIES 218 225 return sorted(categories.items())
Note: See TracChangeset for help on using the changeset viewer.