Ignore:
Timestamp:
7 Jan 2007, 18:32:05 (18 years ago)
Author:
joachim
Message:

epayment modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/epayment_cb.py

    r1224 r1229  
    2626sbrain = context.students_catalog(id=student_id)[0]
    2727res = context.portal_catalog(portal_type="Certificate",
    28                                      id = sbrain.course)
     28                            id = sbrain.course)
    2929if not res:
    3030    return None
     
    3636              ("x_ApprAmt","resp_approved_amount"),
    3737              )
    38 pd = []
     38pd = {}
     39from Products.zdb import set_trace;set_trace()
    3940for rc,pdk in resp_codes:
    4041    pd[pdk] = request.get(rc)
    41 context.getContent().edit(mapping=pdk)
     42context.getContent().edit(mapping=pd)
     43return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.