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

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

"custom/balance payment" option should only be applied to

"Tuition"

  • Property svn:keywords set to Id
File size: 7.6 KB
Line 
1## $Id: utils.py 16125 2020-06-24 04:11:51Z 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        'id_card': 'Student ID Card',
72        }
73
74    SELECTABLE_PAYMENT_CATEGORIES = {
75        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
76        'schoolfee40': 'Tuition, Accommodation, Adm. Charges (40% - 1st instalment)',
77        'secondinstal': 'Tuition, Accommodation, Adm. Charges (60% - 2nd instalment)',
78        'registration': 'Registration Fee',
79        #'bed_allocation': 'Bed Allocation Fee',
80        #'hostel_maintenance': 'Accommodation',
81        #'transfer': 'Transfer Fee',
82        #'gown': 'Gown Hire Fee',
83        #'application': 'Application Fee',
84        #'app_balance': 'Application Fee Balance',
85        'transcript_local': 'Transcript Fee (Local Students)',
86        'transcript_overseas': 'Transcript Fee (Oversea Students)',
87        'late_registration': 'Late Registration Fee',
88        'science': 'Science Bench Fee',
89        'clinical': 'Clinical Fee (Medical Students)',
90        'develop': 'Development Fee',
91        'municipal_fresh': 'Municipal Fee (Fresh Students)',
92        'municipal_returning': 'Municipal Fee (Returning Students)',
93        'alumni': 'Alumni Fee',
94        'conv': 'Convocation Fee',
95        'matric': 'Matriculation Fee',
96        'waecneco': 'WAEC & NECO Verification',
97        'jambver': 'JAMB Verification',
98        'book': 'Book Deposit',
99        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
100        'pharmlab': 'Pharmacy Lab Support Fee',
101        'lo_ident': 'Letter of Identification Fee',
102        'change_course': 'Change of Course Fee',
103        #'make_up': 'Make-up Fee',
104        'iuits': 'IUITS Fee',
105        'fine': 'Fine',
106        'combi': 'Combi Payment',
107        'resit1': '1 Make-Up Examination Course',
108        'resit2': '2 Make-Up Examination Courses',
109        'resit3': '3 Make-Up Examination Courses',
110        'resit4': '4 Make-Up Examination Courses',
111        'resit5': '5 Make-Up Examination Courses',
112        'resit6': '6 Make-Up Examination Course',
113        'resit7': '7 Make-Up Examination Courses',
114        'resit8': '8 Make-Up Examination Courses',
115        'resit9': '9 Make-Up Examination Courses',
116        'id_card': 'Student ID Card',
117        }
118
119    PREVIOUS_PAYMENT_CATEGORIES = {
120        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
121        'registration': 'Registration Fee',
122        'application': 'Application Fee',
123        'late_registration': 'Late Registration Fee',
124        'science': 'Science Bench Fee',
125        'clinical': 'Clinical Fee (Medical Students)',
126        'develop': 'Development Fee',
127        'municipal_fresh': 'Municipal Fee (Fresh Students)',
128        'municipal_returning': 'Municipal Fee (Returning Students)',
129        'alumni': 'Alumni Fee',
130        'conv': 'Convocation Fee',
131        'matric': 'Matriculation Fee',
132        'waecneco': 'WAEC & NECO Verification',
133        'jambver': 'JAMB Verification',
134        'book': 'Book Deposit',
135        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
136        'pharmlab': 'Pharmacy Lab Support Fee',
137        'lo_ident': 'Letter of Identification Fee',
138        'change_course': 'Change of Course Fee',
139        'make_up': 'Make-up Fee',
140        'iuits': 'IUITS Fee',
141        'fine': 'Fine',
142        'id_card': 'Student ID Card',
143        }
144
145    COMBI_PAYMENT_CATEGORIES = {
146        'late_registration': 'Late Registration Fee',
147        'science': 'Science Bench Fee',
148        'clinical': 'Clinical Fee (Medical Students)',
149        'develop': 'Development Fee',
150        'municipal_fresh': 'Municipal Fee (Fresh Students)',
151        'municipal_returning': 'Municipal Fee (Returning Students)',
152        'alumni': 'Alumni Fee',
153        'conv': 'Convocation Fee',
154        'matric': 'Matriculation Fee',
155        'waecneco': 'WAEC & NECO Verification',
156        'jambver': 'JAMB Verification',
157        #'book': 'Book Deposit',
158        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
159        'pharmlab': 'Pharmacy Lab Support Fee',
160        'lo_ident': 'Letter of Identification Fee',
161        'change_course': 'Change of Course Fee',
162        'make_up': 'Make-up Fee',
163        'iuits': 'IUITS Fee',
164        'fine': 'Fine',
165        'id_card': 'Student ID Card',
166        }
167
168    BALANCE_PAYMENT_CATEGORIES = {
169        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
170        }
171
172    APP_CATS_DICT = {
173        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
174        'no': 'No Application',
175        'pg': 'Postgraduate Programmes',
176        'pg2': 'Postgraduate Programmes 2',
177        'pre': 'Pre-Degree Studies',
178        'pt': 'Part-Time Degree Programmes',
179        'ut': 'Undergraduate Programmes',
180        }
181
182    #: Maximum size in Bytes of passport images in the applicants and
183    #: students section
184    MAX_PASSPORT_SIZE = 250 * 1024
Note: See TracBrowser for help on using the repository browser.