Changeset 1950
- Timestamp:
- 23 Jun 2007, 06:23:51 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/check_transactions.py
r1949 r1950 74 74 review_state = context.getStudentReviewState(student_id) 75 75 if review_state != "cleared_and_validated": 76 logger.info('%s review_state = %s' % (student_id,review_state))77 continue 76 #logger.info('%s review_state = %s' % (student_id,review_state)) 77 continue 78 78 review_state = wftool.getInfoFor(payment_obj,'review_state',None) 79 79 if payment_doc.resp_code == "": … … 81 81 logger.info("Payment object of %s is closed and won't be reopend" % (student_id)) 82 82 continue 83 logger.info('%s approves epayment for %s by import' % (member,student_id)) )83 logger.info('%s approves epayment for %s by import' % (member,student_id)) 84 84 else: 85 85 if review_state == "closed": 86 logger.info('%s approves epayment for %s by import . Payment object was already closed, old resp_code: %s' % (member,student_id,payment_doc.resp_code))86 logger.info('%s approves epayment for %s by import, old resp_code: %s' % (member,student_id,payment_doc.resp_code)) 87 87 wftool.doActionFor(payment_obj,'open') 88 # cannot happen but anyway ... 88 # cannot happen but anyway ... 89 89 else: 90 logger.info('%s approves epayment for %s by import. Payment object is overwritten, old resp_code: %s' % (member,student_id,payment_doc.resp_code))90 logger.info('%s approves epayment for %s by import. Payment object was opened, old resp_code: %s' % (member,student_id,payment_doc.resp_code)) 91 91 pd['resp_code'] = 'IP' 92 92 pd['resp_desc'] = 'Payment approved by import, %s' % (DateTime.DateTime()) -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1948 r1950 30 30 <tr tal:repeat="row rows" 31 31 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 32 <td tal:attributes="class string:${row/confirmed}">32 <td style="white-space:normal" tal:attributes="class string:${row/confirmed}"> 33 33 <a style="white-space:normal" target="slip" href="" tal:attributes="href string:${context/absolute_url}/${row/id}/payment_receipt" 34 34 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
Note: See TracChangeset for help on using the changeset viewer.