X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=SL%2FOE.pm;h=916d41bda301b44fa854f3a336f98dc3fb86c48a;hb=e48dce4564ae92a79c429ddc934320be91eda16a;hp=e12369eadcbb3e302d2a9cfcc2aba6be3bd75362;hpb=b80a03a9cf7a249e771c5ce080970ce5131e10f0;p=kivitendo-erp.git 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});