## $Id: utils.py 16212 2020-08-25 08:14:59Z henrik $ ## ## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## """Customize general helper utilities for Kofa. """ from copy import deepcopy from kofacustom.nigeria.utils.utils import NigeriaKofaUtils class CustomKofaUtils(NigeriaKofaUtils): """A collection of methods subject to customization. """ PAYMENT_CATEGORIES = { 'schoolfee': 'Tuition Plus (total amount)', 'schoolfee40': 'Tuition Plus (40% - 1st instalment)', 'secondinstal': 'Tuition Plus (60% - 2nd instalment)', 'clearance': 'Acceptance Fee', 'grad_clearance': 'Clearance Fee', 'registration': 'Registration Fee', #'bed_allocation': 'Bed Allocation Fee', #'hostel_maintenance': 'Accommodation', #'transfer': 'Transfer Fee', #'gown': 'Gown Hire Fee', 'application': 'Application Fee', 'app_balance': 'Application Fee Balance', 'transcript': 'Transcript Fee', 'transcript_local': 'Transcript Fee Local', 'transcript_overseas': 'Transcript Fee Oversea', 'late_registration': 'Late Registration Fee', 'science': 'Science Bench Fee', 'clinical': 'Clinical Fee (Medical Students)', 'develop': 'Development Fee', 'municipal_fresh': 'Municipal Fee Fresh)', 'municipal_returning': 'Municipal Fee Returning)', 'alumni': 'Alumni Fee', 'conv': 'Convocation Fee', 'matric': 'Matriculation Fee', 'waecneco': 'WAEC and NECO Verification', 'jambver': 'JAMB Verification', 'book': 'Book Deposit', 'parentsconsult': 'Parents Consultative Forum (PCF) Fee', 'pharmlab': 'Pharmacy Lab Support Fee', 'lo_ident': 'Letter of Identification Fee', 'change_course': 'Change of Course Fee', 'make_up': 'Make-up Fee', 'iuits': 'IUITS Fee', 'fine': 'Fine', 'combi': 'Combi Payment', 'resit1': '1 Make-Up Examination Course', 'resit2': '2 Make-Up Examination Courses', 'resit3': '3 Make-Up Examination Courses', 'resit4': '4 Make-Up Examination Courses', 'resit5': '5 Make-Up Examination Courses', 'resit6': '6 Make-Up Examination Course', 'resit7': '7 Make-Up Examination Courses', 'resit8': '8 Make-Up Examination Courses', 'resit9': '9 Make-Up Examination Courses', 'id_card': 'Student ID Card', } SELECTABLE_PAYMENT_CATEGORIES = { 'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)', 'schoolfee40': 'Tuition, Accommodation, Adm. Charges (40% - 1st instalment)', 'secondinstal': 'Tuition, Accommodation, Adm. Charges (60% - 2nd instalment)', 'registration': 'Registration Fee', 'clearance': 'Acceptance Fee', 'grad_clearance': 'Clearance Fee', #'bed_allocation': 'Bed Allocation Fee', #'hostel_maintenance': 'Accommodation', #'transfer': 'Transfer Fee', #'gown': 'Gown Hire Fee', #'application': 'Application Fee', #'app_balance': 'Application Fee Balance', 'transcript_local': 'Transcript Fee (Local Students)', 'transcript_overseas': 'Transcript Fee (Oversea Students)', 'late_registration': 'Late Registration Fee', 'science': 'Science Bench Fee', 'clinical': 'Clinical Fee (Medical Students)', 'develop': 'Development Fee', 'municipal_fresh': 'Municipal Fee (Fresh Students)', 'municipal_returning': 'Municipal Fee (Returning Students)', 'alumni': 'Alumni Fee', 'conv': 'Convocation Fee', 'matric': 'Matriculation Fee', 'waecneco': 'WAEC and NECO Verification', 'jambver': 'JAMB Verification', 'book': 'Book Deposit', 'parentsconsult': 'Parents Consultative Forum (PCF) Fee', 'pharmlab': 'Pharmacy Lab Support Fee', 'lo_ident': 'Letter of Identification Fee', 'change_course': 'Change of Course Fee', #'make_up': 'Make-up Fee', 'iuits': 'IUITS Fee', 'fine': 'Fine', 'combi': 'Combi Payment', 'resit1': '1 Make-Up Examination Course', 'resit2': '2 Make-Up Examination Courses', 'resit3': '3 Make-Up Examination Courses', 'resit4': '4 Make-Up Examination Courses', 'resit5': '5 Make-Up Examination Courses', 'resit6': '6 Make-Up Examination Course', 'resit7': '7 Make-Up Examination Courses', 'resit8': '8 Make-Up Examination Courses', 'resit9': '9 Make-Up Examination Courses', 'id_card': 'Student ID Card', } PREVIOUS_PAYMENT_CATEGORIES = { 'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)', 'registration': 'Registration Fee', 'clearance': 'Acceptance Fee', 'grad_clearance': 'Clearance Fee', 'application': 'Application Fee', 'late_registration': 'Late Registration Fee', 'science': 'Science Bench Fee', 'clinical': 'Clinical Fee (Medical Students)', 'develop': 'Development Fee', 'municipal_fresh': 'Municipal Fee (Fresh Students)', 'municipal_returning': 'Municipal Fee (Returning Students)', 'alumni': 'Alumni Fee', 'conv': 'Convocation Fee', 'matric': 'Matriculation Fee', 'waecneco': 'WAEC and NECO Verification', 'jambver': 'JAMB Verification', 'book': 'Book Deposit', 'parentsconsult': 'Parents Consultative Forum (PCF) Fee', 'pharmlab': 'Pharmacy Lab Support Fee', 'lo_ident': 'Letter of Identification Fee', 'change_course': 'Change of Course Fee', 'make_up': 'Make-up Fee', 'iuits': 'IUITS Fee', 'fine': 'Fine', 'id_card': 'Student ID Card', } COMBI_PAYMENT_CATEGORIES = { 'grad_clearance': 'Clearance Fee', 'late_registration': 'Late Registration Fee', 'science': 'Science Bench Fee', 'clinical': 'Clinical Fee (Medical Students)', 'develop': 'Development Fee', 'municipal_fresh': 'Municipal Fee (Fresh Students)', 'municipal_returning': 'Municipal Fee (Returning Students)', 'alumni': 'Alumni Fee', 'conv': 'Convocation Fee', 'matric': 'Matriculation Fee', 'waecneco': 'WAEC and NECO Verification', 'jambver': 'JAMB Verification', 'book': 'Book Deposit', 'parentsconsult': 'Parents Consultative Forum (PCF) Fee', 'pharmlab': 'Pharmacy Lab Support Fee', 'lo_ident': 'Letter of Identification Fee', 'change_course': 'Change of Course Fee', 'make_up': 'Make-up Fee', 'iuits': 'IUITS Fee', 'fine': 'Fine', 'id_card': 'Student ID Card', } BALANCE_PAYMENT_CATEGORIES = { 'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)', } APP_CATS_DICT = { 'basic': 'UAS, PUTME, PUDE, PCE, PRENCE', 'no': 'No Application', 'pg': 'Postgraduate Programmes', 'pg2': 'Postgraduate Programmes 2', 'pre': 'Pre-Degree Studies', 'pt': 'Part-Time Degree Programmes', 'ut': 'Undergraduate Programmes', } #: Maximum size in Bytes of passport images in the applicants and #: students section MAX_PASSPORT_SIZE = 250 * 1024