Changeset 1285 for pykota/trunk/pykota/accounter.py
- Timestamp:
- 01/12/04 23:43:40 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounter.py
r1272 r1285 22 22 # 23 23 # $Log$ 24 # Revision 1.13 2004/01/12 22:43:40 jalet 25 # New formula to compute a job's price 26 # 24 27 # Revision 1.12 2004/01/11 23:43:31 jalet 25 28 # Bug wrt number of copies with CUPS should be fixed. … … 131 134 132 135 # adds the current job to history 133 jobprice = (float(userpquota.Printer.PricePerPage or 0.0) * jobsize) + float(userpquota.Printer.PricePerJob or 0.0)136 jobprice = userpquota.computeJobPrice(jobsize) 134 137 userpquota.Printer.addJobToHistory(self.filter.jobid, userpquota.User, self.getLastPageCounter(), action, jobsize, jobprice, self.filter.preserveinputfile, self.filter.title, self.filter.copies, self.filter.options) 135 138 self.endJob(userpquota)