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:
b021f0f
)
1795: falscher Einbezug des Rabattes im letzten Einkaufspreis der Einkaufsrechnung
author
Rolf Fluehmann
<rolf.fluehmann@revamp-it.ch>
Wed, 8 Jan 2014 08:14:19 +0000
(09:14 +0100)
committer
Rolf Fluehmann
<rolf.fluehmann@revamp-it.ch>
Wed, 8 Jan 2014 08:16:00 +0000
(09:16 +0100)
SL/IR.pm
patch
|
blob
|
history
diff --git
a/SL/IR.pm
b/SL/IR.pm
index
84ce10a
..
b3c99b8
100644
(file)
--- a/
SL/IR.pm
+++ b/
SL/IR.pm
@@
-210,7
+210,7
@@
sub post_invoice {
# update parts table by setting lastcost to current price, don't allow negative values by using abs
$query = qq|UPDATE parts SET lastcost = ? WHERE id = ?|;
- @values = (abs($f
orm->{"sellprice_$i"}
/ $basefactor), conv_i($form->{"id_$i"}));
+ @values = (abs($f
xsellprice
/ $basefactor), conv_i($form->{"id_$i"}));
do_query($form, $dbh, $query, @values);
# check if we sold the item already and