Overhead and labour cost changed to define standard costs.
[fa-stable.git] / inventory / includes / db / items_trans_db.inc
index 84ba75ae43db78de6c211572de1f318d3f8cf729..58d7722ddb70f1b8c2d23222dd15fa02d451d182 100644 (file)
@@ -31,8 +31,8 @@ function stock_cost_update($stock_id, $material_cost, $labour_cost, $overhead_co
        begin_transaction();
 
        $sql = "UPDATE ".TB_PREF."stock_master SET material_cost=".db_escape($material_cost).", 
-               labour_cost=".db_escape($labour_cost).", 
-               overhead_cost=".db_escape($overhead_cost)."
+               labour_cost=".db_escape($labour_cost).",
+               overhead_cost=".db_escape($overhead_cost)."
                WHERE stock_id=".db_escape($stock_id);
        db_query($sql,"The cost details for the inventory item could not be updated");