Changeset 1203 for pykota/trunk/bin/cupspykota
- Timestamp:
- 11/23/03 20:01:37 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r1200 r1203 24 24 # 25 25 # $Log$ 26 # Revision 1.13 2003/11/23 19:01:35 jalet 27 # Job price added to history 28 # 26 29 # Revision 1.12 2003/11/21 14:28:43 jalet 27 30 # More complete job history. … … 357 360 # update the quota for the current user on this printer 358 361 if printer.Exists : 362 jobprice = (float(printer.PricePerPage or 0.0) * jobsize) + float(printer.PricePerJob or 0.0) 359 363 if jobsize : 360 364 userquota = thebackend.storage.getUserPQuota(user, printer) … … 363 367 364 368 # adds the current job to history 365 printer.addJobToHistory(thebackend.jobid, user, thebackend.accounter.getLastPageCounter(), action, jobsize, thebackend.preserveinputfile, thebackend.title, thebackend.copies, thebackend.options)369 printer.addJobToHistory(thebackend.jobid, user, thebackend.accounter.getLastPageCounter(), action, jobsize, jobprice, thebackend.preserveinputfile, thebackend.title, thebackend.copies, thebackend.options) 366 370 367 371 return retcode # return (retcode or gotSigTerm) shouldn't be needed