Changeset 15482


Ignore:
Timestamp:
2 Jul 2019, 13:40:49 (5 years ago)
Author:
Henrik Bettermann
Message:

Students on transfer do not change their 100L after they have paid.

File:
1 edited

Legend:

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

    r15447 r15482  
    3737        prev_level = student['studycourse'].current_level
    3838        cur_verdict = student['studycourse'].current_verdict
    39         if cur_verdict in ('A','B','L','M','N','Z',):
     39        if cur_verdict == 'N' and prev_level == 100:
     40            new_level = prev_level
     41        elif cur_verdict in ('A','B','L','M','N','Z',):
    4042            # Successful student
    4143            new_level = divmod(int(prev_level),100)[0]*100 + 100
Note: See TracChangeset for help on using the changeset viewer.