- Timestamp:
- 10 May 2007, 04:41:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/getNextSessionId.py
r1758 r1764 10 10 # $Id$ 11 11 """ 12 return the next Session Id 12 return the next Session Id 13 13 """ 14 if session != context.getSessionId(): 14 15 if session != context.getSessionId()[2:]: 15 16 ns = int(session) + 1 16 17 else: -
WAeUP_SRP/trunk/skins/waeup_default/getSessionId.py
r1707 r1764 10 10 # $Id$ 11 11 """ 12 return the Session Id 12 return the Session Id 13 13 """ 14 15 # must be changed in 2007/2008; should return only the last two digits 16 14 17 import DateTime 15 18 now = DateTime.DateTime() -
WAeUP_SRP/trunk/skins/waeup_default/getSessionString.py
r1490 r1764 1 ## Script (Python) "getSession Id"1 ## Script (Python) "getSessionString" 2 2 ##bind container=container 3 3 ##bind context=context … … 10 10 # $Id$ 11 11 """ 12 return the Session string 12 return the Session string 13 13 """ 14 14 import DateTime -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r1758 r1764 92 92 payment.getContent().edit(mapping=info) 93 93 wftool.doActionFor(payment,'close') 94 if next_session == context.getSessionId() :94 if next_session == context.getSessionId()[2:]: 95 95 wftool.doActionFor(student,'pay_school_fee') 96 96 else: 97 97 study_course = getattr(student,'study_course') 98 wftool.doActionFor(study_course,'open')98 #wftool.doActionFor(study_course,'open') 99 99 study_course_doc = study_course.getContent() 100 100 next_level = "%s" % (int(s_brain.level) + 100)
Note: See TracChangeset for help on using the changeset viewer.