{
$ex_rate = get_exchange_rate_to_home_currency($currency, $date);
$price_in_home_currency = $price / $ex_rate;
{
$ex_rate = get_exchange_rate_to_home_currency($currency, $date);
$price_in_home_currency = $price / $ex_rate;
}
$material_cost = round2($material_cost, $dec);
if ($cost_adjust) // new 2010-02-10
}
$material_cost = round2($material_cost, $dec);
if ($cost_adjust) // new 2010-02-10