Ignore:
Timestamp:
1 Oct 2023, 20:32:58 (17 months ago)
Author:
Henrik Bettermann
Message:

Reconfigure clearance (acceptance) fee.

File:
1 edited

Legend:

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

    r17598 r17599  
    139139                return _('Study course data are incomplete.'), None
    140140            amount = academic_session.clearance_fee
    141             if local(student):
    142                 amount *= 2.0
    143             else:
    144                 amount *= 2.4
    145             if student.faccode == 'PRE':
    146                 amount = 20000.0
    147             if student.faccode == 'JUPEB':
    148                 amount = 25000.0
    149             if student.current_mode.startswith('dp'):
    150                 amount = 20000.0
     141            if student.current_mode in ('ug_ft', 'de_ft'):
     142                if local(student):
     143                    amount = academic_session.ugftlocal_clearance_fee
     144                else:
     145                    amount = academic_session.ugft_clearance_fee
    151146        elif category == 'bed_allocation':
    152147            acco_details = self.getAccommodationDetails(student)
Note: See TracChangeset for help on using the changeset viewer.