projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHANGELOG.txt
[fa-stable.git]
/
manufacturing
/
includes
/
db
/
work_order_requirements_db.inc
diff --git
a/manufacturing/includes/db/work_order_requirements_db.inc
b/manufacturing/includes/db/work_order_requirements_db.inc
index 395ad6534b1aa4298d4565cfc301968b4c3e3c8f..090c8c548abc3a0dc0089833631ef132b2641691 100644
(file)
--- a/
manufacturing/includes/db/work_order_requirements_db.inc
+++ b/
manufacturing/includes/db/work_order_requirements_db.inc
@@
-13,9
+13,9
@@
function get_wo_requirements($woid)
{
$sql = "SELECT req.*, item.description, item.mb_flag, loc.location_name,
center.name AS WorkCentreDescription,
{
$sql = "SELECT req.*, item.description, item.mb_flag, loc.location_name,
center.name AS WorkCentreDescription,
-
(item.material_cost+item.overhead_cost+item.labour_cost)
as ComponentCost,
+
item.material_cost
as ComponentCost,
item.inventory_account,
item.inventory_account,
- item.
assembly
_account
+ item.
cogs
_account
FROM (".TB_PREF."wo_requirements req,"
.TB_PREF."locations loc,"
.TB_PREF."workcentres center)
FROM (".TB_PREF."wo_requirements req,"
.TB_PREF."locations loc,"
.TB_PREF."workcentres center)