Changeset 7069 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 11 Nov 2011, 06:12:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/approve_epayment.py
r5594 r7069 63 63 wftool.doActionFor(student,next_transition) 64 64 65 elif doc.category == 'acceptance': 66 if context.getStudentReviewState() in ('admitted', 'objection_raised'): 67 logger.info('%s paid acceptance fee' % (student_id)) 68 current = DateTime.DateTime() 69 wf = context.portal_workflow 70 info = context.getClearanceInfo() 71 wftool.doActionFor(student,'enter_clearance_pin') 72 context.waeup_tool.changeWorkflowState(info['clear'], 'opened') 73 context.waeup_tool.changeWorkflowState(info['app'], 'closed') 74 dc = {} 75 app_doc = info['app_doc'] 76 #dc['clr_ac_pin'] = pay_doc.order_id 77 dc['clr_ac_date'] = current 78 dc['entry_date'] = current 79 info['clear_doc'].edit(mapping = dc) 80 if info['penalty']: 81 logger.info('%s started late clearance' % (info['id'])) 82 65 83 logger.info('%s approves epayment for %s' % (member,student_id)) 66 84 review_state = wftool.getInfoFor(context,'review_state',None)
Note: See TracChangeset for help on using the changeset viewer.