decodeProperties(array ( 'file_dependency' => array ( '0160727bc29c481fa2d53c02f7147f4d149ef404' => array ( 0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewBlockView.tpl', 1 => 1711810494, 2 => 'file', ), ), 'nocache_hash' => '1374262820690858018ba146-68656637', 'function' => array ( ), 'variables' => array ( 'PICKIST_DEPENDENCY_DATASOURCE' => 0, 'RECORD_STRUCTURE' => 0, 'BLOCK_LABEL_KEY' => 0, 'BLOCK_LIST' => 0, 'BLOCK' => 0, 'FIELD_MODEL_LIST' => 0, 'USER_MODEL' => 0, 'DAY_STARTS' => 0, 'IS_HIDDEN' => 0, 'MODULE_NAME' => 0, 'FIELD_MODEL' => 0, 'TAXCLASS_DETAILS' => 0, 'COUNTER' => 0, 'WIDTHTYPE' => 0, 'tax' => 0, 'MODULE' => 0, 'IMAGE_DETAILS' => 0, 'IMAGE_INFO' => 0, 'fieldDataType' => 0, 'RECORD' => 0, 'BASE_CURRENCY_SYMBOL' => 0, 'IS_AJAX_ENABLED' => 0, 'FIELD_DISPLAY_VALUE' => 0, 'FIELD_VALUE' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_690858018faca', ),false); /*/%%SmartyHeaderCode%%*/?> tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?>value);?> ' />tpl_vars['FIELD_MODEL_LIST'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->_loop = false; $_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value){ $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->_loop = true; $_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->key; ?>tpl_vars['BLOCK'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK_LIST']->value[$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value], null, 0);?>tpl_vars['BLOCK']->value==null||count($_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value)<=0){?>
tpl_vars['IS_HIDDEN'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK']->value->isHidden(), null, 0);?>tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?>value;?> ' />

tpl_vars['BLOCK_LIST']->value[$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value]->get('id');?> >tpl_vars['BLOCK_LIST']->value[$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value]->get('id');?> > tpl_vars['BLOCK_LABEL_KEY']->value;?> tpl_vars['MODULE_NAME']->value;?>


tpl_vars['IS_HIDDEN']->value){?> class="hide" >tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?>tpl_vars['FIELD_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false; $_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value){ $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true; $_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key; ?>tpl_vars['fieldDataType'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?>tpl_vars['FIELD_MODEL']->value->isViewableInDetailView()){?>tpl_vars['FIELD_MODEL']->value->get('uitype')=="83"){?>tpl_vars['tax'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax']->_loop = false; $_smarty_tpl->tpl_vars['count'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['tax']->key => $_smarty_tpl->tpl_vars['tax']->value){ $_smarty_tpl->tpl_vars['tax']->_loop = true; $_smarty_tpl->tpl_vars['count']->value = $_smarty_tpl->tpl_vars['tax']->key; ?>tpl_vars['COUNTER']->value==2){?>tpl_vars["COUNTER"] = new Smarty_variable(1, null, 0);?>tpl_vars["COUNTER"] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?>tpl_vars['FIELD_MODEL']->value->get('uitype')=="69"||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="105"){?>tpl_vars['COUNTER']->value!=0){?>tpl_vars['COUNTER']->value==2){?>tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?>tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?>tpl_vars['FIELD_MODEL']->value->get('uitype')=="20"||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"||$_smarty_tpl->tpl_vars['fieldDataType']->value=='reminder'||$_smarty_tpl->tpl_vars['fieldDataType']->value=='recurrence'){?>tpl_vars['COUNTER']->value=='1'){?>tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?>tpl_vars['COUNTER']->value==2){?>tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?>tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?>tpl_vars['FIELD_MODEL_LIST']->value)==1&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="19"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="20"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="30"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')!="recurringtype"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="69"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="105"){?>tpl_vars['FIELD_MODEL_LIST']->value)==true&&count($_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value)!=1&&$_smarty_tpl->tpl_vars['COUNTER']->value==1){?>
tpl_vars['tax']->value['taxlabel'],$_smarty_tpl->tpl_vars['MODULE']->value);?> (%)tpl_vars['tax']->value['check_value']==1){?>tpl_vars['tax']->value['percentage'];?> 0
tpl_vars['FIELD_MODEL']->value->get('label');?> tpl_vars['MODULE_NAME']->value;?>
    tpl_vars['IMAGE_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['IMAGE_INFO']->_loop = false; $_smarty_tpl->tpl_vars['ITER'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['IMAGE_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['IMAGE_INFO']->key => $_smarty_tpl->tpl_vars['IMAGE_INFO']->value){ $_smarty_tpl->tpl_vars['IMAGE_INFO']->_loop = true; $_smarty_tpl->tpl_vars['ITER']->value = $_smarty_tpl->tpl_vars['IMAGE_INFO']->key; ?>tpl_vars['IMAGE_INFO']->value['orgname'];?> tpl_vars['IMAGE_INFO']->value['url'])&&!empty($_tmp5)){?>
tpl_vars['FIELD_MODEL']->value->getName()=='description'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'){?> style='width:8%'>tpl_vars['MODULE_NAME']->value=='Documents'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label')=="File Name"&&$_smarty_tpl->tpl_vars['RECORD']->value->get('filelocationtype')=='E'){?>tpl_vars['MODULE_NAME']->value;?> tpl_vars['FIELD_MODEL']->value->get('label');?> tpl_vars['MODULE_NAME']->value;?> tpl_vars['FIELD_MODEL']->value->get('uitype')=='72')&&($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='unit_price')){?>(tpl_vars['BASE_CURRENCY_SYMBOL']->value;?> )tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['fieldDataType']->value=='reminder'||$_smarty_tpl->tpl_vars['fieldDataType']->value=='recurrence'){?> colspan="3" tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> >tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?>tpl_vars['fieldDataType']->value=='multipicklist'){?>tpl_vars['FIELD_DISPLAY_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')), null, 0);?>tpl_vars['FIELD_DISPLAY_VALUE'] = new Smarty_variable(Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'))), null, 0);?>tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='21'){?> style="white-space:normal;" >getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getDetailViewTemplateName(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value,'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value,'RECORD'=>$_smarty_tpl->tpl_vars['RECORD']->value), 0);?> tpl_vars['IS_AJAX_ENABLED']->value&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()=='true'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isAjaxEditable()=='true'){?>tpl_vars['fieldDataType']->value=='multipicklist'){?>value->get('name');?> []' data-type="tpl_vars['fieldDataType']->value;?> " data-displayvalue='tpl_vars['FIELD_DISPLAY_VALUE']->value;?> ' data-value="tpl_vars['FIELD_VALUE']->value;?> " />value->get('name');?> ' data-type="tpl_vars['fieldDataType']->value;?> " data-displayvalue='tpl_vars['FIELD_DISPLAY_VALUE']->value;?> ' data-value="tpl_vars['FIELD_VALUE']->value;?> " />