Changeset 14296 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 28 Nov 2016, 12:10:49 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r14295 r14296 201 201 'p_category') 202 202 203 alumni_payment_cats = { 204 'transcript_local': 'Transcript Fee Local', 205 'transcript_inter': 'Transcript Fee International', 206 } 207 208 @property 209 def selectable_categories(self): 210 if 'alumni' in self.application_url(): 211 return self.alumni_payment_cats.items() 212 categories = getUtility(IKofaUtils).SELECTABLE_PAYMENT_CATEGORIES 213 return sorted(categories.items()) 214 203 215 class CustomPaymentsManageFormPage(PaymentsManageFormPage): 204 216 """ Page to manage the student payments. -
main/waeup.aaue/trunk/src/waeup/aaue/students/payments.py
r13625 r14296 81 81 return error 82 82 self.ac = pin 83 elif self.p_category == 'transcript':83 elif self.p_category.startswith('transcript'): 84 84 # Create TSC access code 85 85 pin, error = create_accesscode( -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14248 r14296 183 183 if category == 'transfer': 184 184 amount = academic_session.transfer_fee 185 elif category == 'transcript': 186 amount = academic_session.transcript_fee 185 elif category == 'transcript_local': 186 amount = academic_session.transcript_fee_local 187 elif category == 'transcript_inter': 188 amount = academic_session.transcript_fee_inter 187 189 elif category == 'bed_allocation': 188 190 amount = academic_session.booking_fee
Note: See TracChangeset for help on using the changeset viewer.