- Timestamp:
- 04/17/03 11:36:30 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/repykota
r929 r931 23 23 # 24 24 # $Log$ 25 # Revision 1.28 2003/04/17 09:36:30 jalet 26 # Bad alignment in output 27 # 25 28 # Revision 1.27 2003/04/17 09:26:21 jalet 26 29 # repykota now reports account balances too. … … 203 206 totalmoney += money 204 207 if total or totalmoney : 205 print (" " * 50) + (_("Total : %9i") % total) + (" %-12.12s" % ("%7.2f" % totalmoney)[:12]) 208 pass 209 print (" " * 50) + (_("Total : %9i") % total) + ("%11s" % ("%7.2f" % totalmoney)[:11]) 206 210 printerpagecounter = self.storage.getPrinterPageCounter(printerid) 207 211 try : … … 238 242 reached = (((softlimit is not None) and (pagecounter >= softlimit) and "+") or "-") + "Q" 239 243 strbalance = ("%5.2f" % balance)[:10] 240 strlifetimepaid = ("%6.2f" % lifetimepaid)[:1 1]241 print "%-9.9s %s %7i %7s %7s %10s %-10.10s %8i % -11.11s" % (name, reached, pagecounter, str(softlimit), str(hardlimit), strbalance, str(datelimit)[:10], lifepagecounter, strlifetimepaid)244 strlifetimepaid = ("%6.2f" % lifetimepaid)[:10] 245 print "%-9.9s %s %7i %7s %7s %10s %-10.10s %8i %10s" % (name, reached, pagecounter, str(softlimit), str(hardlimit), strbalance, str(datelimit)[:10], lifepagecounter, strlifetimepaid) 242 246 return (lifepagecounter, lifetimepaid) 243 247