Changeset 14861 for main/kofacustom.dspg/trunk
- Timestamp:
- 6 Oct 2017, 08:09:47 (7 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r14860 r14861 128 128 elif category == 'late_registration': 129 129 amount = academic_session.late_registration_fee 130 elif category == 'carryover1': 131 amount = 10000.0 132 elif category == 'carryover2': 133 amount = 10000.0 134 elif category == 'carryover3': 135 amount = 10000.0 136 elif category == 'carryover4': 137 amount = 13000.0 138 else: 139 fee_name = category + '_fee' 140 amount = getattr(academic_session, fee_name, 0.0) 130 141 if amount in (0.0, None): 131 142 return _('Amount could not be determined.'), None -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py
r14859 r14861 58 58 'carryover2': 'Two Carry-Overs', 59 59 'carryover3': 'Three Carry-Overs', 60 'carryover4': 'Four Carry-Overs', 60 61 'bed_allocation': 'Bed Allocation', 61 62 'hostel_maintenance': 'Hostel Maintenance', … … 103 104 'carryover2': 'Two Carry-Overs', 104 105 'carryover3': 'Three Carry-Overs', 106 'carryover4': 'Four Carry-Overs', 105 107 'hostel_maintenance': 'Hostel Maintenance', 106 108 'certificate': 'ND Certificate',
Note: See TracChangeset for help on using the changeset viewer.