source: main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py @ 14869

Last change on this file since 14869 was 14869, checked in by Henrik Bettermann, 7 years ago

Add balance payment application category.

  • Property svn:keywords set to Id
File size: 8.7 KB
Line 
1## $Id: utils.py 14869 2017-10-12 08:35:31Z 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    APP_CATS_DICT = {
27        'basic': 'Basic',
28        'ndft': 'National Diploma Full-Time Programmes',
29        'ndpt': 'National Diploma Part-Time Programmes',
30        'ndwe': 'National Diploma Weekend Programmes',
31        'hndft': 'Higher National Diploma Full-Time Programmes',
32        'hndpt': 'Higher National Diploma Part-Time Programmes',
33        'hndwe': 'Higher National Diploma Weekend Programmes',
34        'pgd': 'Postgraduate Diploma Programmes',
35        'rmd': 'Remedial Programmes',
36        'no': 'no application',
37        }
38
39    STUDY_MODES_DICT = {
40        'ug_ft': 'Undergraduate Full Time',
41        'ug_pt': 'Undergraduate Part Time',
42        'nd_ft': 'National Diploma Full-Time',
43        'nd_pt': 'National Diploma Part-Time',
44        'nd_we': 'National Diploma Weekend',
45        'hnd_ft': 'Higher National Diploma Full-Time',
46        'hnd_pt': 'Higher National Diploma Part-Time',
47        'hnd_we': 'Higher National Diploma Weekend',
48        'pgd_ft': 'Postgraduate Diploma Full-Time',
49        'pgd_pt': 'Postgraduate Diploma Part-Time',
50        'prend': 'Pre-ND',
51        'rmd': 'Remedial',
52        }
53
54    PAYMENT_CATEGORIES = {
55        'clearance': 'Acceptance',
56        'schoolfee': 'School Fee',
57        'carryover1': '1, 2 or 3 Carry-Over Courses',
58        'carryover4': '4 Carry-Over Courses',
59        'carryover5': '5 Carry-Over Courses',
60        'carryover6': '6 Carry-Over Courses',
61        'carryover7': '7 Carry-Over Courses',
62        'carryover8': '8 Carry-Over Courses',
63        'carryover9': '9 Carry-Over Courses',
64        'carryover10': '10 Carry-Over Courses',
65        'carryover11': '11 Carry-Over Courses',
66        'carryover12': '12 Carry-Over Courses',
67        'balance': 'Balance Payment',
68        'bed_allocation': 'Bed Allocation',
69        'hostel_maintenance': 'Hostel Maintenance',
70        'application': 'Application',
71        'certificate': 'ND Certificate',
72        'hnd_certificate': 'HND Certificate',
73        'pgd_certificate': 'PGD Certificate',
74        'state_result': 'ND Statement of Result',
75        'hnd_state_result': 'HND Statement of Result',
76        'pgd_state_result': 'PGD Statement of Result',
77        'transcript_local': 'ND Transcript (local)',
78        'hnd_transcript_local': 'HND Transcript (local)',
79        'pgd_transcript_local': 'PGD Transcript (local)',
80        'transcript_foreign': 'ND Transcript (foreign)',
81        'hnd_transcript_foreign': 'HND Transcript (foreign)',
82        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
83        'ver_result': 'Verification of Result',
84        'change_course': 'Change of Course',
85        'change_inst': 'Change of Institute',
86        'jamb_reject': 'JAMB Rejection Form',
87        'cert_of_cert': 'Certification of Certificate',
88        'ref_let': 'Recommendation/Reference Letter',
89        'proc_cert': 'Processing of Certificate by Proxy',
90        'loss_idcard': 'Loss of ID Card (student)',
91        'staff_loss_idcard': 'Loss of ID Card (staff)',
92        'loss_examcard': 'Loss of Exam Card',
93        'loss_result': 'Loss of Result',
94        'loss_receipt': 'Loss of Receipt',
95        'loss_clearance': 'Loss of Clearance',
96        'conv_brochure': 'ND Convocation Brochure',
97        'hnd_conv_brochure': 'HND Convocation Brochure',
98        'pgd_conv_brochure': 'PGD Convocation Brochure',
99        'log_book': 'Log Book',
100        'jamb_regularization': 'Jamb Regularization',
101        'utme_registration': 'UTME Registration',
102        'utme_cbt': 'UTME CBT',
103        'nysc_id_card': 'NYSC ID Card',
104        'ijmb_result':'IJMB Result',
105        }
106
107    SELECTABLE_PAYMENT_CATEGORIES = {
108        'clearance': 'Acceptance',
109        'schoolfee': 'School Fee',
110        #'carryover1': 'One Carry-Over',
111        #'carryover2': 'Two Carry-Overs',
112        #'carryover3': 'Three Carry-Overs',
113        #'carryover4': 'Four Carry-Overs',
114        #'hostel_maintenance': 'Hostel Maintenance',
115        #'certificate': 'ND Certificate',
116        #'hnd_certificate': 'HND Certificate',
117        #'pgd_certificate': 'PGD Certificate',
118        #'state_result': 'ND Statement of Result',
119        #'hnd_state_result': 'HND Statement of Result',
120        #'pgd_state_result': 'PGD Statement of Result',
121        #'transcript_local': 'ND Transcript (local)',
122        #'hnd_transcript_local': 'HND Transcript (local)',
123        #'pgd_transcript_local': 'PGD Transcript (local)',
124        #'transcript_foreign': 'ND Transcript (foreign)',
125        #'hnd_transcript_foreign': 'HND Transcript (foreign)',
126        #'pgd_transcript_foreign': 'PGD Transcript (foreign)',
127        #'ver_result': 'Verification of Result',
128        #'change_course': 'Change of Course',
129        #'change_inst': 'Change of Institute',
130        #'jamb_reject': 'JAMB Rejection Form',
131        #'cert_of_cert': 'Certification of Certificate',
132        #'ref_let': 'Recommendation/Reference Letter',
133        #'proc_cert': 'Processing of Certificate by Proxy',
134        #'loss_idcard': 'Loss of ID Card (student)',
135        #'staff_loss_idcard': 'Loss of ID Card (staff)',
136        #'loss_examcard': 'Loss of Exam Card',
137        #'loss_result': 'Loss of Result',
138        #'loss_receipt': 'Loss of Receipt',
139        #'loss_clearance': 'Loss of Clearance',
140        #'conv_brochure': 'ND Convocation Brochure',
141        #'hnd_conv_brochure': 'HND Convocation Brochure',
142        #'pgd_conv_brochure': 'PGD Convocation Brochure',
143        #'log_book': 'Log Book',
144        #'jamb_regularization': 'Jamb Regularization',
145        #'utme_registration': 'UTME Registration',
146        #'utme_cbt': 'UTME CBT',
147        #'nysc_id_card': 'NYSC ID Card',
148        #'ijmb_result':'IJMB Result',
149        }
150
151    SPECIAL_APP_DICT = {
152        'certificate': 'ND Certificate',
153        'hnd_certificate': 'HND Certificate',
154        'pgd_certificate': 'PGD Certificate',
155        'state_result': 'ND Statement of Result',
156        'hnd_state_result': 'HND Statement of Result',
157        'pgd_state_result': 'PGD Statement of Result',
158        'transcript_local': 'ND Transcript (local)',
159        'hnd_transcript_local': 'HND Transcript (local)',
160        'pgd_transcript_local': 'PGD Transcript (local)',
161        'transcript_foreign': 'ND Transcript (foreign)',
162        'hnd_transcript_foreign': 'HND Transcript (foreign)',
163        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
164        'ver_result': 'Verification of Result',
165        'change_course': 'Change of Course',
166        'change_inst': 'Change of Institute',
167        'jamb_reject': 'JAMB Rejection Form',
168        'cert_of_cert': 'Certification of Certificate',
169        'ref_let': 'Recommendation/Reference Letter',
170        'proc_cert': 'Processing of Certificate by Proxy',
171        'loss_idcard': 'Loss of ID Card (student)',
172        'staff_loss_idcard': 'Loss of ID Card (staff)',
173        'loss_examcard': 'Loss of Exam Card',
174        'loss_result': 'Loss of Result',
175        'loss_receipt': 'Loss of Receipt',
176        'loss_clearance': 'Loss of Clearance',
177        'conv_brochure': 'ND Convocation Brochure',
178        'hnd_conv_brochure': 'HND Convocation Brochure',
179        'pgd_conv_brochure': 'PGD Convocation Brochure',
180        'log_book': 'Log Book',
181        'jamb_regularization': 'Jamb Regularization',
182        'utme_registration': 'UTME Registration',
183        'utme_cbt': 'UTME CBT',
184        'nysc_id_card': 'NYSC ID Card',
185        'ijmb_result':'IJMB Result',
186        'carryover1': '01, 02 or 03 Carry-Over Courses',
187        'carryover4': '04 Carry-Over Courses',
188        'carryover5': '05 Carry-Over Courses',
189        'carryover6': '06 Carry-Over Courses',
190        'carryover7': '07 Carry-Over Courses',
191        'carryover8': '08 Carry-Over Courses',
192        'carryover9': '09 Carry-Over Courses',
193        'carryover10': '10 Carry-Over Courses',
194        'carryover11': '11 Carry-Over Courses',
195        'carryover12': '12 Carry-Over Courses',
196        'balance': 'Balance Payment',
197        }
Note: See TracBrowser for help on using the repository browser.