Changeset 16738 for main/kofacustom.dspg/trunk/src
- Timestamp:
- 10 Dec 2021, 13:54:16 (3 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interfaces.py
r16725 r16738 32 32 33 33 clearance_fee = schema.Float( 34 title = _(u'Acceptance Fee '),34 title = _(u'Acceptance Fee (default)'), 35 35 default = 0.0, 36 36 required = False, … … 67 67 ) 68 68 69 70 69 # Additional fees in custom package 70 71 hnd_clearance_fee = schema.Float( 72 title = _(u'HND Non-Local Acceptance Fee'), 73 default = 0.0, 74 required = False, 75 ) 76 77 nd_clearance_fee = schema.Float( 78 title = _(u'ND Non-Local Acceptance Fee'), 79 default = 0.0, 80 required = False, 81 ) 82 83 hndlocal_clearance_fee = schema.Float( 84 title = _(u'HND Local Acceptance Fee'), 85 default = 0.0, 86 required = False, 87 ) 88 89 ndlocal_clearance_fee = schema.Float( 90 title = _(u'ND Local Acceptance Fee'), 91 default = 0.0, 92 required = False, 93 ) 71 94 72 95 gown_fee = schema.Float( -
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.