Changeset 3744 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 30 Oct 2008, 09:11:49 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/request_gown.py
r3736 r3744 34 34 student = getattr(students,student_id) 35 35 student_record = context.students_catalog.getRecordByKey(student_id) 36 session = context.getSessionId() 36 37 #session = context.getSessionId() 37 38 38 39 validate = request.has_key("cpsdocument_create_button") … … 77 78 p_id = "p%s" % ds.get('pin_n') 78 79 pin = str(ds.get('pin')) 80 session = str(ds.get('session')) 81 82 #from Products.zdb import set_trace; set_trace() 83 79 84 try: 80 85 cost = context.portal_pins(pin="".join(pin.split('-')))[0].cost … … 95 100 info['type'] = 'sc' 96 101 info['status'] = 'paid' 97 info['session_id'] = session[0] 102 #info['session_id'] = session[0] 103 info['session_id'] = session 98 104 info['item'] = '' 99 105 info['category'] = 'gown' -
WAeUP_SRP/trunk/skins/waeup_epayment/request_gown_form.pt
r3736 r3744 9 9 10 10 <span tal:condition="rendered_main"> 11 <h3>Hire Gown for Session <span tal:replace="session_str" />!</h3>11 <h3>Hire Gown!</h3> 12 12 <br /> 13 13 <div tal:replace="structure rendered_main" />
Note: See TracChangeset for help on using the changeset viewer.