Changeset 15183 for main/kofacustom.edopoly/trunk/src/kofacustom
- Timestamp:
- 2 Oct 2018, 20:45:57 (6 years ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interfaces.py
r15123 r15183 117 117 ) 118 118 119 medical_fee = schema.Float( 120 title = _(u'Medical Fee'), 121 default = 0.0, 122 required = False, 123 ) 124 119 125 def getSessionString(): 120 126 """Returns the session string from the vocabulary. -
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 -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/utils/utils.py
r15123 r15183 57 57 'union': 'Student Union Dues', 58 58 'admission_checking': 'Admission Checking Fee', 59 'medical': 'Medical Fee', 59 60 } 60 61 … … 80 81 'final_clearance': 'Final Clearance Fee', 81 82 'union': 'Student Union Dues', 83 'medical': 'Medical Fee', 82 84 } 83 85
Note: See TracChangeset for help on using the changeset viewer.