Ignore:
Timestamp:
27 Jun 2012, 09:48:53 (12 years ago)
Author:
Henrik Bettermann
Message:

Merged with waeup.futminna 8832:8833.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene

  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r8713 r8834  
    2020from zope.component import createObject
    2121from waeup.kofa.interfaces import CLEARED, RETURNING, PAID
    22 from waeup.kofa.students.utils import StudentsUtils
    23 from waeup.kofa.students.interfaces import IStudentsUtils
     22from kofacustom.nigeria.students.utils import NigeriaStudentsUtils
    2423from waeup.kofa.accesscodes import create_accesscode
    2524from waeup.fceokene.interfaces import MessageFactory as _
    2625
    27 class CustomStudentsUtils(StudentsUtils):
     26class CustomStudentsUtils(NigeriaStudentsUtils):
    2827    """A collection of customized methods.
    2928
    3029    """
    31     grok.implements(IStudentsUtils)
    3230
    3331    def getReturningData(self, student):
     
    122120        return None, payment
    123121
    124     VERDICTS_DICT = {
    125         'NY': 'not yet',
    126         'A': 'Successful student',
    127         'B': 'Student with carryover courses',
    128         'C': 'Student on probation',
    129         'D': 'Withdrawn from the faculty',
    130         'E': 'Student who were previously on probation',
    131         'F': 'Medical case',
    132         'G': 'Absent from examination',
    133         'H': 'Withheld results',
    134         'I': 'Expelled/rusticated/suspended student',
    135         'J': 'Temporary withdrawn from the university',
    136         'K': 'Unregistered student',
    137         'L': 'Referred student',
    138         'M': 'Reinstatement',
    139         'N': 'Student on transfer',
    140         'O': 'NCE-III repeater',
    141         'Y': 'No previous verdict',
    142         'X': 'New 300 level student',
    143         'Z': 'Successful student (provisional)',
    144         'A1': 'First Class',
    145         'A2': 'Second Class Upper',
    146         'A3': 'Second Class Lower',
    147         'A4': 'Third Class',
    148         'A5': 'Pass',
    149         'A6': 'Distinction',
    150         'A7': 'Credit',
    151         'A8': 'Merit',
    152         }
    153 
    154     # FCEOkene separators
    155     SEPARATORS_DICT = {
    156         'form.fst_sit_fname': _(u'First Sitting Record'),
    157         'form.scd_sit_fname': _(u'Second Sitting Record'),
    158         'form.alr_fname': _(u'Advanced Level Record'),
    159         'form.hq_type': _(u'Higher Education Record'),
    160         'form.hq2_type': _(u'Second Higher Education Record'),
    161         'form.nysc_year': _(u'NYSC Information'),
    162         'form.employer': _(u'Employment History'),
    163         'form.former_matric': _(u'Former FCEOkene Student'),
    164         }
    165 
    166122    # FCEOkene prefix
    167123    STUDENT_ID_PREFIX = u'K'
Note: See TracChangeset for help on using the changeset viewer.