From 0f33c880b8fdb7ab48bc40dd0464e7458ac00c8a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 10 Jun 2008 15:33:37 +0000 Subject: [PATCH] Bei Eingangslieferscheinen wurden Nachkommastellen beim Lagereingang abgeschnitten. Debugcode entfernt. --- bin/mozilla/do.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 8cc81f854..26ebde50b 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -905,9 +905,9 @@ sub update_stock_in { my $stock_info = []; foreach my $i (1..$form->{rowcount}) { + $form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"}); push @{ $stock_info }, { map { $_ => $form->{"${_}_${i}"} } qw(warehouse_id bin_id chargenumber qty unit) }; } - $main::lxdebug->dump(0, "si", $stock_info); display_stock_in_form($stock_info); -- 2.20.1