]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
make_record(_item): discount-Feld richtig behandeln
[mfinanz.git] / bin / mozilla / io.pl
index 9fe058a9193cbbfb2c72c1c454af3ad84d693652..f8c660d2ae559716ad1aecac685a32eee615ddf2 100644 (file)
@@ -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;
     }