source: WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFee.py @ 1992

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"""
12return SchoolFee
13"""
14
15fee1 = ("ART",
16        "SSC",
17        "LAW",
18        "EDU",
19        )
20       
21sessionstring = "School Fee for Session %s" % context.portal_vocabularies.sessions.get(session)
22fee_1_data = ("22200",sessionstring)
23fee_2_data = ("23700",sessionstring)
24
25if faculty in fee1:
26    return fee_1_data
27return fee_2_data
28
Note: See TracBrowser for help on using the repository browser.