Ignore:
Timestamp:
10 Aug 2023, 13:53:20 (14 months ago)
Author:
Henrik Bettermann
Message:

med: the students that do not graduate are rendered as referred (L) not C so those stuents should be able to create their second spill level

File:
1 edited

Legend:

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

    r17498 r17536  
    9090        if cur_verdict == 'N' and prev_level in (100, 200):
    9191            new_level = prev_level
    92         elif cur_verdict in ('A','B','L','M','N','Z',):
     92        elif cur_verdict in ('A','B','M','N','Z',):
    9393            # Successful student
    9494            new_level = divmod(int(prev_level),100)[0]*100 + 100
    95         elif cur_verdict == 'C':
     95        elif cur_verdict in ('C', 'L',):
    9696            # Student on probation
    9797            new_level = int(prev_level) + 10
Note: See TracChangeset for help on using the changeset viewer.