Show
Ignore:
Timestamp:
02/14/06 16:18:45 (18 years ago)
Author:
jerome
Message:

Added the 'duplicatesdelay' and 'balancezero' directives.

Files:
1 modified

Legend:

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

    r2622 r2692  
    100100        else : 
    101101            if entry.LimitBy.lower() == "balance" : 
    102                 if balance == 0.0 : 
     102                balancezero = self.tool.config.getBalanceZero() 
     103                if balance == balancezero : 
    103104                    if entry.OverCharge > 0 : 
    104105                        datelimit = "DENY" 
     
    109110                        datelimit = "" 
    110111                        reached = "-B" 
    111                 elif balance < 0 : 
     112                elif balance < balancezero : 
    112113                    datelimit = "DENY" 
    113114                    reached = "+B"