Changeset 2670 for WAeUP_SRP/base/skins/waeup_epayment
- Timestamp:
- 15 Nov 2007, 22:07:14 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/dumpSCPayments.py
r2667 r2670 25 25 import logging 26 26 import DateTime 27 logger = logging.getLogger('Skins.dumpSCPayments .py')27 logger = logging.getLogger('Skins.dumpSCPayments') 28 28 from Products.AdvancedQuery import Eq, Between, Le,In 29 29 aq_pins = context.portal_pins.evalAdvancedQuery … … 44 44 45 45 used_query = ~Eq('student','') & ~In('prefix_batch',('APP1','APP2','APP3','APP4','APP5',)) 46 46 47 47 pins = aq_pins(used_query,sortSpecs=('student',)) 48 48 #set_trace() … … 82 82 # break 83 83 count += 1 84 student_id = d['student_id'] = pin.student 84 student_id = d['student_id'] = pin.student 85 85 costs = ["%8.2f" % cost_dict[pin.prefix_batch],] 86 86 pins = [pin.pin,] … … 94 94 logger.info('%s dumped sc payments to %s' % (member,csv_name)) 95 95 logger.info("finished for %d students total N %12.2f %12.2f Euros" % (count,sum_total,sum_total/170)) 96 97 96 97
Note: See TracChangeset for help on using the changeset viewer.