Changeset 1994
- Timestamp:
- 6 Jul 2007, 07:54:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFee.py
r1992 r1994 18 18 "EDU", 19 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) 20 session_fees = {'99': ('22200','23700'), 21 '00': ('22200','23700'), 22 '01': ('22200','23700'), 23 '02': ('22200','23700'), 24 '03': ('22200','23700'), 25 '04': ('22200','23700'), 26 '05': ('22200','23700'), 27 '06': ('22200','23700'), 28 } 29 #sessionstring = "School Fee for Session %s" % context.portal_vocabularies.sessions.get(session) 30 # sessionstring = "School Fee for Session %s" % context.sessions_voc(key=session) 31 # fee_1_data = ("22200",sessionstring) 32 # fee_2_data = ("23700",sessionstring) 24 33 34 # if faculty in fee1: 35 # return fee_1_data 36 # return fee_2_data 37 f = 1 25 38 if faculty in fee1: 26 return fee_1_data 27 return fee_2_data 39 f = 0 40 return (session_fees[session][f], 41 "School Fee for Session %s" % context.sessions_voc(key=session)) 28 42
Note: See TracChangeset for help on using the changeset viewer.