Changeset 14884 for main


Ignore:
Timestamp:
26 Oct 2017, 09:11:38 (7 years ago)
Author:
Henrik Bettermann
Message:

The rebate is not relative, it has to be deducted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py

    r14882 r14884  
    127127                return _('Study course data are incomplete.'), None
    128128            amount = academic_session.clearance_fee
     129            # Local ND and HND students are given a rebate which has
     130            # to be adjusted if the basic acceptance fee changes.
    129131            if student.current_mode == 'nd_ft' and local(student):
    130                 amount *= 0.5
     132                amount -= 10000.0
    131133            if student.current_mode == 'hnd_ft' and local(student):
    132                 amount *= 0.75
     134                amount -= 5000.0
    133135        elif category == 'bed_allocation':
    134136            p_item = self.getAccommodationDetails(student)['bt']
Note: See TracChangeset for help on using the changeset viewer.