Changeset 1229 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 7 Jan 2007, 18:32:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/epayment_cb.py
r1224 r1229 26 26 sbrain = context.students_catalog(id=student_id)[0] 27 27 res = context.portal_catalog(portal_type="Certificate", 28 28 id = sbrain.course) 29 29 if not res: 30 30 return None … … 36 36 ("x_ApprAmt","resp_approved_amount"), 37 37 ) 38 pd = [] 38 pd = {} 39 from Products.zdb import set_trace;set_trace() 39 40 for rc,pdk in resp_codes: 40 41 pd[pdk] = request.get(rc) 41 context.getContent().edit(mapping=pdk) 42 context.getContent().edit(mapping=pd) 43 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.