source: main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py @ 16497

Last change on this file since 16497 was 16497, checked in by Henrik Bettermann, 3 years ago

Add application type and category.

  • Property svn:keywords set to Id
File size: 9.4 KB
Line 
1## $Id: utils.py 16497 2021-06-03 06:20:48Z 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"""
20
21from copy import deepcopy
22from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
23
24class CustomKofaUtils(NigeriaKofaUtils):
25    """A collection of methods subject to customization.
26    """
27
28    PAYMENT_CATEGORIES = {
29        'schoolfee': 'Tuition Plus (total amount)',
30        'schoolfee40': 'Tuition Plus (40% - 1st instalment)',
31        'secondinstal': 'Tuition Plus (60% - 2nd instalment)',
32        'clearance': 'Acceptance Fee',
33        'grad_clearance': 'Clearance Fee',
34        'registration': 'Registration Fee',
35        #'bed_allocation': 'Bed Allocation Fee',
36        #'hostel_maintenance': 'Accommodation',
37        #'transfer': 'Transfer Fee',
38        #'gown': 'Gown Hire Fee',
39        'application': 'Application Fee',
40        'app_balance': 'Application Fee Balance',
41        'transcript': 'Transcript Fee',
42        'transcript_local': 'Transcript Fee Local',
43        'transcript_overseas': 'Transcript Fee Oversea',
44        'late_registration': 'Late Registration Fee',
45        'science': 'Science Bench Fee',
46        'clinical': 'Clinical Fee (Medical Students)',
47        'develop': 'Development Fee',
48        'municipal_fresh': 'Municipal Fee (Fresh Students)',
49        'municipal_returning': 'Municipal Fee (Returning Students)',
50        'alumni': 'Alumni Fee',
51        'conv': 'Convocation Fee',
52        'matric': 'Matriculation Fee',
53        'waecneco': 'WAEC/NECO Verification',
54        'jambver': 'JAMB Verification',
55        'book': 'Book Deposit',
56        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
57        'pharmlab': 'Pharmacy Lab Support Fee',
58        'lo_ident': 'Letter of Identification Fee',
59        'change_course': 'Change of Course Fee',
60        'make_up': 'Make-up Fee',
61        'iuits': 'IUITS Fee',
62        'fine': 'Fine',
63        'combi': 'Combi Payment',
64        'resit1': '1 Make-Up Examination Course',
65        'resit2': '2 Make-Up Examination Courses',
66        'resit3': '3 Make-Up Examination Courses',
67        'resit4': '4 Make-Up Examination Courses',
68        'resit5': '5 Make-Up Examination Courses',
69        'resit6': '6 Make-Up Examination Course',
70        'resit7': '7 Make-Up Examination Courses',
71        'resit8': '8 Make-Up Examination Courses',
72        'resit9': '9 Make-Up Examination Courses',
73        'id_card': 'Student ID Card',
74        'required_combi': 'Required Combi Payment',
75        'pg_other': 'PG Other Charges',
76        'jupeb_form':'JUPEB Form Fee',
77        'jupeb_acc':'JUPEB Acceptance Fee',
78        'jupeb_sci':'JUPEB Science Course',
79        'jupeb_arts':'JUPEB Arts Course',
80        'jupeb_hostel':'JUPEB Hostel Fee',
81        'jupeb_reg':'JUPEB Registration Fee',
82        }
83
84    SELECTABLE_PAYMENT_CATEGORIES = {
85        'schoolfee': 'Tuition Plus (total amount)',
86        'schoolfee40': 'Tuition Plus (40% - 1st instalment)',
87        'secondinstal': 'Tuition Plus (60% - 2nd instalment)',
88        'registration': 'Registration Fee',
89        'clearance': 'Acceptance Fee',
90        'grad_clearance': 'Clearance Fee',
91        #'bed_allocation': 'Bed Allocation Fee',
92        #'hostel_maintenance': 'Accommodation',
93        #'transfer': 'Transfer Fee',
94        #'gown': 'Gown Hire Fee',
95        'application': 'Application Fee',
96        #'app_balance': 'Application Fee Balance',
97        'transcript_local': 'Transcript Fee (Local Students)',
98        'transcript_overseas': 'Transcript Fee (Oversea Students)',
99        'late_registration': 'Late Registration Fee',
100        'science': 'Science Bench Fee',
101        'clinical': 'Clinical Fee (Medical Students)',
102        'develop': 'Development Fee',
103        'municipal_fresh': 'Municipal Fee (Fresh Students)',
104        'municipal_returning': 'Municipal Fee (Returning Students)',
105        'alumni': 'Alumni Fee',
106        'conv': 'Convocation Fee',
107        'matric': 'Matriculation Fee',
108        'waecneco': 'WAEC/NECO Verification',
109        'jambver': 'JAMB Verification',
110        'book': 'Book Deposit',
111        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
112        'pharmlab': 'Pharmacy Lab Support Fee',
113        'lo_ident': 'Letter of Identification Fee',
114        'change_course': 'Change of Course Fee',
115        #'make_up': 'Make-up Fee',
116        'iuits': 'IUITS Fee',
117        'fine': 'Fine',
118        'combi': 'Combi Payment',
119        'resit1': '1 Make-Up Examination Course',
120        'resit2': '2 Make-Up Examination Courses',
121        'resit3': '3 Make-Up Examination Courses',
122        'resit4': '4 Make-Up Examination Courses',
123        'resit5': '5 Make-Up Examination Courses',
124        'resit6': '6 Make-Up Examination Course',
125        'resit7': '7 Make-Up Examination Courses',
126        'resit8': '8 Make-Up Examination Courses',
127        'resit9': '9 Make-Up Examination Courses',
128        'id_card': 'Student ID Card',
129        'required_combi': 'Required Combi Payment',
130        'pg_other': 'PG Other Charges',
131        'jupeb_form':'JUPEB Form Fee',
132        'jupeb_acc':'JUPEB Acceptance Fee',
133        'jupeb_sci':'JUPEB Science Course',
134        'jupeb_arts':'JUPEB Arts Course',
135        'jupeb_hostel':'JUPEB Hostel Fee',
136        'jupeb_reg':'JUPEB Registration Fee',
137        }
138
139    PREVIOUS_PAYMENT_CATEGORIES = {
140        'schoolfee': 'Tuition, Accommodation, Adm. Charges',
141        'registration': 'Registration Fee',
142        'clearance': 'Acceptance Fee',
143        'grad_clearance': 'Clearance Fee',
144        'application': 'Application Fee',
145        'late_registration': 'Late Registration Fee',
146        'science': 'Science Bench Fee',
147        'clinical': 'Clinical Fee (Medical Students)',
148        'develop': 'Development Fee',
149        'municipal_fresh': 'Municipal Fee (Fresh Students)',
150        'municipal_returning': 'Municipal Fee (Returning Students)',
151        'alumni': 'Alumni Fee',
152        'conv': 'Convocation Fee',
153        'matric': 'Matriculation Fee',
154        'waecneco': 'WAEC/NECO Verification',
155        'jambver': 'JAMB Verification',
156        'book': 'Book Deposit',
157        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
158        'pharmlab': 'Pharmacy Lab Support Fee',
159        'lo_ident': 'Letter of Identification Fee',
160        'change_course': 'Change of Course Fee',
161        'make_up': 'Make-up Fee',
162        'iuits': 'IUITS Fee',
163        'fine': 'Fine',
164        'id_card': 'Student ID Card',
165        'required_combi': 'Required Combi Payment',
166        'pg_other': 'PG Other Charges',
167        'jupeb_form':'JUPEB Form Fee',
168        'jupeb_acc':'JUPEB Acceptance Fee',
169        'jupeb_sci':'JUPEB Science Course',
170        'jupeb_arts':'JUPEB Arts Course',
171        'jupeb_hostel':'JUPEB Hostel Fee',
172        'jupeb_reg':'JUPEB Registration Fee',
173        }
174
175    COMBI_PAYMENT_CATEGORIES = {
176        'registration': 'Registration Fee',
177        'grad_clearance': 'Clearance Fee',
178        'late_registration': 'Late Registration Fee',
179        'science': 'Science Bench Fee',
180        'clinical': 'Clinical Fee (Medical Students)',
181        'develop': 'Development Fee',
182        'municipal_fresh': 'Municipal Fee (Fresh Students)',
183        'municipal_returning': 'Municipal Fee (Returning Students)',
184        'alumni': 'Alumni Fee',
185        'conv': 'Convocation Fee',
186        'matric': 'Matriculation Fee',
187        'waecneco': 'WAEC/NECO Verification',
188        'jambver': 'JAMB Verification',
189        'book': 'Book Deposit',
190        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
191        'pharmlab': 'Pharmacy Lab Support Fee',
192        'lo_ident': 'Letter of Identification Fee',
193        'change_course': 'Change of Course Fee',
194        'make_up': 'Make-up Fee',
195        'iuits': 'IUITS Fee',
196        'fine': 'Fine',
197        'id_card': 'Student ID Card',
198        'pg_other': 'PG Other Charges',
199        'jupeb_form':'JUPEB Form Fee',
200        'jupeb_acc':'JUPEB Acceptance Fee',
201        'jupeb_sci':'JUPEB Science Course',
202        'jupeb_arts':'JUPEB Arts Course',
203        'jupeb_hostel':'JUPEB Hostel Fee',
204        'jupeb_reg':'JUPEB Registration Fee',
205        }
206
207    BALANCE_PAYMENT_CATEGORIES = {
208        'schoolfee': 'Tuition, Accommodation, Adm. Charges',
209        }
210
211    PAYMENT_OPTIONS = {
212        'first': 'First Bank Debit Card',
213        'access': 'Access Bank Debit Card',
214        'zenith': 'Zenith Bank Debit Card',
215        'other': 'Other Bank Debit Card',
216        }
217
218    APP_CATS_DICT = {
219        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
220        'no': 'No Application',
221        'pg': 'Postgraduate Programmes',
222        'pg2': 'Postgraduate Programmes 2',
223        'pgphd': 'Postgraduate PhD/MPhil',
224        'pre': 'Pre-Degree Studies',
225        'pt': 'Part-Time Degree Programmes',
226        'ut': 'Undergraduate Programmes',
227        }
228
229    #: Maximum size in Bytes of passport images in the applicants and
230    #: students section
231    MAX_PASSPORT_SIZE = 250 * 1024
Note: See TracBrowser for help on using the repository browser.