projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bee8b1
)
Bugfix zu 1289 Gutschriften zu Rechnungen haben in der Tat Lagerbewegungen (in der...
author
Jan Büren
<jan@lx-office-hosting.de>
Thu, 4 Mar 2010 08:51:02 +0000
(09:51 +0100)
committer
Jan Büren
<jan@lx-office-hosting.de>
Thu, 4 Mar 2010 08:51:02 +0000
(09:51 +0100)
SL/IS.pm
patch
|
blob
|
history
diff --git
a/SL/IS.pm
b/SL/IS.pm
index
a176b4d
..
6bf6aaf
100644
(file)
--- 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 =