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

Last change on this file since 11682 was 11663, checked in by Henrik Bettermann, 11 years ago

Add new payment categories also to SPECIAL_APP_DICT (see r11629).

  • Property svn:keywords set to Id
File size: 6.3 KB
Line 
1## $Id: utils.py 11663 2014-05-26 10:05:14Z 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        'state_result': 'ND Statement of Result',
63        'hnd_state_result': 'HND Statement of Result',
64        'transcript_local': 'ND Transcript (local)',
65        'hnd_transcript_local': 'HND Transcript (local)',
66        'transcript_foreign': 'ND Transcript (foreign)',
67        'hnd_transcript_foreign': 'HND Transcript (foreign)',
68        'ver_result': 'Verification of Result',
69        'change_course': 'Change of Course',
70        'change_inst': 'Change of Institute',
71        'jamb_reject': 'JAMB Rejection Form',
72        'cert_of_cert': 'Certification of Certificate',
73        'ref_let': 'Recommendation/Reference Letter',
74        'proc_cert': 'Processing of Certificate by Proxy',
75        'loss_idcard': 'Loss of ID Card (student)',
76        'staff_loss_idcard': 'Loss of ID Card (staff)',
77        'loss_examcard': 'Loss of Exam Card',
78        'loss_result': 'Loss of Result',
79        'loss_receipt': 'Loss of Receipt',
80        'loss_clearance': 'Loss of Clearance',
81        'conv_brochure': 'ND Convocation Brochure',
82        'hnd_conv_brochure': 'HND Convocation Brochure',
83        }
84
85    SELECTABLE_PAYMENT_CATEGORIES = {
86        'schoolfee': 'School Fee',
87        'carryover1': 'One CarryOver',
88        'carryover2': 'Two CarryOvers',
89        'carryover3': 'Three CarryOvers',
90        'hostel_maintenance': 'Hostel Maintenance Fee',
91        'certificate': 'ND Certificate',
92        'hnd_certificate': 'HND Certificate',
93        'state_result': 'ND Statement of Result',
94        'hnd_state_result': 'HND Statement of Result',
95        'transcript_local': 'ND Transcript (local)',
96        'hnd_transcript_local': 'HND Transcript (local)',
97        'transcript_foreign': 'ND Transcript (foreign)',
98        'hnd_transcript_foreign': 'HND Transcript (foreign)',
99        'ver_result': 'Verification of Result',
100        'change_course': 'Change of Course',
101        'change_inst': 'Change of Institute',
102        'jamb_reject': 'JAMB Rejection Form',
103        'cert_of_cert': 'Certification of Certificate',
104        'ref_let': 'Recommendation/Reference Letter',
105        'proc_cert': 'Processing of Certificate by Proxy',
106        'loss_idcard': 'Loss of ID Card (student)',
107        'staff_loss_idcard': 'Loss of ID Card (staff)',
108        'loss_examcard': 'Loss of Exam Card',
109        'loss_result': 'Loss of Result',
110        'loss_receipt': 'Loss of Receipt',
111        'loss_clearance': 'Loss of Clearance',
112        'conv_brochure': 'ND Convocation Brochure',
113        'hnd_conv_brochure': 'HND Convocation Brochure',
114        }
115
116    DISABLE_PAYMENT_GROUP_DICT = {
117        'sf_all': 'School Fee - All Students',
118        'sf_non_pg': 'School Fee - Non-PG Students',
119        }
120
121    SPECIAL_HANDLING_DICT = {
122        'regular': 'Regular Hostel',
123        'blocked': 'Blocked Hostel',
124        'pg': 'Postgraduate Hostel',
125        'itch': 'ITCH Hostel'
126        }
127
128    SPECIAL_APP_DICT = {
129        'certificate': 'ND Certificate',
130        'hnd_certificate': 'HND Certificate',
131        'state_result': 'ND Statement of Result',
132        'hnd_state_result': 'HND Statement of Result',
133        'transcript_local': 'ND Transcript (local)',
134        'hnd_transcript_local': 'HND Transcript (local)',
135        'transcript_foreign': 'ND Transcript (foreign)',
136        'hnd_transcript_foreign': 'HND Transcript (foreign)',
137        'ver_result': 'Verification of Result Payment',
138        'change_course': 'Change of Course Payment',
139        'change_inst': 'Change of Institute Payment',
140        'jamb_reject': 'JAMB Rejection Form Payment',
141        'cert_of_cert': 'Certification of Certificate Payment',
142        'ref_let': 'Recommendation/Reference Letter Payment',
143        'proc_cert': 'Processing of Certificate by Proxy Payment',
144        'loss_idcard': 'Loss of ID Card (student)',
145        'staff_loss_idcard': 'Loss of ID Card (staff)',
146        'loss_examcard': 'Loss of Exam Card Payment',
147        'loss_result': 'Loss of Result Payment',
148        'loss_receipt': 'Loss of Receipt Payment',
149        'loss_clearance': 'Loss of Clearance Payment',
150        'conv_brochure': 'ND Convocation Brochure',
151        'hnd_conv_brochure': 'HND Convocation Brochure',
152        }
Note: See TracBrowser for help on using the repository browser.