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

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

Add payment categories.

  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1## $Id: utils.py 15645 2019-10-04 21:11:24Z 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': 'School Fee',
30        'clearance': 'Acceptance Fee',
31        'bed_allocation': 'Bed Allocation Fee',
32        'hostel_maintenance': 'Accommodation',
33        #'transfer': 'Transfer Fee',
34        #'gown': 'Gown Hire Fee',
35        'application': 'Application Fee',
36        'app_balance': 'Application Fee Balance',
37        'transcript': 'Transcript Fee',
38        'late_registration': 'Late Registration Fee',
39        'science': 'Science Bench Fee',
40        'clinical': 'Clinical Fee (Medical Students)',
41        'develop': 'Development Fee',
42        'municipal': 'Municipal Fee',
43        'alumni': 'Alumni Fee',
44        'conv': 'Convocation Fee',
45        'matric': 'Matriculation Fee',
46        'waecneco': 'WAEC & NECO Verification',
47        'jambver': 'JAMB Verification',
48        'book': 'Book Deposit',
49        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
50        'pharmlab': 'Pharmacy Lab Support Fee',
51        }
52
53    SELECTABLE_PAYMENT_CATEGORIES = {
54        'schoolfee': 'School Fee',
55        'clearance': 'Acceptance Fee',
56        #'bed_allocation': 'Bed Allocation Fee',
57        'hostel_maintenance': 'Accommodation',
58        #'transfer': 'Transfer Fee',
59        #'gown': 'Gown Hire Fee',
60        'application': 'Application Fee',
61        #'app_balance': 'Application Fee Balance',
62        #'transcript': 'Transcript Fee',
63        'late_registration': 'Late Registration Fee',
64        'science': 'Science Bench Fee',
65        'clinical': 'Clinical Fee (Medical Students)',
66        'develop': 'Development Fee',
67        'municipal': 'Municipal Fee',
68        'alumni': 'Alumni Fee',
69        'conv': 'Convocation Fee',
70        'matric': 'Matriculation Fee',
71        'waecneco': 'WAEC & NECO Verification',
72        'jambver': 'JAMB Verification',
73        'book': 'Book Deposit',
74        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
75        'pharmlab': 'Pharmacy Lab Support Fee',
76        }
77
78    PREVIOUS_PAYMENT_CATEGORIES = deepcopy(SELECTABLE_PAYMENT_CATEGORIES)
Note: See TracBrowser for help on using the repository browser.