Changeset 2687

Show
Ignore:
Timestamp:
02/12/06 15:18:40 (18 years ago)
Author:
jerome
Message:

When an user is in 'nochange' mode, the price of a job should be set to 0.0
otherwise pkinvoice would invoice jobs which didn't impact the user's account
balance in reality.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2642 r2687  
    10311031                # no need to update the quota for the current user on this printer 
    10321032                self.printInfo(_("User %s's quota on printer %s won't be modified") % (self.UserName, self.PrinterName)) 
    1033                 self.JobPrice = self.UserPQuota.computeJobPrice(self.JobSize) 
     1033                self.JobPrice = 0.0 
    10341034            else : 
    10351035                # update the quota for the current user on this printer