[7569] | 1 | ## $Id: utils.py 13413 2015-11-08 07:20:29Z 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 | ## |
---|
[7822] | 18 | """Customize general helper utilities for Kofa. |
---|
[7569] | 19 | """ |
---|
[8823] | 20 | from kofacustom.nigeria.utils.utils import NigeriaKofaUtils |
---|
[7569] | 21 | |
---|
[8823] | 22 | class CustomKofaUtils(NigeriaKofaUtils): |
---|
[7569] | 23 | """A collection of methods subject to customization. |
---|
| 24 | """ |
---|
[7845] | 25 | |
---|
| 26 | PREFERRED_LANGUAGES_DICT = { |
---|
[9755] | 27 | } |
---|
| 28 | |
---|
| 29 | PAYMENT_CATEGORIES = { |
---|
| 30 | 'schoolfee': 'School Fee', |
---|
| 31 | 'schoolfee_1': 'School Fee 1st instalment', |
---|
| 32 | 'schoolfee_2': 'School Fee 2nd instalment', |
---|
[13410] | 33 | 'schoolfee_incl': 'School Fee Plus', |
---|
[9755] | 34 | 'clearance': 'Acceptance Fee', |
---|
[13410] | 35 | 'clearance_incl': 'Acceptance Fee Plus', |
---|
[9755] | 36 | 'hostel_maintenance': 'Hostel Maintenance Fee', |
---|
| 37 | 'application': 'Application Fee', |
---|
| 38 | 'bed_allocation': 'Bed Allocation Fee', |
---|
| 39 | 'transfer': 'Transfer Fee', |
---|
[10467] | 40 | 'transcript': 'Transcript Fee', |
---|
[13035] | 41 | 'late_registration': 'Late Course Registration Fee', |
---|
[13402] | 42 | 'welfare': 'Student Welfare Assurance Fee', |
---|
| 43 | 'union': 'Students\' Union Dues', |
---|
| 44 | 'lapel': 'Lapel/File Fee', |
---|
[13374] | 45 | 'matric_gown': 'Matriculation Gown Fee', |
---|
| 46 | 'concessional': 'Concessional Fee', |
---|
[9755] | 47 | } |
---|
| 48 | |
---|
| 49 | SELECTABLE_PAYMENT_CATEGORIES = { |
---|
[13403] | 50 | 'schoolfee': 'School Fee without additional fees', |
---|
[9905] | 51 | #'schoolfee_1': 'School Fee 1st instalment', |
---|
| 52 | #'schoolfee_2': 'School Fee 2nd instalment', |
---|
[13410] | 53 | 'schoolfee_incl': 'School Fee + Students\' Union Dues + Welfare Assurance Fee', |
---|
[13403] | 54 | 'clearance': 'Acceptance Fee without additional fees', |
---|
[13410] | 55 | 'clearance_incl': 'Acceptance Fee + Matric Gown Fee + Lapel/File Fee', |
---|
[13374] | 56 | 'hostel_maintenance': 'Hostel Maintenance Fee', |
---|
[9755] | 57 | 'application': 'Application Fee', |
---|
[11621] | 58 | #'bed_allocation': 'Bed Allocation Fee', |
---|
| 59 | #'transfer': 'Transfer Fee', |
---|
[10468] | 60 | 'transcript': 'Transcript Fee', |
---|
[13035] | 61 | 'late_registration': 'Late Course Registration Fee', |
---|
[13402] | 62 | 'welfare': 'Student Welfare Assurance Fee', |
---|
| 63 | 'union': 'Students\' Union Dues', |
---|
| 64 | 'lapel': 'Lapel/File Fee', |
---|
[13374] | 65 | 'matric_gown': 'Matriculation Gown Fee', |
---|
| 66 | 'concessional': 'Concessional Fee', |
---|
[9755] | 67 | } |
---|
| 68 | |
---|
[10304] | 69 | APP_CATS_DICT = { |
---|
| 70 | 'basic': 'PUTME, PUDE, PCE, PRENCE', |
---|
| 71 | 'no': 'No Application', |
---|
| 72 | 'pg_ft': 'Postgraduate Full-Time', |
---|
| 73 | 'pg_pt': 'Postgraduate Part-Time', |
---|
| 74 | 'cest': 'Part-Time, Diploma, Certificate', |
---|
| 75 | 'found': 'Foundation', |
---|
[10893] | 76 | 'ptee': 'Part-Time Entrance Examination', |
---|
[10304] | 77 | } |
---|
| 78 | |
---|
[11591] | 79 | STUDY_MODES_DICT = { |
---|
| 80 | 'ug_ft': 'Undergraduate Full Time', |
---|
| 81 | 'ug_pt': 'Undergraduate Part Time', |
---|
[11593] | 82 | 'de_ft': 'Direct Entry Full Time', |
---|
| 83 | 'de_pt': 'Direct Entry Part Time', |
---|
[11591] | 84 | 'dp_pt': 'Diploma Part Time', |
---|
| 85 | 'dp_ft': 'Diploma Full Time', |
---|
| 86 | 'pg_ft': 'Postgraduate Full Time', |
---|
| 87 | 'pg_pt': 'Postgraduate Part Time', |
---|
| 88 | 'found': 'Foundation', |
---|
| 89 | } |
---|
| 90 | |
---|
[13127] | 91 | VERDICTS_DICT = { |
---|
| 92 | '0': 'not yet', |
---|
| 93 | 'A': 'Successful student', |
---|
| 94 | 'B': 'Student with carryover courses', |
---|
| 95 | 'C': 'Student on probation', |
---|
| 96 | #'D': 'Withdrawn from the faculty', |
---|
| 97 | #'E': 'Student who were previously on probation', |
---|
| 98 | #'F': 'Medical case', |
---|
| 99 | #'G': 'Absent from examination', |
---|
| 100 | #'H': 'Withheld results', |
---|
| 101 | #'I': 'Expelled/rusticated/suspended student', |
---|
| 102 | #'J': 'Temporary withdrawn from the university', |
---|
| 103 | #'K': 'Unregistered student', |
---|
| 104 | #'L': 'Referred student', |
---|
| 105 | #'M': 'Reinstatement', |
---|
| 106 | #'N': 'Student on transfer', |
---|
| 107 | #'O': 'NCE-III repeater', |
---|
| 108 | #'Y': 'No previous verdict', |
---|
| 109 | #'X': 'New 300 level student', |
---|
| 110 | 'Z': 'Successful student (provisional)', |
---|
| 111 | #'A1': 'First Class', |
---|
| 112 | #'A2': 'Second Class Upper', |
---|
| 113 | #'A3': 'Second Class Lower', |
---|
| 114 | #'A4': 'Third Class', |
---|
| 115 | #'A5': 'Pass', |
---|
| 116 | #'A6': 'Distinction', |
---|
| 117 | #'A7': 'Credit', |
---|
| 118 | #'A8': 'Merit', |
---|
| 119 | 'NEOR': 'No evidence of registration', |
---|
| 120 | 'NEOV': 'No evidence of verification', |
---|
| 121 | 'FRNS': 'Faculty requirements not satisfied', |
---|
| 122 | } |
---|