Ignore:
Timestamp:
19 Jul 2023, 15:18:16 (16 months ago)
Author:
Henrik Bettermann
Message:

Increment depends on p_session not entry_session.

File:
1 edited

Legend:

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

    r17187 r17493  
    145145        #        amount = 2000.0 * no_additional_courses
    146146        elif category.startswith('schoolfee'):
     147            increment_2022 = 0
    147148            if category == 'schoolfee_pde1':
    148149                if not student.current_mode.startswith('pd'):
     
    266267                        amount = 13975
    267268                    increment_2022 = 20125
    268                
    269                 if student.entry_session > 2021:
    270                     amount += increment_2022
    271269            else:
    272270                # NCE I fresh sw
     
    332330                if academic_session == None:
    333331                    return _(u'Session configuration object is not available.'), None
     332            if p_session > 2021:
     333                    amount += increment_2022
    334334        else:
    335335            fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.