]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/oe.pl
Merge branch 'master' of ssh://git-jbueren@lx-office.linet-services.de/~/lx-office-erp
[mfinanz.git] / bin / mozilla / oe.pl
index e6ec1f9435c3c64d8fe24911128b7a04afb9ce94..cd7c1eeab20220aa2532e24cfda796d0cc220774 100644 (file)
@@ -558,7 +558,7 @@ sub update {
     $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"$form->{vc}_discount"} * 100);
 
     if ($rows) {
-      $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+      $form->{"qty_$i"} = 1 unless ($form->parse_amount(\%myconfig, $form->{"qty_$i"}));
 
       if ($rows > 1) {