Changeset 16738 for main/kofacustom.dspg/trunk/src/kofacustom/dspg/students
- Timestamp:
- 10 Dec 2021, 13:54:16 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16430 r16738 233 233 except (AttributeError, TypeError): 234 234 return _('Study course data are incomplete.'), None 235 amount = academic_session.clearance_fee236 # HND students pay more237 235 if student.current_mode == 'hnd_ft': 238 amount += 3000 239 # Local ND and HND students are given a rebate which has 240 # to be adjusted if the basic acceptance fee changes. 241 if amount and student.current_mode == 'nd_ft' and local(student): 242 amount -= 10000.0 243 if amount and student.current_mode == 'hnd_ft' and local(student): 244 amount -= 5000.0 236 if local(student): 237 amount = academic_session.hndlocal_clearance_fee 238 else: 239 amount = academic_session.hnd_clearance_fee 240 elif student.current_mode == 'nd_ft': 241 if local(student): 242 amount = academic_session.ndlocal_clearance_fee 243 else: 244 amount = academic_session.nd_clearance_fee 245 else: 246 amount = academic_session.clearance_fee 245 247 elif category == 'bed_allocation': 246 248 p_item = self.getAccommodationDetails(student)['bt']
Note: See TracChangeset for help on using the changeset viewer.