Ignore:
Timestamp:
1 Jul 2015, 18:39:13 (9 years ago)
Author:
Henrik Bettermann
Message:

Move VERDICTS_DICT.

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

Legend:

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

    r13030 r13128  
    4242
    4343    """
    44 
    45     VERDICTS_DICT = {
    46         '0': 'not yet',
    47         'A': 'Successful student',
    48         'B': 'Student with carryover courses',
    49         'C': 'Student on probation',
    50         'D': 'Withdrawn from the faculty',
    51         #'E': 'Student who were previously on probation',
    52         #'F': 'Medical case',
    53         'G': 'Absent from examination',
    54         #'H': 'Withheld results',
    55         'I': 'Expelled/rusticated/suspended student',
    56         'J': 'Temporary withdrawn from the university',
    57         #'K': 'Unregistered student',
    58         'L': 'Referred student',
    59         'M': 'Reinstatement',
    60         #'N': 'Student on transfer',
    61         'O': 'NCE-III repeater',
    62         #'Y': 'No previous verdict',
    63         #'X': 'New 300 level student (Uniben)',
    64         'Z': 'Successful student (provisional)',
    65         'A1': 'First Class',
    66         'A2': 'Second Class Upper',
    67         'A3': 'Second Class Lower',
    68         'A4': 'Third Class',
    69         'A5': 'Pass',
    70         'A6': 'Distinction',
    71         'A7': 'Credit',
    72         'A8': 'Merit',
    73         'OPDE': 'PDE repeater',
    74         }
    7544
    7645    def selectBed(self, available_beds):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/utils/utils.py

    r13030 r13128  
    5757    SELECTABLE_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES)
    5858
     59    VERDICTS_DICT = {
     60        '0': 'not yet',
     61        'A': 'Successful student',
     62        'B': 'Student with carryover courses',
     63        'C': 'Student on probation',
     64        'D': 'Withdrawn from the faculty',
     65        #'E': 'Student who were previously on probation',
     66        #'F': 'Medical case',
     67        'G': 'Absent from examination',
     68        #'H': 'Withheld results',
     69        'I': 'Expelled/rusticated/suspended student',
     70        'J': 'Temporary withdrawn from the university',
     71        #'K': 'Unregistered student',
     72        'L': 'Referred student',
     73        'M': 'Reinstatement',
     74        #'N': 'Student on transfer',
     75        'O': 'NCE-III repeater',
     76        #'Y': 'No previous verdict',
     77        #'X': 'New 300 level student (Uniben)',
     78        'Z': 'Successful student (provisional)',
     79        'A1': 'First Class',
     80        'A2': 'Second Class Upper',
     81        'A3': 'Second Class Lower',
     82        'A4': 'Third Class',
     83        'A5': 'Pass',
     84        'A6': 'Distinction',
     85        'A7': 'Credit',
     86        'A8': 'Merit',
     87        'OPDE': 'PDE repeater',
     88        }
     89
    5990    def getPaymentItem(self, payment):
    6091        """Return payment item.
Note: See TracChangeset for help on using the changeset viewer.