Last change
on this file since 15596 was
1440,
checked in by joachim, 18 years ago
|
book_reserverved_bed enhanced:
- reserve and change button added
1.) all beds which are reserved for this student are unreserved.
2.) the selected bed is reserved for this student.
3.) The new bed-koordinate is reflected in the accommodation object.
The reserve functionallity is unchanged.
|
-
Property svn:keywords set to
Id
|
File size:
341 bytes
|
Line | |
---|
1 | ## Script (Python) "getSessionId" |
---|
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: getSessionId.py 1440 2007-02-19 15:06:06Z joachim $ |
---|
11 | """ |
---|
12 | return the Session Id |
---|
13 | """ |
---|
14 | import DateTime |
---|
15 | now = DateTime.DateTime() |
---|
16 | if now.month() > 7: |
---|
17 | return "%s" % now.year() |
---|
18 | return "%s" % (now.year() - 1) |
---|
Note: See
TracBrowser for help on using the repository browser.