From c51f2b805bc4e7a2e105ee5e73ecab75aa8f048a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 17 Jun 2008 13:18:16 +0000 Subject: [PATCH] =?utf8?q?Doppeltes=20Parsen=20von=20Zahlen=20vermeiden=20?= =?utf8?q?(passiert=20beim=20Speichern=20von=20Auftr=C3=A4gen,=20in=20dene?= =?utf8?q?n=20die=20Liefermenge=20angezeigt=20werden=20soll).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index af2b892ff..524ccdb7e 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1891,7 +1891,7 @@ sub _update_ship { next if (!$ship_entry || ($ship_entry->{qty} <= 0)); my $rowqty = - $form->parse_amount(\%myconfig, $form->{"qty_$i"}) + ($form->{simple_save} ? $form->{"qty_$i"} : $form->parse_amount(\%myconfig, $form->{"qty_$i"})) * $all_units->{$form->{"unit_$i"}}->{factor} / $all_units->{$form->{"partunit_$i"}}->{factor}; -- 2.20.1