source: main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py @ 11684

Last change on this file since 11684 was 11684, checked in by Henrik Bettermann, 10 years ago

Uups, I forgot to extend also the SELECTABLE_PAYMENT_CATEGORIES dict.

  • Property svn:keywords set to Id
File size: 6.6 KB
Line 
1## $Id: utils.py 11684 2014-06-13 12:02:11Z 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"""
20from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
21
22class CustomKofaUtils(NigeriaKofaUtils):
23    """A collection of methods subject to customization.
24    """
25
26    PREFERRED_LANGUAGES_DICT = {
27        }
28
29    APP_CATS_DICT = {
30        'basic': 'Basic',
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',
35        'pgd': 'Postgraduate Diploma Programmes',
36        'rmd': 'Remedial Programmes',
37        'no': 'no application',
38        }
39
40    STUDY_MODES_DICT = {
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',
47        'prend': 'Pre-ND',
48        'rmd': 'Remedial',
49        }
50
51    PAYMENT_CATEGORIES = {
52        'schoolfee': 'School Fee',
53        'carryover1': '1 CarryOver',
54        'carryover2': '2 CarryOvers',
55        'carryover3': '3 CarryOvers',
56        'clearance': 'Acceptance Fee',
57        'bed_allocation': 'Bed Allocation Fee',
58        'hostel_maintenance': 'Hostel Maintenance Fee',
59        'application': 'Application Fee',
60        'certificate': 'ND Certificate',
61        'hnd_certificate': 'HND Certificate',
62        'pgd_certificate': 'PGD Certificate',
63        'state_result': 'ND Statement of Result',
64        'hnd_state_result': 'HND Statement of Result',
65        'pgd_state_result': 'PGD Statement of Result',
66        'transcript_local': 'ND Transcript (local)',
67        'hnd_transcript_local': 'HND Transcript (local)',
68        'transcript_foreign': 'ND Transcript (foreign)',
69        'hnd_transcript_foreign': 'HND Transcript (foreign)',
70        'ver_result': 'Verification of Result',
71        'change_course': 'Change of Course',
72        'change_inst': 'Change of Institute',
73        'jamb_reject': 'JAMB Rejection Form',
74        'cert_of_cert': 'Certification of Certificate',
75        'ref_let': 'Recommendation/Reference Letter',
76        'proc_cert': 'Processing of Certificate by Proxy',
77        'loss_idcard': 'Loss of ID Card (student)',
78        'staff_loss_idcard': 'Loss of ID Card (staff)',
79        'loss_examcard': 'Loss of Exam Card',
80        'loss_result': 'Loss of Result',
81        'loss_receipt': 'Loss of Receipt',
82        'loss_clearance': 'Loss of Clearance',
83        'conv_brochure': 'ND Convocation Brochure',
84        'hnd_conv_brochure': 'HND Convocation Brochure',
85        'pgd_conv_brochure': 'PGD Convocation Brochure',
86        }
87
88    SELECTABLE_PAYMENT_CATEGORIES = {
89        'schoolfee': 'School Fee',
90        'carryover1': 'One CarryOver',
91        'carryover2': 'Two CarryOvers',
92        'carryover3': 'Three CarryOvers',
93        'hostel_maintenance': 'Hostel Maintenance Fee',
94        'certificate': 'ND Certificate',
95        'hnd_certificate': 'HND Certificate',
96        'pgd_certificate': 'PGD Certificate',
97        'state_result': 'ND Statement of Result',
98        'hnd_state_result': 'HND Statement of Result',
99        'pgd_state_result': 'PGD Statement of Result',
100        'transcript_local': 'ND Transcript (local)',
101        'hnd_transcript_local': 'HND Transcript (local)',
102        'transcript_foreign': 'ND Transcript (foreign)',
103        'hnd_transcript_foreign': 'HND Transcript (foreign)',
104        'ver_result': 'Verification of Result',
105        'change_course': 'Change of Course',
106        'change_inst': 'Change of Institute',
107        'jamb_reject': 'JAMB Rejection Form',
108        'cert_of_cert': 'Certification of Certificate',
109        'ref_let': 'Recommendation/Reference Letter',
110        'proc_cert': 'Processing of Certificate by Proxy',
111        'loss_idcard': 'Loss of ID Card (student)',
112        'staff_loss_idcard': 'Loss of ID Card (staff)',
113        'loss_examcard': 'Loss of Exam Card',
114        'loss_result': 'Loss of Result',
115        'loss_receipt': 'Loss of Receipt',
116        'loss_clearance': 'Loss of Clearance',
117        'conv_brochure': 'ND Convocation Brochure',
118        'hnd_conv_brochure': 'HND Convocation Brochure',
119        'pgd_conv_brochure': 'PGD Convocation Brochure',
120        }
121
122    DISABLE_PAYMENT_GROUP_DICT = {
123        'sf_all': 'School Fee - All Students',
124        'sf_non_pg': 'School Fee - Non-PG Students',
125        }
126
127    SPECIAL_HANDLING_DICT = {
128        'regular': 'Regular Hostel',
129        'blocked': 'Blocked Hostel',
130        'pg': 'Postgraduate Hostel',
131        'itch': 'ITCH Hostel'
132        }
133
134    SPECIAL_APP_DICT = {
135        'certificate': 'ND Certificate',
136        'hnd_certificate': 'HND Certificate',
137        'state_result': 'ND Statement of Result',
138        'hnd_state_result': 'HND Statement of Result',
139        'transcript_local': 'ND Transcript (local)',
140        'hnd_transcript_local': 'HND Transcript (local)',
141        'transcript_foreign': 'ND Transcript (foreign)',
142        'hnd_transcript_foreign': 'HND Transcript (foreign)',
143        'ver_result': 'Verification of Result Payment',
144        'change_course': 'Change of Course Payment',
145        'change_inst': 'Change of Institute Payment',
146        'jamb_reject': 'JAMB Rejection Form Payment',
147        'cert_of_cert': 'Certification of Certificate Payment',
148        'ref_let': 'Recommendation/Reference Letter Payment',
149        'proc_cert': 'Processing of Certificate by Proxy Payment',
150        'loss_idcard': 'Loss of ID Card (student)',
151        'staff_loss_idcard': 'Loss of ID Card (staff)',
152        'loss_examcard': 'Loss of Exam Card Payment',
153        'loss_result': 'Loss of Result Payment',
154        'loss_receipt': 'Loss of Receipt Payment',
155        'loss_clearance': 'Loss of Clearance Payment',
156        'conv_brochure': 'ND Convocation Brochure',
157        'hnd_conv_brochure': 'HND Convocation Brochure',
158        }
Note: See TracBrowser for help on using the repository browser.