Gettext template update.
[fa-stable.git] / manufacturing / includes / db / work_order_requirements_db.inc
index 395ad6534b1aa4298d4565cfc301968b4c3e3c8f..090c8c548abc3a0dc0089833631ef132b2641691 100644 (file)
@@ -13,9 +13,9 @@ function get_wo_requirements($woid)
 {
        $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.assembly_account
+                       item.cogs_account
                FROM (".TB_PREF."wo_requirements req,"
                        .TB_PREF."locations loc,"
                        .TB_PREF."workcentres center)