decodeProperties(array ( 'file_dependency' => array ( '00b5342b10a7caa3c2121f9b8d02408b437de0e0' => array ( 0 => 'C:\\inetpub\\wwwroot\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\PriceBooks\\RelatedList.tpl', 1 => 1520586670, 2 => 'file', ), ), 'nocache_hash' => '5991875105d876ff38d7dd4-38915588', 'function' => array ( ), 'variables' => array ( 'RELATED_MODULE' => 0, 'RELATED_MODULE_NAME' => 0, 'PAGING' => 0, 'ORDER_BY' => 0, 'SORT_ORDER' => 0, 'RELATED_ENTIRES_COUNT' => 0, 'TOTAL_ENTRIES' => 0, 'TAB_LABEL' => 0, 'USER_MODEL' => 0, 'RELATED_HEADERS' => 0, 'COLUMN_NAME' => 0, 'HEADER_FIELD' => 0, 'NEXT_SORT_ORDER' => 0, 'FASORT_IMAGE' => 0, 'SORT_IMAGE' => 0, 'MODULE' => 0, 'FIELD_UI_TYPE_MODEL' => 0, 'SEARCH_DETAILS' => 0, 'RELATED_RECORDS' => 0, 'RELATED_RECORD' => 0, 'PARENT_RECORD' => 0, 'LISTPRICE' => 0, 'WIDTHTYPE' => 0, 'PARENT_RECORD_CURRENCY_SYMBOL' => 0, 'RELATED_HEADERNAME' => 0, 'CURRENCY_VALUE' => 0, 'CURRENCY_SYMBOL' => 0, 'RELATED_FIELDS_INFO' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_5d876ff39cd0f', ),false); /*/%%SmartyHeaderCode%%*/?> tpl_vars['RELATED_MODULE_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_MODULE']->value->get('name'), null, 0);?>tpl_vars['RELATED_MODULE_NAME']->value!='Products'&&$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value!='Services'){?>getSubTemplate (vtemplate_path('RelatedList.tpl','Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
getSubTemplate (vtemplate_path("partials/RelatedListHeader.tpl",$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?>tpl_vars['HEADER_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['HEADER_FIELD']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration=0; foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_FIELD']->key => $_smarty_tpl->tpl_vars['HEADER_FIELD']->value){ $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = true; $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration++; $_smarty_tpl->tpl_vars['HEADER_FIELD']->last = $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration === $_smarty_tpl->tpl_vars['HEADER_FIELD']->total; ?>tpl_vars['HEADER_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['HEADER_FIELD']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration=0; foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_FIELD']->key => $_smarty_tpl->tpl_vars['HEADER_FIELD']->value){ $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = true; $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration++; $_smarty_tpl->tpl_vars['HEADER_FIELD']->last = $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration === $_smarty_tpl->tpl_vars['HEADER_FIELD']->total; ?>tpl_vars['RELATED_RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RELATED_RECORD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_RECORDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['RELATED_RECORD']->key => $_smarty_tpl->tpl_vars['RELATED_RECORD']->value){ $_smarty_tpl->tpl_vars['RELATED_RECORD']->_loop = true; ?>tpl_vars['BASE_CURRENCY_DETAILS'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getBaseCurrencyDetails(), null, 0);?>value->getId();?> ' data-recordUrl='tpl_vars['RELATED_RECORD']->value->getDetailViewUrl();?> '>tpl_vars['HEADER_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['HEADER_FIELD']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration=0; foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_FIELD']->key => $_smarty_tpl->tpl_vars['HEADER_FIELD']->value){ $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = true; $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration++; $_smarty_tpl->tpl_vars['HEADER_FIELD']->last = $_smarty_tpl->tpl_vars['HEADER_FIELD']->iteration === $_smarty_tpl->tpl_vars['HEADER_FIELD']->total; ?>tpl_vars['RELATED_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('name'), null, 0);?>
tpl_vars['HEADER_FIELD']->last){?> >tpl_vars['HEADER_FIELD']->value->get('label'),$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value);?> tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?> tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('name')){?> tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?>
tpl_vars['HEADER_FIELD']->value->get('column')=='time_start'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=='time_end'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getFieldDataType()=='reference'){?>tpl_vars['FIELD_UI_TYPE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getUITypeModel(), null, 0);?>getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL']->value->getListSearchTemplateName(),$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['HEADER_FIELD']->value,'SEARCH_INFO'=>$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getName()],'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value), 0);?>
tpl_vars['RELATED_HEADERS']->value['listprice'])||!empty($_smarty_tpl->tpl_vars['RELATED_HEADERS']->value['unit_price']))){?>tpl_vars['RELATED_HEADERS']->value['listprice'])){?>tpl_vars["LISTPRICE"] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get('listprice'), null, 0);?>value->getId();?> ' data-list-price=tpl_vars['LISTPRICE']->value;?> >   tpl_vars['HEADER_FIELD']->value->get('name')=='listprice'){?>tpl_vars["LISTPRICE"] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('name')), null, 0);?>tpl_vars['LISTPRICE']->value,$_smarty_tpl->tpl_vars['PARENT_RECORD_CURRENCY_SYMBOL']->value);?> tpl_vars['HEADER_FIELD']->value->isNameField()==true||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('uitype')=='4'){?>tpl_vars['RELATED_RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value);?> tpl_vars['HEADER_FIELD']->value->get('uitype')=='71'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('uitype')=='72'){?>tpl_vars['CURRENCY_SYMBOL'] = new Smarty_variable(Vtiger_RelationListView_Model::getCurrencySymbol($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get('id'),$_smarty_tpl->tpl_vars['HEADER_FIELD']->value), null, 0);?>tpl_vars['CURRENCY_VALUE'] = new Smarty_variable(CurrencyField::convertToUserFormat($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value)), null, 0);?>tpl_vars['HEADER_FIELD']->value->get('uitype')=='72'){?>tpl_vars['CURRENCY_VALUE'] = new Smarty_variable(CurrencyField::convertToUserFormat($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value),null,true), null, 0);?>tpl_vars['CURRENCY_VALUE']->value,$_smarty_tpl->tpl_vars['CURRENCY_SYMBOL']->value);?> tpl_vars['RELATED_RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value);?> tpl_vars['HEADER_FIELD']->last){?>