projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed language modules locale.inc integration.
[fa-stable.git]
/
manufacturing
/
includes
/
db
/
work_order_produce_items_db.inc
diff --git
a/manufacturing/includes/db/work_order_produce_items_db.inc
b/manufacturing/includes/db/work_order_produce_items_db.inc
index c05bac96c7b2d214be113e23972643394e404e02..cdbd81c0a500d1448aac12ca1c70b09923758919 100644
(file)
--- a/
manufacturing/includes/db/work_order_produce_items_db.inc
+++ b/
manufacturing/includes/db/work_order_produce_items_db.inc
@@
-161,7
+161,7
@@
function void_work_order_produce($type_no)
return;
// deduct the quantity of this production from the parent work order
return;
// deduct the quantity of this production from the parent work order
- work_order_update_finished_quantity($prod["workorder_id"], -$prod["quantity"]
, false
);
+ work_order_update_finished_quantity($prod["workorder_id"], -$prod["quantity"]);
// clear the production record
$sql = "UPDATE ".TB_PREF."wo_manufacture SET quantity=0 WHERE id=".db_escape($type_no);
// clear the production record
$sql = "UPDATE ".TB_PREF."wo_manufacture SET quantity=0 WHERE id=".db_escape($type_no);