Changeset 15652 for main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
- Timestamp:
- 9 Oct 2019, 09:27:16 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r15622 r15652 489 489 else: 490 490 return _(u'No bed allocated.'), None 491 elif category == 'transcript': 492 amount = academic_session.transcript_fee 493 elif category == 'transfer': 494 amount = academic_session.transfer_fee 495 elif category == 'late_registration': 496 amount = academic_session.late_registration_fee 491 else: 492 fee_name = category + '_fee' 493 amount = getattr(academic_session, fee_name, 0.0) 497 494 if amount in (0.0, None): 498 495 return _('Amount could not be determined.'), None … … 1140 1137 'studentpayments', 'bedtickets') 1141 1138 1139 # Maximum size of upload files in kB 1140 MAX_KB = 250 1141 1142 1142 #: A prefix used when generating new student ids. Each student id will 1143 1143 #: start with this string. The default is 'K' for Kofa.
Note: See TracChangeset for help on using the changeset viewer.