Changeset 1700 for WAeUP_SRP/trunk/skins/waeup_utilities
- Timestamp:
- 23 Apr 2007, 21:16:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/readOnlinePaymentsFromLog.py
r1667 r1700 95 95 )) 96 96 if payment_doc.resp_code == "" and response_code == "00": 97 pd = {}98 97 review_state = wftool.getInfoFor(payment_obj,'review_state',None) 99 98 if review_state != "opened": … … 104 103 logger.info('%s review_state = %s' % (student_id,review_state)) 105 104 continue 106 pd['resp_code'] = 'IP' 107 pd['resp_desc'] = 'Payment approved by import, %s' % (DateTime.DateTime()) 108 payment_doc.edit(mapping=pd) 105 readin['resp_code'] = 'IP ' + readin['resp_code'] 106 readin['resp_desc'] = 'Payment approved by logfile import, %s. ' % (DateTime.DateTime()) \ 107 + readin['resp_desc'] 108 payment_doc.edit(mapping=readin) 109 109 if payment_doc.type_description.startswith('School Fee'): 110 110 wftool.doActionFor(student_obj,'pay_school_fee') 111 logger.info('%s approves epayment for %s by import' % (member,student_id))111 logger.info('%s approves epayment for %s by logfile import' % (member,student_id)) 112 112 wftool.doActionFor(payment_obj,'close') 113 113 approved += 1
Note: See TracChangeset for help on using the changeset viewer.