Last change
on this file since 1992 was
1992,
checked in by Henrik Bettermann, 17 years ago
|
enable online payment for previous sessions
|
-
Property svn:keywords set to
Id
|
File size:
551 bytes
|
Line | |
---|
1 | ## Script (Python) "getSchoolFee" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters=faculty=None, session=None |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | # $Id: getSchoolFee.py 1992 2007-07-05 20:50:28Z henrik $ |
---|
11 | """ |
---|
12 | return SchoolFee |
---|
13 | """ |
---|
14 | |
---|
15 | fee1 = ("ART", |
---|
16 | "SSC", |
---|
17 | "LAW", |
---|
18 | "EDU", |
---|
19 | ) |
---|
20 | |
---|
21 | sessionstring = "School Fee for Session %s" % context.portal_vocabularies.sessions.get(session) |
---|
22 | fee_1_data = ("22200",sessionstring) |
---|
23 | fee_2_data = ("23700",sessionstring) |
---|
24 | |
---|
25 | if faculty in fee1: |
---|
26 | return fee_1_data |
---|
27 | return fee_2_data |
---|
28 | |
---|
Note: See
TracBrowser for help on using the repository browser.