[10765] | 1 | ## $Id: utils.py 14894 2017-11-13 09:19:15Z 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 | """ |
---|
[14344] | 20 | from copy import deepcopy |
---|
[10765] | 21 | from kofacustom.nigeria.utils.utils import NigeriaKofaUtils |
---|
| 22 | |
---|
| 23 | class CustomKofaUtils(NigeriaKofaUtils): |
---|
| 24 | """A collection of methods subject to customization. |
---|
| 25 | """ |
---|
| 26 | |
---|
[14091] | 27 | APP_CATS_DICT = { |
---|
[14126] | 28 | 'basic': 'UTME, DE, PCE', |
---|
| 29 | 'no': 'No Application', |
---|
| 30 | 'degree': 'Degree Programme', |
---|
| 31 | 'nce': 'NCE Programme', |
---|
| 32 | 'ncept': 'NCE Part-Time Programme', |
---|
[14545] | 33 | 'nceptw': 'NCE Part-Time Weekend Programme', |
---|
[14126] | 34 | 'prence': 'Pre-NCE Programme', |
---|
[14894] | 35 | 'pdft':'Professional Diploma in Education', |
---|
| 36 | 'pdpt':'Professional Diploma in Education Weekend', |
---|
[14333] | 37 | } |
---|
| 38 | |
---|
| 39 | STUDY_MODES_DICT = { |
---|
[14545] | 40 | 'ug_ft': 'Undergraduate Full-Time', |
---|
| 41 | 'de_ft': 'Direct Entry Full-Time', |
---|
| 42 | 'pg_ft': 'Postgraduate Full-Time', |
---|
| 43 | 'pg_pt': 'Postgraduate Part-Time', |
---|
| 44 | 'nce_ft': 'NCE Full-Time', |
---|
| 45 | 'nce_pt': 'NCE Part-Time', |
---|
| 46 | 'nce_we_pt': 'NCE Part-Time Weekend', |
---|
[14333] | 47 | 'nce_sw': 'NCE Sandwich', |
---|
| 48 | 'prence': 'Pre-NCE', |
---|
| 49 | 'no': 'no application', |
---|
[14894] | 50 | 'pd_ft':'Professional Diploma in Education', |
---|
| 51 | 'pd_pt':'Professional Diploma in Education Weekend', |
---|
[14333] | 52 | } |
---|
[14344] | 53 | |
---|
| 54 | PAYMENT_CATEGORIES = { |
---|
| 55 | 'schoolfee': 'School Fee (total)', |
---|
| 56 | 'schoolfee_1': 'School Fee (1st instalment)', |
---|
| 57 | 'schoolfee_2': 'School Fee (2nd instalment)', |
---|
| 58 | 'clearance': 'Acceptance Fee', |
---|
| 59 | #'bed_allocation': 'Bed Allocation Fee', |
---|
| 60 | #'hostel_maintenance': 'Hostel Maintenance Fee', |
---|
| 61 | #'transfer': 'Transfer Fee', |
---|
| 62 | #'gown': 'Gown Hire Fee', |
---|
| 63 | 'application': 'Application Fee', |
---|
| 64 | #'transcript': 'Transcript Fee', |
---|
| 65 | #'late_registration': 'Late Course Registration Fee' |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | SELECTABLE_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES) |
---|