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

Last change on this file since 16141 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
RevLine 
[10765]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"""
[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',
[15728]33        'registration': 'Registration Fee',
[15661]34        #'bed_allocation': 'Bed Allocation Fee',
35        #'hostel_maintenance': 'Accommodation',
[15645]36        #'transfer': 'Transfer Fee',
37        #'gown': 'Gown Hire Fee',
38        'application': 'Application Fee',
39        'app_balance': 'Application Fee Balance',
[15789]40        'transcript_local': 'Transcript Fee Local',
41        'transcript_overseas': 'Transcript Fee Oversea',
[15645]42        'late_registration': 'Late Registration Fee',
43        'science': 'Science Bench Fee',
44        'clinical': 'Clinical Fee (Medical Students)',
45        'develop': 'Development Fee',
[15789]46        'municipal_fresh': 'Municipal Fee Fresh)',
47        'municipal_returning': 'Municipal Fee Returning)',
[15645]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',
[15736]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',
[15686]61        'combi': 'Combi Payment',
[15937]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',
[16111]71        'id_card': 'Student ID Card',
[15645]72        }
73
74    SELECTABLE_PAYMENT_CATEGORIES = {
[15663]75        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
[15661]76        'schoolfee40': 'Tuition, Accommodation, Adm. Charges (40% - 1st instalment)',
[15663]77        'secondinstal': 'Tuition, Accommodation, Adm. Charges (60% - 2nd instalment)',
[15728]78        'registration': 'Registration Fee',
[15645]79        #'bed_allocation': 'Bed Allocation Fee',
[15661]80        #'hostel_maintenance': 'Accommodation',
[15645]81        #'transfer': 'Transfer Fee',
82        #'gown': 'Gown Hire Fee',
[15783]83        #'application': 'Application Fee',
[15645]84        #'app_balance': 'Application Fee Balance',
[15789]85        'transcript_local': 'Transcript Fee (Local Students)',
86        'transcript_overseas': 'Transcript Fee (Oversea Students)',
[15645]87        'late_registration': 'Late Registration Fee',
88        'science': 'Science Bench Fee',
89        'clinical': 'Clinical Fee (Medical Students)',
90        'develop': 'Development Fee',
[15789]91        'municipal_fresh': 'Municipal Fee (Fresh Students)',
92        'municipal_returning': 'Municipal Fee (Returning Students)',
[15645]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',
[15736]101        'lo_ident': 'Letter of Identification Fee',
102        'change_course': 'Change of Course Fee',
[15937]103        #'make_up': 'Make-up Fee',
[15736]104        'iuits': 'IUITS Fee',
105        'fine': 'Fine',
[15781]106        'combi': 'Combi Payment',
[15937]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',
[16111]116        'id_card': 'Student ID Card',
[15645]117        }
118
[15661]119    PREVIOUS_PAYMENT_CATEGORIES = {
120        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
[15728]121        'registration': 'Registration Fee',
[15661]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',
[15789]127        'municipal_fresh': 'Municipal Fee (Fresh Students)',
128        'municipal_returning': 'Municipal Fee (Returning Students)',
[15661]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',
[15736]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',
[16111]142        'id_card': 'Student ID Card',
[15675]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',
[15789]150        'municipal_fresh': 'Municipal Fee (Fresh Students)',
151        'municipal_returning': 'Municipal Fee (Returning Students)',
[15675]152        'alumni': 'Alumni Fee',
153        'conv': 'Convocation Fee',
154        'matric': 'Matriculation Fee',
155        'waecneco': 'WAEC & NECO Verification',
156        'jambver': 'JAMB Verification',
[15782]157        #'book': 'Book Deposit',
[15675]158        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
159        'pharmlab': 'Pharmacy Lab Support Fee',
[15736]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',
[16111]165        'id_card': 'Student ID Card',
[15738]166        }
167
[16015]168    BALANCE_PAYMENT_CATEGORIES = {
169        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
170        }
171
[15738]172    APP_CATS_DICT = {
173        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
174        'no': 'No Application',
[15858]175        'pg': 'Postgraduate Programmes',
[16092]176        'pg2': 'Postgraduate Programmes 2',
[15738]177        'pre': 'Pre-Degree Studies',
[15809]178        'pt': 'Part-Time Degree Programmes',
[15858]179        'ut': 'Undergraduate Programmes',
[15738]180        }
[15877]181
182    #: Maximum size in Bytes of passport images in the applicants and
183    #: students section
[16048]184    MAX_PASSPORT_SIZE = 250 * 1024
Note: See TracBrowser for help on using the repository browser.