From 8ee1c3bdc197b96b01d1a7cf9f85d05e1e80181d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 4 Mar 2010 09:51:02 +0100 Subject: [PATCH] =?utf8?q?Bugfix=20zu=201289=20Gutschriften=20zu=20Rechnun?= =?utf8?q?gen=20haben=20in=20der=20Tat=20Lagerbewegungen=20(in=20der=20Tab?= =?utf8?q?elle=20parts)=20ausgel=C3=B6st.=20Entsprechend=20rausgenommen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/IS.pm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/SL/IS.pm b/SL/IS.pm index a176b4d55..6bf6aafa2 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -1017,13 +1017,6 @@ sub post_invoice { conv_i($form->{"id"})); do_query($form, $dbh, $query, @values); - if($form->{"formname"} eq "credit_note") { - for my $i (1 .. $form->{rowcount}) { - $query = qq|UPDATE parts SET onhand = onhand - ? WHERE id = ?|; - @values = (conv_i($form->{"qty_$i"}), conv_i($form->{"id_$i"})); - do_query($form, $dbh, $query, @values); - } - } if ($form->{storno}) { $query = -- 2.20.1