Ignore:
Timestamp:
18 Jan 2022, 11:35:04 (3 years ago)
Author:
Henrik Bettermann
Message:

ND PT and HND PT acceptance fees differ.

File:
1 edited

Legend:

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

    r16738 r16752  
    243243                else:
    244244                    amount = academic_session.nd_clearance_fee
    245             else:
    246                     amount = academic_session.clearance_fee
     245            elif student.current_mode == 'hnd_pt':
     246                amount = academic_session.hndpt_clearance_fee
     247            elif student.current_mode == 'nd_pt':
     248                amount = academic_session.ndpt_clearance_fee
     249            else:
     250                amount = academic_session.clearance_fee
    247251        elif category == 'bed_allocation':
    248252            p_item = self.getAccommodationDetails(student)['bt']
Note: See TracChangeset for help on using the changeset viewer.