[7569] | 1 | ## $Id: utils.py 11453 2014-02-27 10:57:32Z 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 | """ |
---|
[8834] | 20 | from kofacustom.nigeria.utils.utils import NigeriaKofaUtils |
---|
[7569] | 21 | |
---|
[8834] | 22 | class CustomKofaUtils(NigeriaKofaUtils): |
---|
[7569] | 23 | """A collection of methods subject to customization. |
---|
| 24 | """ |
---|
[7845] | 25 | |
---|
| 26 | PREFERRED_LANGUAGES_DICT = { |
---|
| 27 | } |
---|
[9361] | 28 | |
---|
| 29 | APP_CATS_DICT = { |
---|
| 30 | 'basic': 'Basic', |
---|
[10133] | 31 | 'ndft': 'National Diploma Full-Time Programmes', |
---|
| 32 | 'ndpt': 'National Diploma Part-Time Programmes', |
---|
| 33 | 'hndft': 'Higher National Diploma Full-Time Programmes', |
---|
| 34 | 'hndpt': 'Higher National Diploma Part-Time Programmes', |
---|
[10121] | 35 | 'pgd': 'Postgraduate Diploma Programmes', |
---|
[10133] | 36 | 'rmd': 'Remedial Programmes', |
---|
[10844] | 37 | 'no': 'no application', |
---|
[9361] | 38 | } |
---|
| 39 | |
---|
| 40 | STUDY_MODES_DICT = { |
---|
[10133] | 41 | 'nd_ft': 'National Diploma Full-Time', |
---|
| 42 | 'nd_pt': 'National Diploma Part-Time', |
---|
| 43 | 'hnd_ft': 'Higher National Diploma Full-Time', |
---|
| 44 | 'hnd_pt': 'Higher National Diploma Part-Time', |
---|
| 45 | 'pgd_ft': 'Postgraduate Diploma Full-Time', |
---|
| 46 | 'pgd_pt': 'Postgraduate Diploma Part-Time', |
---|
[10778] | 47 | 'prend': 'Pre-ND', |
---|
[10133] | 48 | 'rmd': 'Remedial', |
---|
[9724] | 49 | } |
---|
| 50 | |
---|
| 51 | PAYMENT_CATEGORIES = { |
---|
| 52 | 'schoolfee': 'School Fee', |
---|
[9737] | 53 | 'carryover1': '1 CarryOver', |
---|
| 54 | 'carryover2': '2 CarryOvers', |
---|
| 55 | 'carryover3': '3 CarryOvers', |
---|
[9724] | 56 | 'clearance': 'Acceptance Fee', |
---|
| 57 | 'bed_allocation': 'Bed Allocation Fee', |
---|
| 58 | 'hostel_maintenance': 'Hostel Maintenance Fee', |
---|
[10734] | 59 | 'application': 'Application Fee', |
---|
| 60 | 'certificate': 'Certificate', |
---|
| 61 | 'state_result': 'Statement of Result', |
---|
| 62 | 'transcript_local': 'Transcript (local)', |
---|
| 63 | 'transcript_foreign': 'Transcript (foreign)', |
---|
| 64 | 'ver_result': 'Verification of Result', |
---|
| 65 | 'change_course': 'Change of Course', |
---|
| 66 | 'change_inst': 'Change of Institute', |
---|
| 67 | 'jamb_reject': 'JAMB Rejection Form', |
---|
| 68 | 'cert_of_cert': 'Certification of Certificate', |
---|
| 69 | 'ref_let': 'Recommendation/Reference Letter', |
---|
| 70 | 'proc_cert': 'Processing of Certificate by Proxy', |
---|
| 71 | 'loss_idcard': 'Loss of ID Card', |
---|
| 72 | 'loss_examcard': 'Loss of Exam Card', |
---|
| 73 | 'loss_result': 'Loss of Result', |
---|
| 74 | 'loss_receipt': 'Loss of Receipt', |
---|
| 75 | 'loss_clearance': 'Loss of Clearance', |
---|
| 76 | 'conv_brochure': 'Convocation Brochure', |
---|
[9737] | 77 | } |
---|
| 78 | |
---|
| 79 | SELECTABLE_PAYMENT_CATEGORIES = { |
---|
| 80 | 'schoolfee': 'School Fee', |
---|
| 81 | 'carryover1': 'One CarryOver', |
---|
| 82 | 'carryover2': 'Two CarryOvers', |
---|
| 83 | 'carryover3': 'Three CarryOvers', |
---|
| 84 | 'hostel_maintenance': 'Hostel Maintenance Fee', |
---|
[10734] | 85 | 'certificate': 'Certificate', |
---|
| 86 | 'state_result': 'Statement of Result', |
---|
| 87 | 'transcript_local': 'Transcript (local)', |
---|
| 88 | 'transcript_foreign': 'Transcript (foreign)', |
---|
| 89 | 'ver_result': 'Verification of Result', |
---|
| 90 | 'change_course': 'Change of Course', |
---|
| 91 | 'change_inst': 'Change of Institute', |
---|
| 92 | 'jamb_reject': 'JAMB Rejection Form', |
---|
| 93 | 'cert_of_cert': 'Certification of Certificate', |
---|
| 94 | 'ref_let': 'Recommendation/Reference Letter', |
---|
| 95 | 'proc_cert': 'Processing of Certificate by Proxy', |
---|
| 96 | 'loss_idcard': 'Loss of ID Card', |
---|
| 97 | 'loss_examcard': 'Loss of Exam Card', |
---|
| 98 | 'loss_result': 'Loss of Result', |
---|
| 99 | 'loss_receipt': 'Loss of Receipt', |
---|
| 100 | 'loss_clearance': 'Loss of Clearance', |
---|
| 101 | 'conv_brochure': 'Convocation Brochure', |
---|
[10820] | 102 | } |
---|
| 103 | |
---|
[11453] | 104 | DISABLE_PAYMENT_GROUP_DICT = { |
---|
| 105 | 'sf_all': 'School Fee - All Students', |
---|
| 106 | 'sf_non_pg': 'School Fee - Non-PG Students', |
---|
| 107 | } |
---|
| 108 | |
---|
[10820] | 109 | SPECIAL_HANDLING_DICT = { |
---|
| 110 | 'regular': 'Regular Hostel', |
---|
| 111 | 'blocked': 'Blocked Hostel', |
---|
| 112 | 'pg': 'Postgraduate Hostel', |
---|
| 113 | 'itch': 'ITCH Hostel' |
---|
[10844] | 114 | } |
---|
| 115 | |
---|
| 116 | SPECIAL_APP_DICT = { |
---|
| 117 | 'certificate': 'Certificate Payment', |
---|
| 118 | 'state_result': 'Statement of Result Payment', |
---|
| 119 | 'transcript_local': 'Transcript (local) Payment', |
---|
| 120 | 'transcript_foreign': 'Transcript (foreign) Payment', |
---|
| 121 | 'ver_result': 'Verification of Result Payment', |
---|
| 122 | 'change_course': 'Change of Course Payment', |
---|
| 123 | 'change_inst': 'Change of Institute Payment', |
---|
| 124 | 'jamb_reject': 'JAMB Rejection Form Payment', |
---|
| 125 | 'cert_of_cert': 'Certification of Certificate Payment', |
---|
| 126 | 'ref_let': 'Recommendation/Reference Letter Payment', |
---|
| 127 | 'proc_cert': 'Processing of Certificate by Proxy Payment', |
---|
| 128 | 'loss_idcard': 'Loss of ID Card Payment', |
---|
| 129 | 'loss_examcard': 'Loss of Exam Card Payment', |
---|
| 130 | 'loss_result': 'Loss of Result Payment', |
---|
| 131 | 'loss_receipt': 'Loss of Receipt Payment', |
---|
| 132 | 'loss_clearance': 'Loss of Clearance Payment', |
---|
| 133 | 'conv_brochure': 'Convocation Brochure Payment', |
---|
[9361] | 134 | } |
---|