if (!is_service($issue["mb_flag"]))
$ivaccount = $issue["inventory_account"];
else
- // $ivaccount = $issue["cogs_account"];
- $ivaccount = $issue["assembly_account"]; // changed 2015.10.14 by Petros .
+ $ivaccount = $issue["cogs_account"];
$total_cost += add_gl_trans_std_cost(ST_WORKORDER, $woid, $date_, $ivaccount, 0, 0,
$date_.": "._("Issue of")." ".$stockitem["description"], -$issue_cost);
if (!is_service($issue["mb_flag"]))
$ivaccount = $issue["inventory_account"];
else
- // $ivaccount = $issue["cogs_account"];
- $ivaccount = $issue["assembly_account"]; // changed 2015.10.14 by Petros .
+ $ivaccount = $issue["cogs_account"];
if ($issue_cost != 0)
{