Last change
on this file since 1148 was
1147,
checked in by joachim, 18 years ago
|
start of epayment module
|
-
Property svn:keywords set to
Id
|
File size:
598 bytes
|
Line | |
---|
1 | ## Script (Python) "pay_online" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters= |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | # $Id: pay_online.py 1147 2006-12-29 07:02:47Z joachim $ |
---|
11 | """ |
---|
12 | return Info about the current Student |
---|
13 | """ |
---|
14 | import logging |
---|
15 | logger = logging.getLogger('EPayment.') |
---|
16 | import DateTime |
---|
17 | |
---|
18 | request = context.REQUEST |
---|
19 | students = context.portal_url.getPortalObject().campus.students |
---|
20 | |
---|
21 | student_id = context.getStudentId() |
---|
22 | if student_id is None: |
---|
23 | return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) |
---|
24 | |
---|
25 | student = getattr(students,student_id) |
---|
26 | info = {} |
---|
27 | |
---|
Note: See
TracBrowser for help on using the repository browser.