Changeset 1303
- Timestamp:
- 15 Jan 2007, 17:17:11 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/epayment_cb.py
r1246 r1303 18 18 request = context.REQUEST 19 19 students = context.portal_url.getPortalObject().campus.students 20 20 wftool = context.portal_workflow 21 21 student_id = context.getStudentId() 22 22 if student_id is None: … … 41 41 pd[pdk] = request.get(rc) 42 42 context.getContent().edit(mapping=pd) 43 wftool.doActionFor(student,'pay_school_fee') 44 wftool.doActionFor(context,'close') 45 43 46 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r1286 r1303 30 30 id = sbrain.course) 31 31 if not res: 32 logger.info('"%s","certificate not found", "%s"' % (student_id, course))32 logger.info('"%s","certificate not found", "%s"' % (student_id,sbrain.course)) 33 33 prefix = "" 34 34 else: -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_online.py
r1257 r1303 17 17 import DateTime 18 18 request = context.REQUEST 19 wftool = context.portal_workflow 19 20 students = context.portal_url.getPortalObject().campus.students 20 21 … … 64 65 payments.invokeFactory('Payment', p_id) 65 66 payment = getattr(payments,p_id) 67 wftool.doActionFor(payment,'open') 66 68 d = {} 67 69 d.update(info) 68 70 #from Products.zdb import set_trace;set_trace() 69 71 payment.getContent().edit(mapping=d) 72 wftool.doActionFor(payment,'close') 73 wftool.doActionFor(student,'pay_school_fee') 70 74 info['callback_url'] = "%s/payments/%s/epayment_cb" % (student.absolute_url(),p_id) 71 75 if context.portal_url().find('uniben-demo.waeup.org') >-1 or\ … … 93 97 url = info['action'] + "?" + urlencode(args) 94 98 request.RESPONSE.redirect(url) 95 -
WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt
r1120 r1303 28 28 <span tal:replace="info/batch_doc/no_of_pins" /></h3> 29 29 <span tal:replace="structure rendered" /> 30 <table >30 <table tal:condition="nothing"> 31 31 <tr tal:repeat="pin info/used"> 32 32 <td tal:content="python:path('repeat/pin/index')+1" />
Note: See TracChangeset for help on using the changeset viewer.