Changeset 3101
- Timestamp:
- 12/01/06 17:10:39 (18 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r3099 r3101 24 24 - 1.25beta (2006-11-30) : 25 25 26 - Fixed a bug wrt ink accounting, thanks to Netzwerkler. 27 26 28 - Updated all message catalogs and manual pages. 27 29 -
pykota/trunk/pykota/storage.py
r3064 r3101 344 344 inkprice = coefprice * value 345 345 self.parent.tool.logdebug("Applying coefficient %f for color %s (used at %f%% on page %i) to base cost %f gives %f" % (coefvalue, ink, value, pageindex+1, pageprice, inkprice)) 346 totalprice += coefprice346 totalprice += inkprice 347 347 if self.User.OverCharge != 1.0 : # TODO : beware of rounding errors 348 348 overcharged = totalprice * self.User.OverCharge