Changeset 16873 for main/waeup.uniben/trunk/src
- Timestamp:
- 10 Mar 2022, 20:25:28 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r16840 r16873 268 268 return _(u'Session configuration object is not available.'), None 269 269 # Determine fee. 270 if category == 'transfer': 271 amount = academic_session.transfer_fee 272 elif category == 'transcript': 273 amount = academic_session.transcript_fee 274 elif category == 'gown': 275 amount = academic_session.gown_fee 276 elif category == 'jupeb': 277 amount = academic_session.jupeb_fee 278 elif category == 'clinexam': 279 amount = academic_session.clinexam_fee 280 elif category == 'medical_quest': 281 amount = academic_session.medical_quest_fee 282 elif category.startswith('pharmd') \ 270 if category.startswith('pharmd') \ 283 271 and student.current_mode == 'special_ft': 284 272 amount = 80000.0 … … 428 416 if student.is_staff: 429 417 amount /= 2 418 else: 419 fee_name = category + '_fee' 420 amount = getattr(academic_session, fee_name, 0.0) 430 421 if amount in (0.0, None): 431 422 return _('Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.