Ignore:
Timestamp:
31 Dec 2024, 13:53:46 (7 days ago)
Author:
Henrik Bettermann
Message:

NUGA LEVY TO BE ADDED TO SCHOOL CHARGES (#1387)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r17975 r17979  
    592592            if student.is_staff:
    593593                amount /= 2
     594            # Add additional school fees
     595            if student.state == CLEARED and getattr(certificate, 'school_fee_3'):
     596                amount += getattr(certificate, 'school_fee_3')
     597            elif student.state == PAID and student.is_postgrad and getattr(
     598                                                    certificate, 'school_fee_4'):
     599                amount += getattr(certificate, 'school_fee_4')
     600            elif student.state == RETURNING and getattr(
     601                                                    certificate, 'school_fee_4'):
     602                amount += getattr(certificate, 'school_fee_4')
    594603        else:
    595604            fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.