Changeset 10661 for main/waeup.fceokene


Ignore:
Timestamp:
4 Oct 2013, 17:11:09 (11 years ago)
Author:
Henrik Bettermann
Message:

Customize VERDICTS_DICT.

File:
1 edited

Legend:

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

    r10660 r10661  
    3333
    3434    """
     35
     36    VERDICTS_DICT = {
     37        '0': 'not yet',
     38        'A': 'Successful student',
     39        'B': 'Student with carryover courses',
     40        'C': 'Student on probation',
     41        'D': 'Withdrawn from the faculty',
     42        #'E': 'Student who were previously on probation',
     43        #'F': 'Medical case',
     44        'G': 'Absent from examination',
     45        #'H': 'Withheld results',
     46        'I': 'Expelled/rusticated/suspended student',
     47        'J': 'Temporary withdrawn from the university',
     48        #'K': 'Unregistered student',
     49        'L': 'Referred student',
     50        'M': 'Reinstatement',
     51        #'N': 'Student on transfer',
     52        'O': 'NCE-III repeater',
     53        #'Y': 'No previous verdict',
     54        #'X': 'New 300 level student (Uniben)',
     55        #'Z': 'Successful student (provisional)',
     56        'A1': 'First Class',
     57        'A2': 'Second Class Upper',
     58        'A3': 'Second Class Lower',
     59        'A4': 'Third Class',
     60        'A5': 'Pass',
     61        'A6': 'Distinction',
     62        'A7': 'Credit',
     63        'A8': 'Merit',
     64        'OPDE': 'PDE repeater',
     65        }
    3566
    3667    def selectBed(self, available_beds):
     
    126157                return _('Wrong state.'), None
    127158
    128             # NCE-III repeater
    129             if student.current_verdict == 'O':
     159            # PDE repeater
     160            if student.current_verdict == 'OPDE':
    130161                amount = 20150
    131162            # PDE
Note: See TracChangeset for help on using the changeset viewer.