|
Last change
on this file since 17841 was
5190,
checked in by Henrik Bettermann, 17 years ago
|
|
implement request payment
|
-
Property svn:keywords set to
Id
|
|
File size:
526 bytes
|
| Line | |
|---|
| 1 | ## Script (Python) "getSchoolFeeForRequest" |
|---|
| 2 | ##bind container=container |
|---|
| 3 | ##bind context=context |
|---|
| 4 | ##bind namespace= |
|---|
| 5 | ##bind script=script |
|---|
| 6 | ##bind subpath=traverse_subpath |
|---|
| 7 | ##parameters=brain=None |
|---|
| 8 | ##title= |
|---|
| 9 | ## |
|---|
| 10 | # $Id: getSchoolFeeForRequest.py 5190 2010-05-13 10:20:33Z henrik $ |
|---|
| 11 | """ |
|---|
| 12 | return SchoolFee |
|---|
| 13 | """ |
|---|
| 14 | |
|---|
| 15 | d = {} |
|---|
| 16 | |
|---|
| 17 | d['all'] = 0 |
|---|
| 18 | |
|---|
| 19 | next_info = context.getNextInfo(brain) |
|---|
| 20 | next_session_str = next_info['next_session_str'] |
|---|
| 21 | d['next_session_id'] = next_info['next_session_id'] |
|---|
| 22 | d['next_session_str'] = next_info['next_session_str'] |
|---|
| 23 | d['description'] = "School Fee for Session %s" % next_session_str |
|---|
| 24 | |
|---|
| 25 | return d |
|---|
Note: See
TracBrowser for help on using the repository browser.