- Timestamp:
- 2 Oct 2018, 20:45:57 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py
r15176 r15183 213 213 else: 214 214 return _(u'No bed allocated.'), None 215 elif category == 'logbook_combo': 216 amount = academic_session.logbook_combo_fee 217 elif category == 'ict_entre': 218 amount = academic_session.ict_entre_fee 219 elif category == 'siwess_combo': 220 amount = academic_session.siwess_combo_fee 221 elif category == 'transcript': 222 amount = academic_session.transcript_fee 223 elif category == 'certificate': 224 amount = academic_session.certificate_fee 225 elif category == 'certificate_confirm': 226 amount = academic_session.certificate_confirm_fee 227 elif category == 'final_clearance': 228 amount = academic_session.final_clearance_fee 229 elif category == 'late_registration': 230 amount = academic_session.late_registration_fee 231 elif category == 'union': 232 amount = academic_session.union_fee 215 else: 216 fee_name = category + '_fee' 217 amount = getattr(academic_session, fee_name, 0.0) 218 219 233 220 if amount in (0.0, None): 234 221 return _('Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.