X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/f893eda30f6dc4c793f3e51f936d676720898432..8c89bb02f1e21e7f1d0d0152ef992b137dc47068:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index 200eeae9d..7bd3853ca 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -240,7 +240,7 @@ sub save { $form->parse_amount($myconfig, $form->{"${_}_$i"}) } qw(qty ship); - if ($form->{"qty_$i"}) { + if ($form->{"id_$i"}) { # get item baseunit $query = qq|SELECT p.unit @@ -1028,7 +1028,7 @@ sub order_details { $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"}); - if ($form->{"qty_$i"} != 0) { + if ($form->{"id_$i"} != 0) { # add number, description and qty to $form->{number}, ....