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

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

Add application type and category.

  • Property svn:keywords set to Id
File size: 9.4 KB
RevLine 
[10765]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"""
[15645]20
21from copy import deepcopy
[10765]22from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
23
24class CustomKofaUtils(NigeriaKofaUtils):
25    """A collection of methods subject to customization.
26    """
27
[15645]28    PAYMENT_CATEGORIES = {
[15663]29        'schoolfee': 'Tuition Plus (total amount)',
30        'schoolfee40': 'Tuition Plus (40% - 1st instalment)',
[15773]31        'secondinstal': 'Tuition Plus (60% - 2nd instalment)',
[15645]32        'clearance': 'Acceptance Fee',
[16212]33        'grad_clearance': 'Clearance Fee',
[15728]34        'registration': 'Registration Fee',
[15661]35        #'bed_allocation': 'Bed Allocation Fee',
36        #'hostel_maintenance': 'Accommodation',
[15645]37        #'transfer': 'Transfer Fee',
38        #'gown': 'Gown Hire Fee',
39        'application': 'Application Fee',
40        'app_balance': 'Application Fee Balance',
[16142]41        'transcript': 'Transcript Fee',
[15789]42        'transcript_local': 'Transcript Fee Local',
43        'transcript_overseas': 'Transcript Fee Oversea',
[15645]44        'late_registration': 'Late Registration Fee',
45        'science': 'Science Bench Fee',
46        'clinical': 'Clinical Fee (Medical Students)',
47        'develop': 'Development Fee',
[16223]48        'municipal_fresh': 'Municipal Fee (Fresh Students)',
49        'municipal_returning': 'Municipal Fee (Returning Students)',
[15645]50        'alumni': 'Alumni Fee',
51        'conv': 'Convocation Fee',
52        'matric': 'Matriculation Fee',
[16305]53        'waecneco': 'WAEC/NECO Verification',
[15645]54        'jambver': 'JAMB Verification',
55        'book': 'Book Deposit',
56        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
57        'pharmlab': 'Pharmacy Lab Support Fee',
[15736]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',
[15686]63        'combi': 'Combi Payment',
[15937]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',
[16111]73        'id_card': 'Student ID Card',
[16222]74        'required_combi': 'Required Combi Payment',
[16233]75        'pg_other': 'PG Other Charges',
[16395]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',
[15645]82        }
83
84    SELECTABLE_PAYMENT_CATEGORIES = {
[16233]85        'schoolfee': 'Tuition Plus (total amount)',
86        'schoolfee40': 'Tuition Plus (40% - 1st instalment)',
87        'secondinstal': 'Tuition Plus (60% - 2nd instalment)',
[15728]88        'registration': 'Registration Fee',
[16208]89        'clearance': 'Acceptance Fee',
[16212]90        'grad_clearance': 'Clearance Fee',
[15645]91        #'bed_allocation': 'Bed Allocation Fee',
[15661]92        #'hostel_maintenance': 'Accommodation',
[15645]93        #'transfer': 'Transfer Fee',
94        #'gown': 'Gown Hire Fee',
[16394]95        'application': 'Application Fee',
[15645]96        #'app_balance': 'Application Fee Balance',
[15789]97        'transcript_local': 'Transcript Fee (Local Students)',
98        'transcript_overseas': 'Transcript Fee (Oversea Students)',
[15645]99        'late_registration': 'Late Registration Fee',
100        'science': 'Science Bench Fee',
101        'clinical': 'Clinical Fee (Medical Students)',
102        'develop': 'Development Fee',
[15789]103        'municipal_fresh': 'Municipal Fee (Fresh Students)',
104        'municipal_returning': 'Municipal Fee (Returning Students)',
[15645]105        'alumni': 'Alumni Fee',
106        'conv': 'Convocation Fee',
107        'matric': 'Matriculation Fee',
[16305]108        'waecneco': 'WAEC/NECO Verification',
[15645]109        'jambver': 'JAMB Verification',
110        'book': 'Book Deposit',
111        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
112        'pharmlab': 'Pharmacy Lab Support Fee',
[15736]113        'lo_ident': 'Letter of Identification Fee',
114        'change_course': 'Change of Course Fee',
[15937]115        #'make_up': 'Make-up Fee',
[15736]116        'iuits': 'IUITS Fee',
117        'fine': 'Fine',
[15781]118        'combi': 'Combi Payment',
[15937]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',
[16111]128        'id_card': 'Student ID Card',
[16222]129        'required_combi': 'Required Combi Payment',
[16233]130        'pg_other': 'PG Other Charges',
[16395]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',
[15645]137        }
138
[15661]139    PREVIOUS_PAYMENT_CATEGORIES = {
[16233]140        'schoolfee': 'Tuition, Accommodation, Adm. Charges',
[15728]141        'registration': 'Registration Fee',
[16208]142        'clearance': 'Acceptance Fee',
[16212]143        'grad_clearance': 'Clearance Fee',
[15661]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',
[15789]149        'municipal_fresh': 'Municipal Fee (Fresh Students)',
150        'municipal_returning': 'Municipal Fee (Returning Students)',
[15661]151        'alumni': 'Alumni Fee',
152        'conv': 'Convocation Fee',
153        'matric': 'Matriculation Fee',
[16305]154        'waecneco': 'WAEC/NECO Verification',
[15661]155        'jambver': 'JAMB Verification',
156        'book': 'Book Deposit',
157        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
158        'pharmlab': 'Pharmacy Lab Support Fee',
[15736]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',
[16111]164        'id_card': 'Student ID Card',
[16258]165        'required_combi': 'Required Combi Payment',
[16233]166        'pg_other': 'PG Other Charges',
[16395]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',
[15675]173        }
174
175    COMBI_PAYMENT_CATEGORIES = {
[16284]176        'registration': 'Registration Fee',
[16212]177        'grad_clearance': 'Clearance Fee',
[15675]178        'late_registration': 'Late Registration Fee',
179        'science': 'Science Bench Fee',
180        'clinical': 'Clinical Fee (Medical Students)',
[16284]181        'develop': 'Development Fee',
182        'municipal_fresh': 'Municipal Fee (Fresh Students)',
183        'municipal_returning': 'Municipal Fee (Returning Students)',
[15675]184        'alumni': 'Alumni Fee',
185        'conv': 'Convocation Fee',
186        'matric': 'Matriculation Fee',
[16305]187        'waecneco': 'WAEC/NECO Verification',
[15675]188        'jambver': 'JAMB Verification',
[16284]189        'book': 'Book Deposit',
190        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
[15675]191        'pharmlab': 'Pharmacy Lab Support Fee',
[15736]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',
[16111]197        'id_card': 'Student ID Card',
[16233]198        'pg_other': 'PG Other Charges',
[16395]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',
[15738]205        }
206
[16015]207    BALANCE_PAYMENT_CATEGORIES = {
[16233]208        'schoolfee': 'Tuition, Accommodation, Adm. Charges',
[16015]209        }
210
[16434]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
[15738]218    APP_CATS_DICT = {
219        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
220        'no': 'No Application',
[15858]221        'pg': 'Postgraduate Programmes',
[16092]222        'pg2': 'Postgraduate Programmes 2',
[16497]223        'pgphd': 'Postgraduate PhD/MPhil',
[15738]224        'pre': 'Pre-Degree Studies',
[15809]225        'pt': 'Part-Time Degree Programmes',
[15858]226        'ut': 'Undergraduate Programmes',
[15738]227        }
[15877]228
229    #: Maximum size in Bytes of passport images in the applicants and
230    #: students section
[16048]231    MAX_PASSPORT_SIZE = 250 * 1024
Note: See TracBrowser for help on using the repository browser.