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

Last change on this file since 16015 was 16015, checked in by Henrik Bettermann, 5 years ago

Make balance payments available to students.

  • Property svn:keywords set to Id
File size: 8.8 KB
Line 
1## $Id: utils.py 16015 2020-02-26 20:45:25Z 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        'registration': 'Registration Fee',
34        #'bed_allocation': 'Bed Allocation Fee',
35        #'hostel_maintenance': 'Accommodation',
36        #'transfer': 'Transfer Fee',
37        #'gown': 'Gown Hire Fee',
38        'application': 'Application Fee',
39        'app_balance': 'Application Fee Balance',
40        'transcript_local': 'Transcript Fee Local',
41        'transcript_overseas': 'Transcript Fee Oversea',
42        'late_registration': 'Late Registration Fee',
43        'science': 'Science Bench Fee',
44        'clinical': 'Clinical Fee (Medical Students)',
45        'develop': 'Development Fee',
46        'municipal_fresh': 'Municipal Fee Fresh)',
47        'municipal_returning': 'Municipal Fee Returning)',
48        'alumni': 'Alumni Fee',
49        'conv': 'Convocation Fee',
50        'matric': 'Matriculation Fee',
51        'waecneco': 'WAEC & NECO Verification',
52        'jambver': 'JAMB Verification',
53        'book': 'Book Deposit',
54        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
55        'pharmlab': 'Pharmacy Lab Support Fee',
56        'lo_ident': 'Letter of Identification Fee',
57        'change_course': 'Change of Course Fee',
58        'make_up': 'Make-up Fee',
59        'iuits': 'IUITS Fee',
60        'fine': 'Fine',
61        'combi': 'Combi Payment',
62        'resit1': '1 Make-Up Examination Course',
63        'resit2': '2 Make-Up Examination Courses',
64        'resit3': '3 Make-Up Examination Courses',
65        'resit4': '4 Make-Up Examination Courses',
66        'resit5': '5 Make-Up Examination Courses',
67        'resit6': '6 Make-Up Examination Course',
68        'resit7': '7 Make-Up Examination Courses',
69        'resit8': '8 Make-Up Examination Courses',
70        'resit9': '9 Make-Up Examination Courses',
71        }
72
73    SELECTABLE_PAYMENT_CATEGORIES = {
74        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
75        'schoolfee40': 'Tuition, Accommodation, Adm. Charges (40% - 1st instalment)',
76        'secondinstal': 'Tuition, Accommodation, Adm. Charges (60% - 2nd instalment)',
77        'registration': 'Registration Fee',
78        #'bed_allocation': 'Bed Allocation Fee',
79        #'hostel_maintenance': 'Accommodation',
80        #'transfer': 'Transfer Fee',
81        #'gown': 'Gown Hire Fee',
82        #'application': 'Application Fee',
83        #'app_balance': 'Application Fee Balance',
84        'transcript_local': 'Transcript Fee (Local Students)',
85        'transcript_overseas': 'Transcript Fee (Oversea Students)',
86        'late_registration': 'Late Registration Fee',
87        'science': 'Science Bench Fee',
88        'clinical': 'Clinical Fee (Medical Students)',
89        'develop': 'Development Fee',
90        'municipal_fresh': 'Municipal Fee (Fresh Students)',
91        'municipal_returning': 'Municipal Fee (Returning Students)',
92        'alumni': 'Alumni Fee',
93        'conv': 'Convocation Fee',
94        'matric': 'Matriculation Fee',
95        'waecneco': 'WAEC & NECO Verification',
96        'jambver': 'JAMB Verification',
97        'book': 'Book Deposit',
98        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
99        'pharmlab': 'Pharmacy Lab Support Fee',
100        'lo_ident': 'Letter of Identification Fee',
101        'change_course': 'Change of Course Fee',
102        #'make_up': 'Make-up Fee',
103        'iuits': 'IUITS Fee',
104        'fine': 'Fine',
105        'combi': 'Combi Payment',
106        'resit1': '1 Make-Up Examination Course',
107        'resit2': '2 Make-Up Examination Courses',
108        'resit3': '3 Make-Up Examination Courses',
109        'resit4': '4 Make-Up Examination Courses',
110        'resit5': '5 Make-Up Examination Courses',
111        'resit6': '6 Make-Up Examination Course',
112        'resit7': '7 Make-Up Examination Courses',
113        'resit8': '8 Make-Up Examination Courses',
114        'resit9': '9 Make-Up Examination Courses',
115        }
116
117    PREVIOUS_PAYMENT_CATEGORIES = {
118        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
119        'registration': 'Registration Fee',
120        'application': 'Application Fee',
121        'late_registration': 'Late Registration Fee',
122        'science': 'Science Bench Fee',
123        'clinical': 'Clinical Fee (Medical Students)',
124        'develop': 'Development Fee',
125        'municipal_fresh': 'Municipal Fee (Fresh Students)',
126        'municipal_returning': 'Municipal Fee (Returning Students)',
127        'alumni': 'Alumni Fee',
128        'conv': 'Convocation Fee',
129        'matric': 'Matriculation Fee',
130        'waecneco': 'WAEC & NECO Verification',
131        'jambver': 'JAMB Verification',
132        'book': 'Book Deposit',
133        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
134        'pharmlab': 'Pharmacy Lab Support Fee',
135        'lo_ident': 'Letter of Identification Fee',
136        'change_course': 'Change of Course Fee',
137        'make_up': 'Make-up Fee',
138        'iuits': 'IUITS Fee',
139        'fine': 'Fine',
140        }
141
142    COMBI_PAYMENT_CATEGORIES = {
143        'late_registration': 'Late Registration Fee',
144        'science': 'Science Bench Fee',
145        'clinical': 'Clinical Fee (Medical Students)',
146        'develop': 'Development Fee',
147        'municipal_fresh': 'Municipal Fee (Fresh Students)',
148        'municipal_returning': 'Municipal Fee (Returning Students)',
149        'alumni': 'Alumni Fee',
150        'conv': 'Convocation Fee',
151        'matric': 'Matriculation Fee',
152        'waecneco': 'WAEC & NECO Verification',
153        'jambver': 'JAMB Verification',
154        #'book': 'Book Deposit',
155        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
156        'pharmlab': 'Pharmacy Lab Support Fee',
157        'lo_ident': 'Letter of Identification Fee',
158        'change_course': 'Change of Course Fee',
159        'make_up': 'Make-up Fee',
160        'iuits': 'IUITS Fee',
161        'fine': 'Fine',
162        }
163
164    BALANCE_PAYMENT_CATEGORIES = {
165        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
166        'registration': 'Registration Fee',
167        'transcript_local': 'Transcript Fee (Local Students)',
168        'transcript_overseas': 'Transcript Fee (Oversea Students)',
169        'late_registration': 'Late Registration Fee',
170        'science': 'Science Bench Fee',
171        'clinical': 'Clinical Fee (Medical Students)',
172        'develop': 'Development Fee',
173        'municipal_fresh': 'Municipal Fee (Fresh Students)',
174        'municipal_returning': 'Municipal Fee (Returning Students)',
175        'alumni': 'Alumni Fee',
176        'conv': 'Convocation Fee',
177        'matric': 'Matriculation Fee',
178        'waecneco': 'WAEC & NECO Verification',
179        'jambver': 'JAMB Verification',
180        'book': 'Book Deposit',
181        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
182        'pharmlab': 'Pharmacy Lab Support Fee',
183        'lo_ident': 'Letter of Identification Fee',
184        'change_course': 'Change of Course Fee',
185        'iuits': 'IUITS Fee',
186        'fine': 'Fine',
187        'combi': 'Combi Payment',
188        'resit1': '1 Make-Up Examination Course',
189        'resit2': '2 Make-Up Examination Courses',
190        'resit3': '3 Make-Up Examination Courses',
191        'resit4': '4 Make-Up Examination Courses',
192        'resit5': '5 Make-Up Examination Courses',
193        'resit6': '6 Make-Up Examination Course',
194        'resit7': '7 Make-Up Examination Courses',
195        'resit8': '8 Make-Up Examination Courses',
196        'resit9': '9 Make-Up Examination Courses',
197        }
198
199    APP_CATS_DICT = {
200        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
201        'no': 'No Application',
202        'pg': 'Postgraduate Programmes',
203        'pre': 'Pre-Degree Studies',
204        'pt': 'Part-Time Degree Programmes',
205        'ut': 'Undergraduate Programmes',
206        }
207
208    #: Maximum size in Bytes of passport images in the applicants and
209    #: students section
210    MAX_PASSPORT_SIZE = 100 * 1024
Note: See TracBrowser for help on using the repository browser.