]> wagnertech.de Git - mfinanz.git/commitdiff
Merge branch 'master' of ssh://lx-office/~/lx-office-erp
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 3 Mar 2010 10:46:16 +0000 (11:46 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 3 Mar 2010 10:46:16 +0000 (11:46 +0100)
bin/mozilla/oe.pl

index da09648ca04fcda1abf22d9e2c2c90bd030eacc3..fd019eedcfb3dc4a2754c58ca1f0085cd5f280a7 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) {