Ignore:
Timestamp:
27 Jun 2012, 09:40:35 (13 years ago)
Author:
Henrik Bettermann
Message:

Use kofacustom.nigeria.

Location:
main/waeup.futminna/trunk/src/waeup/futminna
Files:
3 edited

Legend:

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

  • main/waeup.futminna/trunk/src/waeup/futminna/students/interfaces.py

    r8806 r8833  
    2929from waeup.kofa.students.vocabularies import (
    3030    nats_vocab, contextual_reg_num_source)
    31 from waeup.futminna.interfaces import (
     31from kofacustom.nigeria.interfaces import (
    3232    high_qual, high_grade, exam_types, LGASource)
    3333from waeup.futminna.interfaces import MessageFactory as _
  • main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py

    r8714 r8833  
    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.futminna.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):
     
    129127        return None, payment
    130128
    131     VERDICTS_DICT = {
    132         'NY': 'not yet',
    133         'A': 'Successful student',
    134         'B': 'Student with carryover courses',
    135         'C': 'Student on probation',
    136         'D': 'Withdrawn from the faculty',
    137         'E': 'Student who were previously on probation',
    138         'F': 'Medical case',
    139         'G': 'Absent from examination',
    140         'H': 'Withheld results',
    141         'I': 'Expelled/rusticated/suspended student',
    142         'J': 'Temporary withdrawn from the university',
    143         'K': 'Unregistered student',
    144         'L': 'Referred student',
    145         'M': 'Reinstatement',
    146         'N': 'Student on transfer',
    147         'O': 'NCE-III repeater',
    148         'Y': 'No previous verdict',
    149         'X': 'New 300 level student',
    150         'Z': 'Successful student (provisional)',
    151         'A1': 'First Class',
    152         'A2': 'Second Class Upper',
    153         'A3': 'Second Class Lower',
    154         'A4': 'Third Class',
    155         'A5': 'Pass',
    156         'A6': 'Distinction',
    157         'A7': 'Credit',
    158         'A8': 'Merit',
    159         }
    160 
    161     # FUTMinna separators
    162     SEPARATORS_DICT = {
    163         'form.fst_sit_fname': _(u'First Sitting Record'),
    164         'form.scd_sit_fname': _(u'Second Sitting Record'),
    165         'form.alr_fname': _(u'Advanced Level Record'),
    166         'form.hq_type': _(u'Higher Education Record'),
    167         'form.hq2_type': _(u'Second Higher Education Record'),
    168         'form.nysc_year': _(u'NYSC Information'),
    169         'form.employer': _(u'Employment History'),
    170         'form.former_matric': _(u'Former FUTMinna Student'),
    171         }
    172 
    173129    # FUTMinna prefix
    174130    STUDENT_ID_PREFIX = u'M'
Note: See TracChangeset for help on using the changeset viewer.