X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d416d4c43db74a0812d74834d078df9e0d2921a6..b80a03a9cf7a249e771c5ce080970ce5131e10f0:/SL/IR.pm diff --git a/SL/IR.pm b/SL/IR.pm index 3ebae9653..d79e0fd5d 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -112,7 +112,7 @@ sub post_invoice { $form->{"inventory_accno_$i"} = $form->{"expense_accno_$i"}; } - if ($form->{"qty_$i"} != 0) { + if ($form->{"id_$i"}) { # get item baseunit $query = qq|SELECT p.unit