source: main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py @ 13342

Last change on this file since 13342 was 13342, checked in by Henrik Bettermann, 9 years ago

Customize PORTRAIT_CHANGE_STATES.

  • Property svn:keywords set to Id
File size: 4.0 KB
Line 
1## $Id: utils.py 13342 2015-10-21 15:35:23Z henrik $
2##
3## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17##
18"""Customize general helper utilities for Kofa.
19"""
20from waeup.kofa.interfaces import ADMITTED, RETURNING
21from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
22
23class CustomKofaUtils(NigeriaKofaUtils):
24    """A collection of methods subject to customization.
25    """
26
27    PREFERRED_LANGUAGES_DICT = {
28        }
29
30    PAYMENT_CATEGORIES = {
31        'schoolfee': 'School Fee',
32        'schoolfee_1': 'School Fee 1st instalment',
33        'schoolfee_2': 'School Fee 2nd instalment',
34        'clearance': 'Acceptance Fee',
35        'hostel_maintenance': 'Hostel Maintenance Fee',
36        'application': 'Application Fee',
37        'gown': 'Gown Hire Fee',
38        'bed_allocation': 'Bed Allocation Fee',
39        'transfer': 'Transfer Fee',
40        'transcript': 'Transcript Fee',
41        'late_registration': 'Late Course Registration Fee',
42        }
43
44    SELECTABLE_PAYMENT_CATEGORIES = {
45        'schoolfee': 'School Fee',
46        #'schoolfee_1': 'School Fee 1st instalment',
47        #'schoolfee_2': 'School Fee 2nd instalment',
48        'clearance': 'Acceptance Fee',
49        #'hostel_maintenance': 'Hostel Maintenance Fee',
50        'application': 'Application Fee',
51        #'gown': 'Gown Hire Fee',
52        #'bed_allocation': 'Bed Allocation Fee',
53        #'transfer': 'Transfer Fee',
54        'transcript': 'Transcript Fee',
55        'late_registration': 'Late Course Registration Fee',
56        }
57
58    APP_CATS_DICT = {
59        'basic': 'PUTME, PUDE, PCE, PRENCE',
60        'no': 'No Application',
61        'pg_ft': 'Postgraduate Full-Time',
62        'pg_pt': 'Postgraduate Part-Time',
63        'cest': 'Part-Time, Diploma, Certificate',
64        'found': 'Foundation',
65        'ptee': 'Part-Time Entrance Examination',
66        }
67
68    STUDY_MODES_DICT = {
69        'ug_ft': 'Undergraduate Full Time',
70        'ug_pt': 'Undergraduate Part Time',
71        'de_ft': 'Direct Entry Full Time',
72        'de_pt': 'Direct Entry Part Time',
73        'dp_pt': 'Diploma Part Time',
74        'dp_ft': 'Diploma Full Time',
75        'pg_ft': 'Postgraduate Full Time',
76        'pg_pt': 'Postgraduate Part Time',
77        'found': 'Foundation',
78        }
79
80    VERDICTS_DICT = {
81        '0': 'not yet',
82        'A': 'Successful student',
83        'B': 'Student with carryover courses',
84        'C': 'Student on probation',
85        #'D': 'Withdrawn from the faculty',
86        #'E': 'Student who were previously on probation',
87        #'F': 'Medical case',
88        #'G': 'Absent from examination',
89        #'H': 'Withheld results',
90        #'I': 'Expelled/rusticated/suspended student',
91        #'J': 'Temporary withdrawn from the university',
92        #'K': 'Unregistered student',
93        #'L': 'Referred student',
94        #'M': 'Reinstatement',
95        #'N': 'Student on transfer',
96        #'O': 'NCE-III repeater',
97        #'Y': 'No previous verdict',
98        #'X': 'New 300 level student',
99        'Z': 'Successful student (provisional)',
100        #'A1': 'First Class',
101        #'A2': 'Second Class Upper',
102        #'A3': 'Second Class Lower',
103        #'A4': 'Third Class',
104        #'A5': 'Pass',
105        #'A6': 'Distinction',
106        #'A7': 'Credit',
107        #'A8': 'Merit',
108        'NEOR': 'No evidence of registration',
109        'NEOV': 'No evidence of verification',
110        'FRNS': 'Faculty requirements not satisfied',
111        }
112
113    PORTRAIT_CHANGE_STATES = (ADMITTED, RETURNING)
Note: See TracBrowser for help on using the repository browser.