projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092e038
)
Wrong parameter when saving Item Adjustment
author
Joe
<unknown>
Tue, 12 Aug 2014 21:46:20 +0000
(23:46 +0200)
committer
Joe
<unknown>
Tue, 12 Aug 2014 21:46:20 +0000
(23:46 +0200)
inventory/includes/db/items_adjust_db.inc
patch
|
blob
|
history
diff --git
a/inventory/includes/db/items_adjust_db.inc
b/inventory/includes/db/items_adjust_db.inc
index f9ecd6f314de160d939ff1969ee42b84e658775a..6e95c2574fe781978a9cdcf6dc700bf639b0bf92 100644
(file)
--- a/
inventory/includes/db/items_adjust_db.inc
+++ b/
inventory/includes/db/items_adjust_db.inc
@@
-130,7
+130,7
@@
function add_stock_adjustment_item($adj_id, $stock_id, $location, $date_, $type,
update_average_material_cost(null, $stock_id, $standard_cost, $quantity, $date_);
add_stock_move(ST_INVADJUST, $stock_id, $adj_id, $location,
- $date_, $reference, $quantity, $standard_cost
, $type
);
+ $date_, $reference, $quantity, $standard_cost);
if ($standard_cost > 0)
{