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:
f57fc31
)
Bei Gutschriften wurde der Lagerbestand falsch aktualisiert
author
Philip Reetz
<p.reetz@linet-services.de>
Mon, 13 Aug 2007 09:58:12 +0000
(09:58 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Mon, 13 Aug 2007 09:58:12 +0000
(09:58 +0000)
SL/IS.pm
patch
|
blob
|
history
diff --git
a/SL/IS.pm
b/SL/IS.pm
index
e559286
..
37861e5
100644
(file)
--- a/
SL/IS.pm
+++ b/
SL/IS.pm
@@
-959,7
+959,7
@@
sub post_invoice {
do_query($form, $dbh, $query, @values);
if($form->{"formname"} eq "credit_note") {
- for my $i (1 .. $form->{
paidaccounts
}) {
+ 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);