Changeset 5223 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 14 Jun 2010, 17:45:58 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r5205 r5223 85 85 d['Title'] = 'Payments' 86 86 payments.getContent().edit(mapping=d) 87 wftool.doActionFor(payments,'open')87 context.waeup_tool.changeWorkflowState(payments, 'opened') 88 88 else: 89 89 payments = getattr(student,'payments') … … 118 118 payment = getattr(payments,p_id) 119 119 wftool = context.portal_workflow 120 wftool.doActionFor(payment,'open')120 context.waeup_tool.changeWorkflowState(payment, 'opened') 121 121 payment.getContent().edit(mapping=info) 122 wftool.doActionFor(payment,'close')122 context.waeup_tool.changeWorkflowState(payment, 'closed') 123 123 124 124 study_course = getattr(student,'study_course') 125 125 try: 126 wftool.doActionFor(study_course,'open')126 context.waeup_tool.changeWorkflowState(study_course, 'opened') 127 127 except: 128 128 pass
Note: See TracChangeset for help on using the changeset viewer.