Changeset 14475


Ignore:
Timestamp:
27 Jan 2017, 16:52:40 (8 years ago)
Author:
Henrik Bettermann
Message:

Activate verdict 'D' and use for level reports.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r14464 r14475  
    213213            return 'N/A'
    214214        # returning student remark
     215        if self.level_verdict in ('FRNS', 'NEOR', 'NEOV'):
     216            return 'Probation'
     217        if self.level_verdict == 'D':
     218            return 'Withdrawn'
    215219        if self.gpa_params[1] < 30:
    216220            # credits taken below limit
    217             return 'Probation'
    218         if self.level_verdict in ('FRNS', 'NEOR', 'NEOV'):
    219221            return 'Probation'
    220222        if self.cumulative_params[0] < failed_limit:
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r14375 r14475  
    157157        'B': 'Student with carryover courses',
    158158        'C': 'Student on probation',
    159         #'D': 'Withdrawn from the faculty',
     159        'D': 'Withdrawn from the faculty',
    160160        #'E': 'Student who were previously on probation',
    161161        #'F': 'Medical case',
Note: See TracChangeset for help on using the changeset viewer.