projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stable merged into unstable again (due to failure on binary file during previous...
[fa-stable.git]
/
manufacturing
/
includes
/
db
/
work_orders_quick_db.inc
diff --git
a/manufacturing/includes/db/work_orders_quick_db.inc
b/manufacturing/includes/db/work_orders_quick_db.inc
index 5654caeb3d70ad07c38a6e616a98b0a5b2c42844..bcf9688f0ef015e1d5270a564042ed5b91c95664 100644
(file)
--- a/
manufacturing/includes/db/work_orders_quick_db.inc
+++ b/
manufacturing/includes/db/work_orders_quick_db.inc
@@
-123,6
+123,7
@@
function work_order_quick_costs($woid, $stock_id, $units_reqd, $date_, $advanced
$memo, -$bom_cost);
}
+ $item_accounts = get_stock_gl_code($stock_id);
if ($advanced)
{
$wo = get_work_order($woid);
@@
-151,7
+152,6
@@
function work_order_quick_costs($woid, $stock_id, $units_reqd, $date_, $advanced
} else { // only for quick
// credit additional costs
- $item_accounts = get_stock_gl_code($stock_id);
if ($costs != 0.0)
{