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

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

All pg certificates are 'special' and the ICertificate.check_pg_conditions invariant method is not applied.

  • Property svn:keywords set to Id
File size: 5.1 KB
Line 
1## $Id: utils.py 13524 2015-12-02 17:04:54Z 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 kofacustom.nigeria.utils.utils import NigeriaKofaUtils
21
22class CustomKofaUtils(NigeriaKofaUtils):
23    """A collection of methods subject to customization.
24    """
25
26    PREFERRED_LANGUAGES_DICT = {
27        }
28
29    PAYMENT_CATEGORIES = {
30        'schoolfee': 'School Fee',
31        'schoolfee_1': 'School Fee Plus (1st instalment)',
32        'schoolfee_2': 'School Fee (2nd instalment)',
33        'schoolfee_incl': 'School Fee Plus',
34        'clearance': 'Acceptance Fee',
35        'clearance_incl': 'Acceptance Fee Plus',
36        'hostel_maintenance': 'Hostel Accommodation Fee',
37        'application': 'Application Fee',
38        'bed_allocation': 'Bed Allocation Fee',
39        'transfer': 'Transfer Fee',
40        'transcript': 'Transcript Fee',
41        'late_registration': 'Late Course Registration Fee',
42        'welfare': 'Student Welfare Assurance Fee',
43        'union': 'Student Union Dues',
44        'lapel': 'Lapel/File Fee',
45        'matric_gown': 'Matriculation Gown Fee',
46        'concessional': 'Concessional Fee',
47        }
48
49    SELECTABLE_PAYMENT_CATEGORIES = {
50        'schoolfee': 'School Fee without additional fees',
51        'schoolfee_1': 'School Fee (1st instalment) + Student Union Dues + Welfare Assurance Fee',
52        'schoolfee_2': 'School Fee (2nd instalment)',
53        'schoolfee_incl': 'School Fee + Student Union Dues + Welfare Assurance Fee',
54        'clearance': 'Acceptance Fee without additional fees',
55        'clearance_incl': 'Acceptance Fee + Matric Gown Fee + Lapel/File Fee',
56        'hostel_maintenance': 'Hostel Accommodation Fee',
57        'application': 'Application Fee',
58        #'bed_allocation': 'Bed Allocation Fee',
59        #'transfer': 'Transfer Fee',
60        'transcript': 'Transcript Fee',
61        'late_registration': 'Late Course Registration Fee',
62        'welfare': 'Student Welfare Assurance Fee',
63        'union': 'Student Union Dues',
64        'lapel': 'Lapel/File Fee',
65        'matric_gown': 'Matriculation Gown Fee',
66        'concessional': 'Concessional Fee',
67        }
68
69    REPORTABLE_PAYMENT_CATEGORIES = {
70        'schoolfee': 'School Fee',
71        'schoolfee_incl': 'School Fee Plus',
72        'clearance': 'Acceptance Fee',
73        'clearance_incl': 'Acceptance Fee Plus',
74        'hostel_maintenance': 'Hostel Maintenance Fee',
75        'gown': 'Gown Hire Fee',
76        }
77
78    APP_CATS_DICT = {
79        'basic': 'PUTME, PUDE, PCE, PRENCE',
80        'no': 'No Application',
81        'pg_ft': 'Postgraduate Full-Time',
82        'pg_pt': 'Postgraduate Part-Time',
83        'cest': 'Part-Time, Diploma, Certificate',
84        'found': 'Foundation',
85        'ptee': 'Part-Time Entrance Examination',
86        }
87
88    STUDY_MODES_DICT = {
89        'ug_ft': 'Undergraduate Full Time',
90        'ug_pt': 'Undergraduate Part Time',
91        'de_ft': 'Direct Entry Full Time',
92        'de_pt': 'Direct Entry Part Time',
93        'dp_pt': 'Diploma Part Time',
94        'dp_ft': 'Diploma Full Time',
95        'special_pg_ft': 'Postgraduate Full Time',
96        'special_pg_pt': 'Postgraduate Part Time',
97        'found': 'Foundation',
98        'transfer': 'Transfer',
99        }
100
101    VERDICTS_DICT = {
102        '0': 'not yet',
103        'A': 'Successful student',
104        'B': 'Student with carryover courses',
105        'C': 'Student on probation',
106        #'D': 'Withdrawn from the faculty',
107        #'E': 'Student who were previously on probation',
108        #'F': 'Medical case',
109        #'G': 'Absent from examination',
110        #'H': 'Withheld results',
111        #'I': 'Expelled/rusticated/suspended student',
112        #'J': 'Temporary withdrawn from the university',
113        #'K': 'Unregistered student',
114        #'L': 'Referred student',
115        #'M': 'Reinstatement',
116        #'N': 'Student on transfer',
117        #'O': 'NCE-III repeater',
118        #'Y': 'No previous verdict',
119        #'X': 'New 300 level student',
120        'Z': 'Successful student (provisional)',
121        #'A1': 'First Class',
122        #'A2': 'Second Class Upper',
123        #'A3': 'Second Class Lower',
124        #'A4': 'Third Class',
125        #'A5': 'Pass',
126        #'A6': 'Distinction',
127        #'A7': 'Credit',
128        #'A8': 'Merit',
129        'NEOR': 'No evidence of registration',
130        'NEOV': 'No evidence of verification',
131        'FRNS': 'Faculty requirements not satisfied',
132        }
133
134    DISABLE_PAYMENT_GROUP_DICT = {
135        'sf_all': 'School Fee - All Students',
136        'maint_all': 'Accommodation Fee - All Students',
137        }
Note: See TracBrowser for help on using the repository browser.