Changeset 1582 for pykota/trunk/pykota/reporter.py
- Timestamp:
- 07/01/04 19:45:49 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/reporter.py
r1418 r1582 22 22 # 23 23 # $Log$ 24 # Revision 1.9 2004/07/01 17:45:49 jalet 25 # Added code to handle the description field for printers 26 # 24 27 # Revision 1.8 2004/03/24 15:15:24 jalet 25 28 # Began integration of Henrik Janhagen's work on quota-then-balance … … 70 73 71 74 def getPrinterTitle(self, printer) : 72 return _("Report for %s quota on printer %s") % ((self.isgroup and "group") or "user", printer.Name)75 return (_("Report for %s quota on printer %s") % ((self.isgroup and "group") or "user", printer.Name)) + (" (%s)" % printer.Description) 73 76 74 77 def getPrinterGraceDelay(self, printer) : … … 100 103 balance = float(entry.AccountBalance or 0.0) 101 104 lifetimepaid = float(entry.LifeTimePaid or 0.0) 102 105 103 106 #balance 104 107 if entry.LimitBy and (entry.LimitBy.lower() == "balance") :