';
$list_body .= ' | ';
$list_body .= ''.$adb->query_result($list_result,$i,"bookname").' | ';
$list_body .= ''.$pk_currency_name.' | ';
$list_body .= ''.CurrencyField::convertToUserFormat($unit_price, null, true).' | ';
$list_body .='';
if(isPermitted("PriceBooks","EditView","") == 'yes')
$list_body .= '';
else
$list_body .= '';
$list_body .= ' |
';
}
}
$smarty->assign("UNIT_PRICE_ARRAY",implode(",",$unit_price_array));
$smarty->assign("FIELD_NAME_ARRAY",implode(",",$field_name_array));
if($order_by !='')
$url_string .="&order_by=".$order_by;
if($sorder !='')
$url_string .="&sorder=".$sorder;
$smarty->assign("LISTENTITY", $list_body);
$smarty->assign("RETURN_MODULE", vtlib_purify($_REQUEST['return_module']));
$smarty->assign("RETURN_ACTION", vtlib_purify($_REQUEST['return_action']));
$smarty->assign("RETURN_ID", $productid);
$smarty->assign("CATEGORY", $parenttab);
$smarty->display("AddProductToPriceBooks.tpl");
?>