Changeset 2451 for WAeUP_SRP/base/skins/waeup_epayment
- Timestamp:
- 27 Oct 2007, 14:26:41 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py
r2153 r2451 34 34 student = getattr(students,student_id) 35 35 s_brain = context.students_catalog(id=student_id)[0] 36 session = s_brain.session 37 next_session, next_session_str = context.getNextSessionId(session) 38 validate = request.has_key("cpsdocument_create_button") 36 next_info = context.getNextInfo(s_brain) 37 next_session_id = next_info['next_session_id'] 38 next_session_str = next_info['next_session_str'] 39 next_level_id = next_info['next_level_id'] 40 next_transition = next_info['next_transition'] 41 study_course = getattr(student,'study_course') 42 study_course.getContent().edit(mapping= {'current_level': next_level_id, 43 'current_session': next_session_id,}) 44 if next_transition: 45 wftool.doActionFor(student,next_transition) 46 47 # session = s_brain.session 48 # next_session, next_session_str = context.getNextSessionId(session) 49 # validate = request.has_key("cpsdocument_create_button") 39 50 res,psm,ds = lt.renderLayout(layout_id= 'student_schoolfee', 40 51 schema_id= 'payment',
Note: See TracChangeset for help on using the changeset viewer.