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

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

Implement transcript application.

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