X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2ae70bd488265cab4a7cef8243b3660f7d35e83e..cd6bfeee2bf076f15f9fdf57806a7c42bdf1760e:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 9fe058a91..f8c660d2a 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1904,6 +1904,11 @@ sub _make_record_item { } else { $obj->$method($value); } + + if ($method eq 'discount') { + $obj->discount($obj->discount / 100.0); + } + } else { $obj->{__additional_form_attributes}{$method} = $value; }