Changeset 1203 for pykota/trunk/pykota/accounters
- Timestamp:
- 11/23/03 20:01:37 (20 years ago)
- Location:
- pykota/trunk/pykota/accounters
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/external.py
r1200 r1203 22 22 # 23 23 # $Log$ 24 # Revision 1.10 2003/11/23 19:01:36 jalet 25 # Job price added to history 26 # 24 27 # Revision 1.9 2003/11/21 14:28:45 jalet 25 28 # More complete job history. … … 107 110 108 111 # adds the current job to history 109 printer.addJobToHistory(self.filter.jobid, user, self.getLastPageCounter(), action, jobsize, self.filter.preserveinputfile, self.filter.title, self.filter.copies, self.filter.options) 112 jobprice = (float(printer.PricePerPage or 0.0) * jobsize) + float(printer.PricePerJob or 0.0) 113 printer.addJobToHistory(self.filter.jobid, user, self.getLastPageCounter(), action, jobsize, jobprice, self.filter.preserveinputfile, self.filter.title, self.filter.copies, self.filter.options) 110 114 111 115 self.endJob(printer, user) -
pykota/trunk/pykota/accounters/stupid.py
r1200 r1203 22 22 # 23 23 # $Log$ 24 # Revision 1.8 2003/11/23 19:01:37 jalet 25 # Job price added to history 26 # 24 27 # Revision 1.7 2003/11/21 14:28:46 jalet 25 28 # More complete job history. … … 109 112 110 113 # adds the current job to history 111 printer.addJobToHistory(self.filter.jobid, user, counterbeforejob, action, jobsize, self.filter.preserveinputfile, self.filter.title, self.filter.copies, self.filter.options) 114 jobprice = (float(printer.PricePerPage or 0.0) * jobsize) + float(printer.PricePerJob or 0.0) 115 printer.addJobToHistory(self.filter.jobid, user, counterbeforejob, action, jobsize, jobprice, self.filter.preserveinputfile, self.filter.title, self.filter.copies, self.filter.options) 112 116 113 117 return action