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

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

Customize setPaymentDetails.

  • Property svn:keywords set to Id
File size: 7.9 KB
Line 
1## $Id: utils.py 14861 2017-10-06 08:09:47Z 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': 'One Carry-Over',
58        'carryover2': 'Two Carry-Overs',
59        'carryover3': 'Three Carry-Overs',
60        'carryover4': 'Four Carry-Overs',
61        'bed_allocation': 'Bed Allocation',
62        'hostel_maintenance': 'Hostel Maintenance',
63        'application': 'Application',
64        'certificate': 'ND Certificate',
65        'hnd_certificate': 'HND Certificate',
66        'pgd_certificate': 'PGD Certificate',
67        'state_result': 'ND Statement of Result',
68        'hnd_state_result': 'HND Statement of Result',
69        'pgd_state_result': 'PGD Statement of Result',
70        'transcript_local': 'ND Transcript (local)',
71        'hnd_transcript_local': 'HND Transcript (local)',
72        'pgd_transcript_local': 'PGD Transcript (local)',
73        'transcript_foreign': 'ND Transcript (foreign)',
74        'hnd_transcript_foreign': 'HND Transcript (foreign)',
75        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
76        'ver_result': 'Verification of Result',
77        'change_course': 'Change of Course',
78        'change_inst': 'Change of Institute',
79        'jamb_reject': 'JAMB Rejection Form',
80        'cert_of_cert': 'Certification of Certificate',
81        'ref_let': 'Recommendation/Reference Letter',
82        'proc_cert': 'Processing of Certificate by Proxy',
83        'loss_idcard': 'Loss of ID Card (student)',
84        'staff_loss_idcard': 'Loss of ID Card (staff)',
85        'loss_examcard': 'Loss of Exam Card',
86        'loss_result': 'Loss of Result',
87        'loss_receipt': 'Loss of Receipt',
88        'loss_clearance': 'Loss of Clearance',
89        'conv_brochure': 'ND Convocation Brochure',
90        'hnd_conv_brochure': 'HND Convocation Brochure',
91        'pgd_conv_brochure': 'PGD Convocation Brochure',
92        'log_book': 'Log Book',
93        'jamb_regularization': 'Jamb Regularization',
94        'utme_registration': 'UTME Registration',
95        'utme_cbt': 'UTME CBT',
96        'nysc_id_card': 'NYSC ID Card',
97        'ijmb_result':'IJMB Result',
98        }
99
100    SELECTABLE_PAYMENT_CATEGORIES = {
101        'clearance': 'Acceptance',
102        'schoolfee': 'School Fee',
103        'carryover1': 'One Carry-Over',
104        'carryover2': 'Two Carry-Overs',
105        'carryover3': 'Three Carry-Overs',
106        'carryover4': 'Four Carry-Overs',
107        'hostel_maintenance': 'Hostel Maintenance',
108        'certificate': 'ND Certificate',
109        'hnd_certificate': 'HND Certificate',
110        'pgd_certificate': 'PGD Certificate',
111        'state_result': 'ND Statement of Result',
112        'hnd_state_result': 'HND Statement of Result',
113        'pgd_state_result': 'PGD Statement of Result',
114        'transcript_local': 'ND Transcript (local)',
115        'hnd_transcript_local': 'HND Transcript (local)',
116        'pgd_transcript_local': 'PGD Transcript (local)',
117        'transcript_foreign': 'ND Transcript (foreign)',
118        'hnd_transcript_foreign': 'HND Transcript (foreign)',
119        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
120        'ver_result': 'Verification of Result',
121        'change_course': 'Change of Course',
122        'change_inst': 'Change of Institute',
123        'jamb_reject': 'JAMB Rejection Form',
124        'cert_of_cert': 'Certification of Certificate',
125        'ref_let': 'Recommendation/Reference Letter',
126        'proc_cert': 'Processing of Certificate by Proxy',
127        'loss_idcard': 'Loss of ID Card (student)',
128        'staff_loss_idcard': 'Loss of ID Card (staff)',
129        'loss_examcard': 'Loss of Exam Card',
130        'loss_result': 'Loss of Result',
131        'loss_receipt': 'Loss of Receipt',
132        'loss_clearance': 'Loss of Clearance',
133        'conv_brochure': 'ND Convocation Brochure',
134        'hnd_conv_brochure': 'HND Convocation Brochure',
135        'pgd_conv_brochure': 'PGD Convocation Brochure',
136        'log_book': 'Log Book',
137        'jamb_regularization': 'Jamb Regularization',
138        'utme_registration': 'UTME Registration',
139        'utme_cbt': 'UTME CBT',
140        'nysc_id_card': 'NYSC ID Card',
141        'ijmb_result':'IJMB Result',
142        }
143
144    SPECIAL_APP_DICT = {
145        'certificate': 'ND Certificate',
146        'hnd_certificate': 'HND Certificate',
147        'pgd_certificate': 'PGD Certificate',
148        'state_result': 'ND Statement of Result',
149        'hnd_state_result': 'HND Statement of Result',
150        'pgd_state_result': 'PGD Statement of Result',
151        'transcript_local': 'ND Transcript (local)',
152        'hnd_transcript_local': 'HND Transcript (local)',
153        'pgd_transcript_local': 'PGD Transcript (local)',
154        'transcript_foreign': 'ND Transcript (foreign)',
155        'hnd_transcript_foreign': 'HND Transcript (foreign)',
156        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
157        'ver_result': 'Verification of Result Payment',
158        'change_course': 'Change of Course Payment',
159        'change_inst': 'Change of Institute Payment',
160        'jamb_reject': 'JAMB Rejection Form Payment',
161        'cert_of_cert': 'Certification of Certificate Payment',
162        'ref_let': 'Recommendation/Reference Letter Payment',
163        'proc_cert': 'Processing of Certificate by Proxy Payment',
164        'loss_idcard': 'Loss of ID Card (student)',
165        'staff_loss_idcard': 'Loss of ID Card (staff)',
166        'loss_examcard': 'Loss of Exam Card Payment',
167        'loss_result': 'Loss of Result Payment',
168        'loss_receipt': 'Loss of Receipt Payment',
169        'loss_clearance': 'Loss of Clearance Payment',
170        'conv_brochure': 'ND Convocation Brochure',
171        'hnd_conv_brochure': 'HND Convocation Brochure',
172        'pgd_conv_brochure': 'PGD Convocation Brochure',
173        'log_book': 'Log Book',
174        'jamb_regularization': 'Jamb Regularization',
175        'utme_registration': 'UTME Registration',
176        'utme_cbt': 'UTME CBT',
177        'nysc_id_card': 'NYSC ID Card',
178        'ijmb_result':'IJMB Result',
179        }
Note: See TracBrowser for help on using the repository browser.