Changeset 14296
- Timestamp:
- 28 Nov 2016, 12:10:49 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r14260 r14296 72 72 ) 73 73 74 transcript_fee = schema.Float( 75 title = _(u'Transcript Fee'), 74 transcript_fee_inter = schema.Float( 75 title = _(u'International Transcript Fee'), 76 default = 0.0, 77 required = True, 78 ) 79 80 transcript_fee_local = schema.Float( 81 title = _(u'Local Transcript Fee'), 76 82 default = 0.0, 77 83 required = True, -
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 -
main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
r14258 r14296 40 40 'bed_allocation': 'Bed Allocation Fee', 41 41 'transfer': 'Transfer Fee', 42 'transcript': 'Transcript Fee', 42 'transcript_local': 'Local Transcript Fee', 43 'transcript_inter': 'International Transcript Fee', 43 44 'late_registration': 'Late Course Registration Fee', 44 45 'welfare': 'Student Welfare Assurance Fee', … … 69 70 #'bed_allocation': 'Bed Allocation Fee', 70 71 #'transfer': 'Transfer Fee', 71 'transcript': 'Transcript Fee', 72 'transcript_local': 'Local Transcript Fee', 73 'transcript_inter': 'International Transcript Fee', 72 74 'late_registration': 'Late Course Registration Fee', 73 75 #'welfare': 'Student Welfare Assurance Fee',
Note: See TracChangeset for help on using the changeset viewer.