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

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

More special payment fee categories added.

  • Property svn:keywords set to Id
File size: 6.0 KB
Line 
1## $Id: utils.py 11629 2014-05-09 16:18:04Z 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': 'Certificate Payment',
130        'state_result': 'Statement of Result Payment',
131        'transcript_local': 'Transcript (local) Payment',
132        'transcript_foreign': 'Transcript (foreign) Payment',
133        'ver_result': 'Verification of Result Payment',
134        'change_course': 'Change of Course Payment',
135        'change_inst': 'Change of Institute Payment',
136        'jamb_reject': 'JAMB Rejection Form Payment',
137        'cert_of_cert': 'Certification of Certificate Payment',
138        'ref_let': 'Recommendation/Reference Letter Payment',
139        'proc_cert': 'Processing of Certificate by Proxy Payment',
140        'loss_idcard': 'Loss of ID Card Payment',
141        'loss_examcard': 'Loss of Exam Card Payment',
142        'loss_result': 'Loss of Result Payment',
143        'loss_receipt': 'Loss of Receipt Payment',
144        'loss_clearance': 'Loss of Clearance Payment',
145        'conv_brochure': 'Convocation Brochure Payment',
146        }
Note: See TracBrowser for help on using the repository browser.