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

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

Add clearance fee payment category for graduating students.

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