Changeset 3429 for pykota/trunk/bin/pkrefund
- Timestamp:
- 10/05/08 11:21:53 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkrefund
r3413 r3429 257 257 percent.oneMore() 258 258 else : 259 print _("Date : %s") % str(job.JobDate)[:19]260 print _("Printer : %s") % job.PrinterName261 print _("User : %s") % job.UserName262 print _("JobId : %s") % job.JobId263 print _("Title : %s") % job.JobTitle259 self.display("%s\n" % (_("Date : %s") % str(job.JobDate)[:19])) 260 self.display("%s\n" % (_("Printer : %s") % job.PrinterName)) 261 self.display("%s\n" % (_("User : %s") % job.UserName)) 262 self.display("%s\n" % (_("JobId : %s") % job.JobId)) 263 self.display("%s\n" % (_("Title : %s") % job.JobTitle)) 264 264 if job.JobBillingCode : 265 print _("Billing code : %s") % job.JobBillingCode266 print _("Pages : %i") % job.JobSize267 print _("Credits : %.3f") % job.JobPrice265 self.display("%s\n" % (_("Billing code : %s") % job.JobBillingCode)) 266 self.display("%s\n" % (_("Pages : %i") % job.JobSize)) 267 self.display("%s\n" % (_("Credits : %.3f") % job.JobPrice)) 268 268 269 269 while True : … … 292 292 if outfname != "-" : 293 293 nbusers = len(peruser) 294 print_("Refunded %(nbusers)i users for %(nbjobs)i jobs, %(nbpages)i pages and %(nbcredits).3f credits") \295 % locals() 294 self.display("%s\n" % (_("Refunded %(nbusers)i users for %(nbjobs)i jobs, %(nbpages)i pages and %(nbcredits).3f credits") \ 295 % locals())) 296 296 297 297 if __name__ == "__main__" :