From e48dce4564ae92a79c429ddc934320be91eda16a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 5 Feb 2007 12:06:27 +0000 Subject: [PATCH] =?utf8?q?Beim=20Schlie=C3=9Fen=20mehrerer=20Auftr=C3=A4ge?= =?utf8?q?=20nicht=20nochmal=20die=20Werte=20parsen=20--=20das=20geschieht?= =?utf8?q?=20bereits=20in=20den=20.pls.=20Fix=20f=C3=BCr=20Bug=20529.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/OE.pm | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/SL/OE.pm b/SL/OE.pm index e12369ead..916d41bda 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -532,27 +532,6 @@ sub close_orders { my ($self, $myconfig, $form) = @_; - for my $i (1 .. $form->{rowcount}) { - - map { - $form->{"${_}_$i"} = - $form->parse_amount($myconfig, $form->{"${_}_$i"}) - } qw(qty ship); - if ($delete_oe_id) { - $form->{"orderitems_id_$i"} = ""; - } - - if ($form->{"qty_$i"}) { - - # set values to 0 if nothing entered - $form->{"discount_$i"} = - $form->parse_amount($myconfig, $form->{"discount_$i"}); - - $form->{"sellprice_$i"} = - $form->parse_amount($myconfig, $form->{"sellprice_$i"}); - } - } - # get ids from $form map { push @ids, $form->{"ordnumber_$_"} if $form->{"ordnumber_$_"} } (1 .. $form->{rowcount}); -- 2.20.1