- Timestamp:
- 13 Dec 2007, 06:32:18 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Payment.py
r2929 r2931 80 80 wftool = self.portal_workflow 81 81 d = {} 82 d['key'] = self.getId()82 #d['key'] = self.getId() 83 83 d['amount'] = doc.amount 84 84 category = '' … … 92 92 sp = doc.type_description.rfind('/') 93 93 d['session_id'] = doc.type_description[sp-2:sp] 94 d['category'] = category # zb. schoolfee 94 d['category'] = category # zb. schoolfee 95 95 while True: 96 96 if doc.resp_code == "SC": … … 133 133 if review_state == "closed": 134 134 wftool.doActionFor(self.aq_parent,'close') 135 logger.info('updated student %s payment %s' % (student_record.id,self.getId())) 135 136 136 137 InitializeClass(Payment) -
WAeUP_SRP/base/skins/waeup_epayment/upgradePayments.py
r2927 r2931 62 62 student_record = context.students_catalog.getRecordByKey(student_id) 63 63 payment['updatePayment'](student_record) 64 logger.info('upgraded student %s payment %s' % (student_record.id,payment.getId()))64 #logger.info('upgraded student %s payment %s' % (student_record.id,payment.getId())) 65 65 if not count % commit_after: 66 66 logger.info("committing %d total %d" % (commit_after,count))
Note: See TracChangeset for help on using the changeset viewer.