Show
Ignore:
Timestamp:
04/24/05 00:01:46 (19 years ago)
Author:
jerome
Message:

The job-billing info is now saved into the database if present.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/dumper.py

    r2163 r2217  
    150150            copies = entry[fields["copies"]] or 1 
    151151            hostname = entry[fields["hostname"]] or "" 
     152            billingcode = entry[fields["billingcode"]] or "-" 
    152153            for pagenum in range(1, jobsize+1) : 
    153                 self.outfile.write("%s %s %s [%s] %s %s - %s\n" % (printername, username, jobid, jobdate, pagenum, copies, hostname)) 
     154                self.outfile.write("%s %s %s [%s] %s %s %s %s\n" % (printername, username, jobid, jobdate, pagenum, copies, billingcode, hostname)) 
    154155         
    155156    def dumpXml(self, entries, datatype) :