source: main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py @ 12777

Last change on this file since 12777 was 11965, checked in by Henrik Bettermann, 10 years ago

ITCH is now IOT.

  • Property svn:keywords set to Id
File size: 7.7 KB
Line 
1## $Id: utils.py 11965 2014-11-16 07:05:22Z 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    APP_CATS_DICT = {
30        'basic': 'Basic',
31        'ndft': 'National Diploma Full-Time Programmes',
32        'ndpt': 'National Diploma Part-Time Programmes',
33        'hndft': 'Higher National Diploma Full-Time Programmes',
34        'hndpt': 'Higher National Diploma Part-Time Programmes',
35        'pgd': 'Postgraduate Diploma Programmes',
36        'rmd': 'Remedial Programmes',
37        'no': 'no application',
38        }
39
40    STUDY_MODES_DICT = {
41        'nd_ft': 'National Diploma Full-Time',
42        'nd_pt': 'National Diploma Part-Time',
43        'hnd_ft': 'Higher National Diploma Full-Time',
44        'hnd_pt': 'Higher National Diploma Part-Time',
45        'pgd_ft': 'Postgraduate Diploma Full-Time',
46        'pgd_pt': 'Postgraduate Diploma Part-Time',
47        'prend': 'Pre-ND',
48        'rmd': 'Remedial',
49        }
50
51    PAYMENT_CATEGORIES = {
52        'schoolfee': 'School Fee',
53        'carryover1': '1 CarryOver',
54        'carryover2': '2 CarryOvers',
55        'carryover3': '3 CarryOvers',
56        'clearance': 'Acceptance',
57        'bed_allocation': 'Bed Allocation',
58        'hostel_maintenance': 'Hostel Maintenance',
59        'application': 'Application',
60        'certificate': 'ND Certificate',
61        'hnd_certificate': 'HND Certificate',
62        'pgd_certificate': 'PGD Certificate',
63        'state_result': 'ND Statement of Result',
64        'hnd_state_result': 'HND Statement of Result',
65        'pgd_state_result': 'PGD Statement of Result',
66        'transcript_local': 'ND Transcript (local)',
67        'hnd_transcript_local': 'HND Transcript (local)',
68        'pgd_transcript_local': 'PGD Transcript (local)',
69        'transcript_foreign': 'ND Transcript (foreign)',
70        'hnd_transcript_foreign': 'HND Transcript (foreign)',
71        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
72        'ver_result': 'Verification of Result',
73        'change_course': 'Change of Course',
74        'change_inst': 'Change of Institute',
75        'jamb_reject': 'JAMB Rejection Form',
76        'cert_of_cert': 'Certification of Certificate',
77        'ref_let': 'Recommendation/Reference Letter',
78        'proc_cert': 'Processing of Certificate by Proxy',
79        'loss_idcard': 'Loss of ID Card (student)',
80        'staff_loss_idcard': 'Loss of ID Card (staff)',
81        'loss_examcard': 'Loss of Exam Card',
82        'loss_result': 'Loss of Result',
83        'loss_receipt': 'Loss of Receipt',
84        'loss_clearance': 'Loss of Clearance',
85        'conv_brochure': 'ND Convocation Brochure',
86        'hnd_conv_brochure': 'HND Convocation Brochure',
87        'pgd_conv_brochure': 'PGD Convocation Brochure',
88        'log_book': 'Log Book',
89        'jamb_regularization': 'Jamb Regularization',
90        'utme_registration': 'UTME Registration',
91        'utme_cbt': 'UTME CBT',
92        'nysc_id_card': 'NYSC ID Card'
93        }
94
95    SELECTABLE_PAYMENT_CATEGORIES = {
96        'schoolfee': 'School Fee',
97        'carryover1': 'One CarryOver',
98        'carryover2': 'Two CarryOvers',
99        'carryover3': 'Three CarryOvers',
100        'hostel_maintenance': 'Hostel Maintenance',
101        'certificate': 'ND Certificate',
102        'hnd_certificate': 'HND Certificate',
103        'pgd_certificate': 'PGD Certificate',
104        'state_result': 'ND Statement of Result',
105        'hnd_state_result': 'HND Statement of Result',
106        'pgd_state_result': 'PGD Statement of Result',
107        'transcript_local': 'ND Transcript (local)',
108        'hnd_transcript_local': 'HND Transcript (local)',
109        'pgd_transcript_local': 'PGD Transcript (local)',
110        'transcript_foreign': 'ND Transcript (foreign)',
111        'hnd_transcript_foreign': 'HND Transcript (foreign)',
112        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
113        'ver_result': 'Verification of Result',
114        'change_course': 'Change of Course',
115        'change_inst': 'Change of Institute',
116        'jamb_reject': 'JAMB Rejection Form',
117        'cert_of_cert': 'Certification of Certificate',
118        'ref_let': 'Recommendation/Reference Letter',
119        'proc_cert': 'Processing of Certificate by Proxy',
120        'loss_idcard': 'Loss of ID Card (student)',
121        'staff_loss_idcard': 'Loss of ID Card (staff)',
122        'loss_examcard': 'Loss of Exam Card',
123        'loss_result': 'Loss of Result',
124        'loss_receipt': 'Loss of Receipt',
125        'loss_clearance': 'Loss of Clearance',
126        'conv_brochure': 'ND Convocation Brochure',
127        'hnd_conv_brochure': 'HND Convocation Brochure',
128        'pgd_conv_brochure': 'PGD Convocation Brochure',
129        'log_book': 'Log Book',
130        'jamb_regularization': 'Jamb Regularization',
131        'utme_registration': 'UTME Registration',
132        'utme_cbt': 'UTME CBT',
133        'nysc_id_card': 'NYSC ID Card'
134        }
135
136    DISABLE_PAYMENT_GROUP_DICT = {
137        'sf_all': 'School Fee - All Students',
138        'sf_non_pg': 'School Fee - Non-PG Students',
139        }
140
141    SPECIAL_HANDLING_DICT = {
142        'regular': 'Regular Hostel',
143        'blocked': 'Blocked Hostel',
144        'pg': 'Postgraduate Hostel',
145        'iot': 'IOT Hostel'
146        }
147
148    SPECIAL_APP_DICT = {
149        'certificate': 'ND Certificate',
150        'hnd_certificate': 'HND Certificate',
151        'pgd_certificate': 'PGD Certificate',
152        'state_result': 'ND Statement of Result',
153        'hnd_state_result': 'HND Statement of Result',
154        'pgd_state_result': 'PGD Statement of Result',
155        'transcript_local': 'ND Transcript (local)',
156        'hnd_transcript_local': 'HND Transcript (local)',
157        'pgd_transcript_local': 'PGD Transcript (local)',
158        'transcript_foreign': 'ND Transcript (foreign)',
159        'hnd_transcript_foreign': 'HND Transcript (foreign)',
160        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
161        'ver_result': 'Verification of Result Payment',
162        'change_course': 'Change of Course Payment',
163        'change_inst': 'Change of Institute Payment',
164        'jamb_reject': 'JAMB Rejection Form Payment',
165        'cert_of_cert': 'Certification of Certificate Payment',
166        'ref_let': 'Recommendation/Reference Letter Payment',
167        'proc_cert': 'Processing of Certificate by Proxy Payment',
168        'loss_idcard': 'Loss of ID Card (student)',
169        'staff_loss_idcard': 'Loss of ID Card (staff)',
170        'loss_examcard': 'Loss of Exam Card Payment',
171        'loss_result': 'Loss of Result Payment',
172        'loss_receipt': 'Loss of Receipt Payment',
173        'loss_clearance': 'Loss of Clearance Payment',
174        'conv_brochure': 'ND Convocation Brochure',
175        'hnd_conv_brochure': 'HND Convocation Brochure',
176        'pgd_conv_brochure': 'PGD Convocation Brochure',
177        'log_book': 'Log Book',
178        'jamb_regularization': 'Jamb Regularization',
179        'utme_registration': 'UTME Registration',
180        'utme_cbt': 'UTME CBT',
181        'nysc_id_card': 'NYSC ID Card'
182        }
Note: See TracBrowser for help on using the repository browser.