[10765] | 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 | """ |
---|
[15645] | 20 | |
---|
| 21 | from copy import deepcopy |
---|
[10765] | 22 | from kofacustom.nigeria.utils.utils import NigeriaKofaUtils |
---|
| 23 | |
---|
| 24 | class CustomKofaUtils(NigeriaKofaUtils): |
---|
| 25 | """A collection of methods subject to customization. |
---|
| 26 | """ |
---|
| 27 | |
---|
[15645] | 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) |
---|