X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e1c3b6b77d4407069cb09897a9e79cd8686e41bf..8fd886849e68f:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index f42db4654..26fb98e3e 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -507,7 +507,8 @@ sub select_item { $::form->header; my @item_list = map { - $_->{display_sellprice} /= $_->{price_factor} if ($_->{price_factor}); + # maybe there is a better backend function or way to calc + $_->{display_sellprice} = ($_->{price_factor}) ? $_->{sellprice} / $_->{price_factor} : $_->{sellprice}; $_; } @{ $::form->{item_list} };