feat: Добавлен инструмент генерации документов для AI Ассистента
- Создан API create_document_with_text.php для создания DOCX/XLSX/PPTX с текстом от AI - Поддержка Markdown форматирования (заголовки, жирный, курсив, списки, код) - Установлен PHPWord для красивого форматирования документов - Исправлены пути сохранения (crm2/CRM_Active_Files/... без /crm/ в начале) - Замена пробелов на подчеркивания в именах папок - Создана документация для AI и разработчиков - Добавлены API для работы с шаблонами Nextcloud
This commit is contained in:
@@ -1 +1 @@
|
||||
2025-11-01 12:29:12
|
||||
2025-11-12 13:20:08
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:21
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:21:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewBlockView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:5671819946905d0d55fc265-26913218%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1374262820690858018ba146-68656637%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '5671819946905d0d55fc265-26913218',
|
||||
'nocache_hash' => '1374262820690858018ba146-68656637',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -44,9 +44,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d563c51',
|
||||
'unifunc' => 'content_690858018faca',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d563c51')) {function content_6905d0d563c51($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690858018faca')) {function content_690858018faca($_smarty_tpl) {?>
|
||||
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
|
||||
' /><?php }?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->_loop = false;
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:42:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/EditViewContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:17938407036911893c237dd1-17515342%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'01743230e70860c3b1fac77a514f64328b625c55' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/EditViewContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '17938407036911893c237dd1-17515342',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
|
||||
'DUPLICATE_RECORDS' => 0,
|
||||
'MODULE' => 0,
|
||||
'RECORD_STRUCTURE' => 0,
|
||||
'BLOCK_FIELDS' => 0,
|
||||
'BLOCK_LABEL' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'refrenceList' => 0,
|
||||
'COUNTER' => 0,
|
||||
'isReferenceField' => 0,
|
||||
'refrenceListCount' => 0,
|
||||
'DISPLAYID' => 0,
|
||||
'REFERENCED_MODULE_STRUCTURE' => 0,
|
||||
'value' => 0,
|
||||
'REFERENCED_MODULE_NAME' => 0,
|
||||
'TAXCLASS_DETAILS' => 0,
|
||||
'taxCount' => 0,
|
||||
'FILE_LOCATION_TYPE_FIELD' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911893c25efd',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911893c25efd')) {function content_6911893c25efd($_smarty_tpl) {?>
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
|
||||
' /><?php }?><div name='editContent'><?php if ($_smarty_tpl->tpl_vars['DUPLICATE_RECORDS']->value){?><div class="fieldBlockContainer duplicationMessageContainer"><div class="duplicationMessageHeader"><b><?php echo vtranslate('LBL_DUPLICATES_DETECTED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</b></div><div><?php echo getDuplicatesPreventionMessage($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['DUPLICATE_RECORDS']->value);?>
|
||||
</div></div><?php }?><?php $_smarty_tpl->tpl_vars['BLOCK_FIELDS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['BLOCK_LABEL'] = 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['BLOCK_FIELDS']->key => $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value){
|
||||
$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['BLOCK_LABEL']->value = $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->key;
|
||||
?><?php if (count($_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value)>0){?><div class='fieldBlockContainer' data-block="<?php echo $_smarty_tpl->tpl_vars['BLOCK_LABEL']->value;?>
|
||||
"><h4 class='fieldBlockHeader'><?php echo vtranslate($_smarty_tpl->tpl_vars['BLOCK_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4><hr><table class="table table-borderless"><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->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['BLOCK_FIELDS']->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;
|
||||
?><?php $_smarty_tpl->tpl_vars["isReferenceField"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?><?php $_smarty_tpl->tpl_vars["refrenceList"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getReferenceList(), null, 0);?><?php $_smarty_tpl->tpl_vars["refrenceListCount"] = new Smarty_variable(count($_smarty_tpl->tpl_vars['refrenceList']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()==true){?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value=='1'){?><td></td><td></td></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?><?php }?><td class="fieldLabel alignMiddle"><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value=="reference"){?><?php if ($_smarty_tpl->tpl_vars['refrenceListCount']->value>1){?><?php $_smarty_tpl->tpl_vars["DISPLAYID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_STRUCTURE"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getReferenceModule($_smarty_tpl->tpl_vars['DISPLAYID']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCTURE']->value)){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCTURE']->value->get('name'), null, 0);?><?php }?><select style="width: 140px;" class="select2 referenceModulesList"><?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['refrenceList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
|
||||
$_smarty_tpl->tpl_vars['value']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['value']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl->tpl_vars['value']->value);?>
|
||||
</option><?php } ?></select><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="83"){?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('COUNTER'=>$_smarty_tpl->tpl_vars['COUNTER']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE']->value), 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value){?><?php $_smarty_tpl->tpl_vars['taxCount'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value)%2, null, 0);?><?php if ($_smarty_tpl->tpl_vars['taxCount']->value==0){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(2, null, 0);?><?php }?><?php }?><?php }?><?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Documents'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label')=='File Name'){?><?php $_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value['LBL_FILE_INFORMATION']['filelocationtype'], null, 0);?><?php if ($_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD']->value){?><?php if ($_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD']->value->get('fieldvalue')=='E'){?><?php echo vtranslate("LBL_FILE_URL",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<span class="redColor">*</span><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?><?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?></td><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!='83'){?><td class="fieldValue" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='boolean'){?> style="width:25%" <?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'){?> colspan="3" <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> <?php }?>><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php }?><?php }?><?php } ?><?php if ((1 & $_smarty_tpl->tpl_vars['COUNTER']->value)){?><td></td><td></td><?php }?></tr></table></div><?php }?><?php } ?></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:05:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/PDFPreview.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:101799608069119cb0594492-06264467%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'01c29c5e9e1a044c26df4ead217dd053084261db' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/PDFPreview.tpl',
|
||||
1 => 1715769098,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '101799608069119cb0594492-06264467',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'COMMONTEMPLATEIDS' => 0,
|
||||
'FILE_PATH' => 0,
|
||||
'DOWNLOAD_URL' => 0,
|
||||
'PRINT_ACTION' => 0,
|
||||
'SEND_EMAIL_PDF_ACTION' => 0,
|
||||
'SEND_EMAIL_PDF_ACTION_TYPE' => 0,
|
||||
'EDIT_AND_EXPORT_ACTION' => 0,
|
||||
'DISABLED_EXPORT_EDIT' => 0,
|
||||
'SAVE_AS_DOC_ACTION' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119cb059cf9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119cb059cf9')) {function content_69119cb059cf9($_smarty_tpl) {?>
|
||||
<div class="modal-dialog modal-lg"><div class="modal-content"><div class="filePreview container-fluid"><div class="modal-header row"><div class="filename col-lg-8"><h4 class="textOverflowEllipsis maxWidth50" title="<?php echo vtranslate('LBL_PREVIEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><b><?php echo vtranslate('LBL_PREVIEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</b></h4></div><div class="col-lg-1 pull-right"><button type="button" class="close" aria-label="Close" data-dismiss="modal"><span aria-hidden="true" class='fa fa-close'></span></button></div></div><div class="modal-body row" style="height:550px;"><input type="hidden" name="commontemplateid" value='<?php echo $_smarty_tpl->tpl_vars['COMMONTEMPLATEIDS']->value;?>
|
||||
' /><iframe id='PDFMakerPreviewContent' src="<?php echo $_smarty_tpl->tpl_vars['FILE_PATH']->value;?>
|
||||
" data-desc="<?php echo $_smarty_tpl->tpl_vars['FILE_PATH']->value;?>
|
||||
" height="100%" width="100%"></iframe></div></div><div class="modal-footer"><div class='clearfix modal-footer-overwrite-style'><div class="row clearfix "><div class=' textAlignCenter col-lg-12 col-md-12 col-sm-12 '><button type='button' class='btn btn-success downloadButton' data-desc="<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
"><i title="<?php echo vtranslate('LBL_EXPORT','PDFMaker');?>
|
||||
" class="fa fa-download"></i> <strong><?php echo vtranslate('LBL_DOWNLOAD_FILE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button> <?php if ($_smarty_tpl->tpl_vars['PRINT_ACTION']->value=="1"){?><button type='button' class='btn btn-success printButton'><i class="fa fa-print" aria-hidden="true"></i> <strong><?php echo vtranslate('LBL_PRINT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button> <?php }?><?php if ($_smarty_tpl->tpl_vars['SEND_EMAIL_PDF_ACTION']->value=="1"){?><button type='button' class='btn btn-success sendEmailWithPDF' data-sendtype="<?php echo $_smarty_tpl->tpl_vars['SEND_EMAIL_PDF_ACTION_TYPE']->value;?>
|
||||
"><i class="fa fa-send" aria-hidden="true"></i> <strong><?php echo vtranslate('LBL_SEND_EMAIL');?>
|
||||
</strong></button> <?php }?><?php if ($_smarty_tpl->tpl_vars['EDIT_AND_EXPORT_ACTION']->value=="1"){?><button type='button' <?php if ($_smarty_tpl->tpl_vars['DISABLED_EXPORT_EDIT']->value){?>disabled="disabled"<?php }?> class='btn btn-success editPDF'><i class="fa fa-edit" aria-hidden="true"></i> <strong><?php echo vtranslate('LBL_EDIT');?>
|
||||
</strong></button> <?php }?><?php if ($_smarty_tpl->tpl_vars['SAVE_AS_DOC_ACTION']->value=="1"){?><button type='button' class='btn btn-success savePDFToDoc'><i class="fa fa-save" aria-hidden="true"></i> <strong><?php echo vtranslate('LBL_SAVEASDOC','PDFMaker');?>
|
||||
</strong></button> <?php }?><a class='cancelLink' href="javascript:void(0);" type="reset" data-dismiss="modal"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div></div></div></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:12:31
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/FilePreview.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:168615790869119e6f020a53-03381090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'020e281da584551c1ed3ab1842ab6852151c4ac3' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/FilePreview.tpl',
|
||||
1 => 1761324906,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '168615790869119e6f020a53-03381090',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FILE_PREVIEW_NOT_SUPPORTED' => 0,
|
||||
'FILE_NAME' => 0,
|
||||
'DOWNLOAD_URL' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'RECORD_ID' => 0,
|
||||
'FULL_FILE_NAME' => 0,
|
||||
'BASIC_FILE_TYPE' => 0,
|
||||
'FILE_CONTENTS' => 0,
|
||||
'OPENDOCUMENT_FILE_TYPE' => 0,
|
||||
'PDF_FILE_TYPE' => 0,
|
||||
'SITE_URL' => 0,
|
||||
'IMAGE_FILE_TYPE' => 0,
|
||||
'AUDIO_FILE_TYPE' => 0,
|
||||
'FILE_TYPE' => 0,
|
||||
'VIDEO_FILE_TYPE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119e6f03014',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119e6f03014')) {function content_69119e6f03014($_smarty_tpl) {?>
|
||||
<div class="modal-dialog modal-lg"><div class="modal-content"><div class="filePreview container-fluid"><div class="modal-header row"><div class="filename <?php if ($_smarty_tpl->tpl_vars['FILE_PREVIEW_NOT_SUPPORTED']->value!='yes'){?> col-lg-7 <?php }else{ ?> col-lg-7 <?php }?>"><h3 style="margin-top:0px;"><b><?php echo $_smarty_tpl->tpl_vars['FILE_NAME']->value;?>
|
||||
</b></h3></div><?php if ($_smarty_tpl->tpl_vars['FILE_PREVIEW_NOT_SUPPORTED']->value!='yes'){?><div class="col-lg-4"><a class="btn btn-default btn-small pull-right" href="<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
"><?php echo vtranslate('LBL_DOWNLOAD_FILE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></div><?php }?><div class="col-lg-1"><button data-dismiss="modal" class="close pull-right" title="close"><span aria-hidden="true" class='fa fa-close'></span></button><div class="col-lg-2"><button type="button" class="btn btn-success btn-small pull-right" onclick="console.log('🔍 DEBUG: RECORD_ID=<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
, FULL_FILE_NAME=<?php echo strtr($_smarty_tpl->tpl_vars['FULL_FILE_NAME']->value, array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
, FILE_NAME=<?php echo strtr($_smarty_tpl->tpl_vars['FILE_NAME']->value, array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
'); console.log('🔍 DEBUG: FULL_FILE_NAME length:', '<?php echo strtr($_smarty_tpl->tpl_vars['FULL_FILE_NAME']->value, array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
'.length); openNextcloudEditor('<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['FULL_FILE_NAME']->value, array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
')" style="margin-right: 5px;" title="Редактировать в Nextcloud"><i class="fa fa-edit"></i> Редактировать</button></div></div></div><div class="modal-body row" style="height:550px;"><?php if ($_smarty_tpl->tpl_vars['FILE_PREVIEW_NOT_SUPPORTED']->value=='yes'){?><div class="well" style="height:100%;"><center><b><?php echo vtranslate('LBL_PREVIEW_NOT_AVAILABLE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</b><br><br><br><a class="btn btn-default btn-large" href="<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
"><?php echo vtranslate('LBL_DOWNLOAD_FILE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a><br><br><br><br><div class='span11 offset1 alert-info' style="padding:10px"><span class='span offset1 alert-info'><i class="icon-info-sign"></i><?php echo vtranslate('LBL_PREVIEW_SUPPORTED_FILES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</span></div><br></center></div><?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['BASIC_FILE_TYPE']->value=='yes'){?><div style="overflow:auto;height:100%;"><pre><?php echo htmlentities($_smarty_tpl->tpl_vars['FILE_CONTENTS']->value);?>
|
||||
</pre></div><?php }elseif($_smarty_tpl->tpl_vars['OPENDOCUMENT_FILE_TYPE']->value=='yes'){?><iframe id="viewer" src="libraries/jquery/Viewer.js/#../../../<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
" width="100%" height="100%" allowfullscreen webkitallowfullscreen></iframe><?php }elseif($_smarty_tpl->tpl_vars['PDF_FILE_TYPE']->value=='yes'){?><iframe id='viewer' src="libraries/jquery/pdfjs/web/viewer.html?file=<?php echo urlencode($_smarty_tpl->tpl_vars['SITE_URL']->value);?>
|
||||
/<?php echo urlencode($_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value);?>
|
||||
" height="100%" width="100%"></iframe><?php }elseif($_smarty_tpl->tpl_vars['IMAGE_FILE_TYPE']->value=='yes'){?><div style="overflow:auto;height:100%;width:100%;float:left;background-image: url(<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
);background-color: #EEEEEE;background-position: center 25%;background-repeat: no-repeat;display: block; background-size: contain;"></div><?php }elseif($_smarty_tpl->tpl_vars['AUDIO_FILE_TYPE']->value=='yes'){?><div style="overflow:auto;height:100%;width:100%;float:left;background-color: #EEEEEE;background-position: center 25%;background-repeat: no-repeat;display: block;text-align: center;"><div style="display: inline-block;margin-top : 10%;"><audio controls><source src="<?php echo $_smarty_tpl->tpl_vars['SITE_URL']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
" type="<?php echo $_smarty_tpl->tpl_vars['FILE_TYPE']->value;?>
|
||||
"></audio></div></div><?php }elseif($_smarty_tpl->tpl_vars['VIDEO_FILE_TYPE']->value=='yes'){?><div style="overflow:auto;height:100%;"><link href="libraries/jquery/video-js/video-js.css" rel="stylesheet"><script src="libraries/jquery/video-js/video.js"></script><video class="video-js vjs-default-skin" controls preload="auto" data-setup="{'techOrder': ['flash', 'html5']}" width="100%" height="100%"><source src="<?php echo $_smarty_tpl->tpl_vars['SITE_URL']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
" type='<?php echo $_smarty_tpl->tpl_vars['FILE_TYPE']->value;?>
|
||||
' /></video></div><?php }?><?php }?></div></div></div></div>
|
||||
|
||||
<script>
|
||||
// Fallback функция если глобальная не загрузилась
|
||||
if (typeof window.testEditButton !== 'function') {
|
||||
window.testEditButton = function(recordId, fileName) {
|
||||
console.log("🔥 ЛОКАЛЬНАЯ КНОПКА НАЖАТА!", recordId, fileName);
|
||||
alert("🔥 ЛОКАЛЬНАЯ КНОПКА РАБОТАЕТ!\n\nRecord ID: " + recordId + "\nFile Name: " + fileName);
|
||||
};
|
||||
console.log("✅ Создана локальная версия testEditButton в FilePreview");
|
||||
}
|
||||
</script>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/SidebarAppMenu.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15005435336905d0724eb590-01905763%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1584830707690777d80bb981-62472020%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15005435336905d0724eb590-01905763',
|
||||
'nocache_hash' => '1584830707690777d80bb981-62472020',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -36,9 +36,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d07250e9b',
|
||||
'unifunc' => 'content_690777d80d321',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d07250e9b')) {function content_6905d07250e9b($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d80d321')) {function content_690777d80d321($_smarty_tpl) {?>
|
||||
|
||||
<div class="app-menu hide" id="app-menu">
|
||||
<div class="container-fluid">
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:03:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Invoice/SummaryViewWidgets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:181319122869119c3f81c923-96920881%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'043dbbaf5351bee8c7487011baf16f64417d7807' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Invoice/SummaryViewWidgets.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '181319122869119c3f81c923-96920881',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'DETAILVIEW_LINKS' => 0,
|
||||
'DETAIL_VIEW_WIDGET' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'MODULE_SUMMARY' => 0,
|
||||
'DOCUMENT_WIDGET_MODEL' => 0,
|
||||
'RECORD' => 0,
|
||||
'PARENT_ID' => 0,
|
||||
'RELATED_ACTIVITIES' => 0,
|
||||
'COMMENTS_WIDGET_MODEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119c3f833b2',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119c3f833b2')) {function content_69119c3f833b2($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEWWIDGET']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->key => $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value){
|
||||
$_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->_loop = true;
|
||||
?><?php if (($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value->getLabel()=='Documents')){?><?php $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value, null, 0);?><?php }elseif(($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value->getLabel()=='ModComments')){?><?php $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value, null, 0);?><?php }?><?php } ?><div class="left-block col-lg-5"><div class="summaryView"><div class="summaryViewHeader"><h4><?php echo vtranslate('LBL_KEY_FIELDS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</h4></div><div class="summaryViewFields"><?php echo $_smarty_tpl->tpl_vars['MODULE_SUMMARY']->value;?>
|
||||
</div></div><?php if ($_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value){?><div class="summaryWidgetContainer"><div class="widgetContainer_documents" data-url="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->getUrl();?>
|
||||
" data-name="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->getLabel();?>
|
||||
"><div class="widget_header clearfix"><input type="hidden" name="relatedModule" value="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->get('linkName');?>
|
||||
" /><span class="toggleButton pull-left"><i class="fa fa-angle-down"></i> </span><h3 class="display-inline-block pull-left"><?php echo vtranslate($_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</h3><?php if ($_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->get('action')){?><?php $_smarty_tpl->tpl_vars['PARENT_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getId(), null, 0);?><div class="pull-right"><div class="dropdown"><button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="fa fa-plus" title="<?php echo vtranslate('LBL_NEW_DOCUMENT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
"></span> <?php echo vtranslate('LBL_NEW_DOCUMENT','Documents');?>
|
||||
<span class="caret"></span></button><ul class="dropdown-menu"><li class="dropdown-header"><i class="fa fa-upload"></i> <?php echo vtranslate('LBL_FILE_UPLOAD','Documents');?>
|
||||
</li><li id="VtigerAction"><a href="javascript:Documents_Index_Js.uploadTo('Vtiger',<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
,'<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
')"><img style=" margin-top: -3px;margin-right: 4%;" title="Vtiger" alt="Vtiger" src="layouts/v7/skins//images/Vtiger.png"><?php ob_start();?><?php echo vtranslate('LBL_VTIGER','Documents');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php echo vtranslate('LBL_TO_SERVICE','Documents',$_tmp1);?>
|
||||
</a></li><li role="separator" class="divider"></li><li class="dropdown-header"><i class="fa fa-link"></i> <?php echo vtranslate('LBL_LINK_EXTERNAL_DOCUMENT','Documents');?>
|
||||
</li><li id="shareDocument"><a href="javascript:Documents_Index_Js.createDocument('E',<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
,'<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
')"> <i class="fa fa-external-link"></i> <?php ob_start();?><?php echo vtranslate('LBL_FILE_URL','Documents');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo vtranslate('LBL_FROM_SERVICE','Documents',$_tmp2);?>
|
||||
</a></li><li role="separator" class="divider"></li><li id="createDocument"><a href="javascript:Documents_Index_Js.createDocument('W',<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
,'<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
')"><i class="fa fa-file-text"></i> <?php ob_start();?><?php echo vtranslate('SINGLE_Documents','Documents');?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo vtranslate('LBL_CREATE_NEW','Documents',$_tmp3);?>
|
||||
</a></li></ul></div></div><?php }?></div><div class="widget_contents"></div></div></div><?php }?></div><div class="middle-block col-lg-7"><div id="relatedActivities"><?php echo $_smarty_tpl->tpl_vars['RELATED_ACTIVITIES']->value;?>
|
||||
</div><?php if ($_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value){?><div class="summaryWidgetContainer"><div class="widgetContainer_comments" data-url="<?php echo $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->getUrl();?>
|
||||
" data-name="<?php echo $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->getLabel();?>
|
||||
"><div class="widget_header"><input type="hidden" name="relatedModule" value="<?php echo $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->get('linkName');?>
|
||||
" /><h3 class="display-inline-block"><?php echo vtranslate($_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</h3></div><div class="widget_contents"></div></div></div><?php }?></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Tag.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15845536546905d07263b918-63398742%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1799409663690777d81d0592-47608269%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15845536546905d07263b918-63398742',
|
||||
'nocache_hash' => '1799409663690777d81d0592-47608269',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -24,9 +24,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d072641dc',
|
||||
'unifunc' => 'content_690777d81d762',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d072641dc')) {function content_6905d072641dc($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d81d762')) {function content_690777d81d762($_smarty_tpl) {?>
|
||||
|
||||
<span class="tag <?php if ($_smarty_tpl->tpl_vars['ACTIVE']->value==true){?> active <?php }?>" title="<?php echo $_smarty_tpl->tpl_vars['TAG_MODEL']->value->getName();?>
|
||||
" data-type="<?php echo $_smarty_tpl->tpl_vars['TAG_MODEL']->value->getType();?>
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewPreProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:11177022469077c0967e583-02708483%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0600493ad4998eb28a9fe7c21cb15102aa37b31f' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewPreProcess.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '11177022469077c0967e583-02708483',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'CURRENT_USER_MODEL' => 0,
|
||||
'LEFTPANELHIDE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69077c096c65a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69077c096c65a')) {function content_69077c096c65a($_smarty_tpl) {?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
|
||||
<div class="container-fluid app-nav">
|
||||
<div class="row">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-60' tabindex='-1' role='dialog' aria-hidden='true'>
|
||||
<div class="data">
|
||||
</div>
|
||||
<div class="modal-dialog">
|
||||
</div>
|
||||
</div>
|
||||
<div class="main-container main-container-<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('leftpanelhide'), null, 0);?>
|
||||
<div id="modnavigator" class="module-nav">
|
||||
<div class="hidden-xs hidden-sm mod-switcher-container">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/Menubar.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="sidebar-essentials" class="sidebar-essentials <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> hide <?php }?>">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarEssentials.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
<div class="listViewPageDiv content-area <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> full-width <?php }?>" id="listViewContent">
|
||||
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-04 18:39:34
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/DashBoardTabContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1122599036690a1e363d2618-72132144%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'075f954eb8a26902d3ee1f2e624f084db41854b1' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/DashBoardTabContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1122599036690a1e363d2618-72132144',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'TABID' => 0,
|
||||
'WIDGETS' => 0,
|
||||
'WIDGET' => 0,
|
||||
'WIDGETDOMID' => 0,
|
||||
'COLUMNS' => 0,
|
||||
'ROW' => 0,
|
||||
'ROWCOUNT' => 0,
|
||||
'COLCOUNT' => 0,
|
||||
'CHARTWIDGETDOMID' => 0,
|
||||
'WIDGETID' => 0,
|
||||
'CURRENT_USER' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690a1e363efed',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690a1e363efed')) {function content_690a1e363efed($_smarty_tpl) {?>
|
||||
|
||||
<div class='dashBoardTabContainer'><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashBoardHeader.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('DASHBOARDHEADER_TITLE'=>vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value)), 0);?>
|
||||
<br><div class="dashboardBanner"></div><div class="dashBoardTabContents clearfix"><div class="gridster_<?php echo $_smarty_tpl->tpl_vars['TABID']->value;?>
|
||||
"><ul><?php $_smarty_tpl->tpl_vars['COLUMNS'] = new Smarty_variable(2, null, 0);?><?php $_smarty_tpl->tpl_vars['ROW'] = new Smarty_variable(1, null, 0);?><?php $_smarty_tpl->tpl_vars['WIDGET'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['WIDGET']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['WIDGETS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['count']['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['WIDGET']->key => $_smarty_tpl->tpl_vars['WIDGET']->value){
|
||||
$_smarty_tpl->tpl_vars['WIDGET']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['count']['index']++;
|
||||
?><?php $_smarty_tpl->tpl_vars['WIDGETDOMID'] = new Smarty_variable($_smarty_tpl->tpl_vars['WIDGET']->value->get('linkid'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['WIDGET']->value->getName()=='MiniList'){?><?php $_smarty_tpl->tpl_vars['WIDGETDOMID'] = new Smarty_variable(($_smarty_tpl->tpl_vars['WIDGET']->value->get('linkid')).('-').($_smarty_tpl->tpl_vars['WIDGET']->value->get('widgetid')), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['WIDGET']->value->getName()=='Notebook'){?><?php $_smarty_tpl->tpl_vars['WIDGETDOMID'] = new Smarty_variable(($_smarty_tpl->tpl_vars['WIDGET']->value->get('linkid')).('-').($_smarty_tpl->tpl_vars['WIDGET']->value->get('widgetid')), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['WIDGETDOMID']->value){?><li id="<?php echo $_smarty_tpl->tpl_vars['WIDGETDOMID']->value;?>
|
||||
" <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index']%$_smarty_tpl->tpl_vars['COLUMNS']->value==0&&$_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index']!=0){?> <?php $_smarty_tpl->tpl_vars['ROWCOUNT'] = new Smarty_variable($_smarty_tpl->tpl_vars['ROW']->value+1, null, 0);?> data-row="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getPositionRow($_smarty_tpl->tpl_vars['ROWCOUNT']->value);?>
|
||||
" <?php }else{ ?> data-row="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getPositionRow($_smarty_tpl->tpl_vars['ROW']->value);?>
|
||||
" <?php }?><?php $_smarty_tpl->tpl_vars['COLCOUNT'] = new Smarty_variable(($_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index']%$_smarty_tpl->tpl_vars['COLUMNS']->value)+1, null, 0);?> data-col="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getPositionCol($_smarty_tpl->tpl_vars['COLCOUNT']->value);?>
|
||||
" data-sizex="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getSizeX();?>
|
||||
" data-sizey="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getSizeY();?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['WIDGET']->value->get('position')==''){?> data-position="false"<?php }?>class="dashboardWidget dashboardWidget_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index'];?>
|
||||
" data-url="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getUrl();?>
|
||||
" data-mode="open" data-name="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getName();?>
|
||||
"></li><?php }else{ ?><?php $_smarty_tpl->tpl_vars['CHARTWIDGETDOMID'] = new Smarty_variable($_smarty_tpl->tpl_vars['WIDGET']->value->get('reportid'), null, 0);?><?php $_smarty_tpl->tpl_vars['WIDGETID'] = new Smarty_variable($_smarty_tpl->tpl_vars['WIDGET']->value->get('id'), null, 0);?><li id="<?php echo $_smarty_tpl->tpl_vars['CHARTWIDGETDOMID']->value;?>
|
||||
-<?php echo $_smarty_tpl->tpl_vars['WIDGETID']->value;?>
|
||||
" <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index']%$_smarty_tpl->tpl_vars['COLUMNS']->value==0&&$_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index']!=0){?> <?php $_smarty_tpl->tpl_vars['ROWCOUNT'] = new Smarty_variable($_smarty_tpl->tpl_vars['ROW']->value+1, null, 0);?> data-row="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getPositionRow($_smarty_tpl->tpl_vars['ROWCOUNT']->value);?>
|
||||
" <?php }else{ ?> data-row="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getPositionRow($_smarty_tpl->tpl_vars['ROW']->value);?>
|
||||
" <?php }?><?php $_smarty_tpl->tpl_vars['COLCOUNT'] = new Smarty_variable(($_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index']%$_smarty_tpl->tpl_vars['COLUMNS']->value)+1, null, 0);?> data-col="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getPositionCol($_smarty_tpl->tpl_vars['COLCOUNT']->value);?>
|
||||
" data-sizex="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getSizeX();?>
|
||||
" data-sizey="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getSizeY();?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['WIDGET']->value->get('position')==''){?> data-position="false"<?php }?>class="dashboardWidget dashboardWidget_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['count']['index'];?>
|
||||
" data-url="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getUrl();?>
|
||||
" data-mode="open" data-name="ChartReportWidget"></li><?php }?><?php } ?></ul><input type="hidden" id=row value="<?php echo $_smarty_tpl->tpl_vars['ROWCOUNT']->value;?>
|
||||
" /><input type="hidden" id=col value="<?php echo $_smarty_tpl->tpl_vars['COLCOUNT']->value;?>
|
||||
" /><input type="hidden" id="userDateFormat" value="<?php echo $_smarty_tpl->tpl_vars['CURRENT_USER']->value->get('date_format');?>
|
||||
" /></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,135 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:43:39
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/MergeRecords.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:4431868376911899be71fc4-70683448%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0906e5258e3f0e58cd375ab1a9bc5597ab4bbec7' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/MergeRecords.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4431868376911899be71fc4-70683448',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'TITLE' => 0,
|
||||
'RECORDS' => 0,
|
||||
'RECORDMODELS' => 0,
|
||||
'RECORD' => 0,
|
||||
'FIELDS' => 0,
|
||||
'FIELD' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911899be819e',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911899be819e')) {function content_6911899be819e($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<div class="fc-overlay-modal">
|
||||
<form class="form-horizontal" name="massMerge" method="post" action="index.php">
|
||||
<div class="overlayHeader">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_MERGE_RECORDS_IN',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php ob_start();?><?php echo (($_tmp1).(' > ')).($_tmp2);?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TITLE'] = new Smarty_variable($_tmp3, null, 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['TITLE']->value), 0);?>
|
||||
|
||||
</div>
|
||||
<div class="overlayBody">
|
||||
<div class="container-fluid modal-body">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<input type="hidden" name=module value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="action" value="ProcessDuplicates" />
|
||||
<input type="hidden" name="records" value=<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['RECORDS']->value);?>
|
||||
/>
|
||||
<div class="well well-sm" style="margin-bottom:8px">
|
||||
<?php echo vtranslate('LBL_MERGE_RECORDS_DESCRIPTION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
</div>
|
||||
<div class="datacontent">
|
||||
<table class="table table-bordered">
|
||||
<thead class='listViewHeaders'>
|
||||
<th>
|
||||
<?php echo vtranslate('LBL_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
</th>
|
||||
<?php $_smarty_tpl->tpl_vars['RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RECORD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RECORDMODELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['recordList']['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RECORD']->key => $_smarty_tpl->tpl_vars['RECORD']->value){
|
||||
$_smarty_tpl->tpl_vars['RECORD']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['recordList']['index']++;
|
||||
?>
|
||||
<th>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['recordList']['index']==0){?>checked<?php }?> type=radio value="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
" name="primaryRecord"/>
|
||||
<?php echo vtranslate('LBL_RECORD');?>
|
||||
<a href="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDetailViewUrl();?>
|
||||
" target="_blank" style="color: #15c;">#<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
</a>
|
||||
</label>
|
||||
</div>
|
||||
</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<?php $_smarty_tpl->tpl_vars['FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD']->key => $_smarty_tpl->tpl_vars['FIELD']->value){
|
||||
$_smarty_tpl->tpl_vars['FIELD']->_loop = true;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD']->value->isEditable()){?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
</td>
|
||||
<?php $_smarty_tpl->tpl_vars['RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RECORD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RECORDMODELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['recordList']['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RECORD']->key => $_smarty_tpl->tpl_vars['RECORD']->value){
|
||||
$_smarty_tpl->tpl_vars['RECORD']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['recordList']['index']++;
|
||||
?>
|
||||
<td>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['recordList']['index']==0){?>checked="checked"<?php }?> type=radio name="<?php echo $_smarty_tpl->tpl_vars['FIELD']->value->getName();?>
|
||||
"
|
||||
data-id="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['FIELD']->value->getName());?>
|
||||
"/>
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD']->value->getName());?>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overlayFooter">
|
||||
<?php $_smarty_tpl->tpl_vars['BUTTON_NAME'] = new Smarty_variable(vtranslate('LBL_MERGE',$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalFooter.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:49:06
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Popup.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:68171065869118ae221ee81-16446985%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0999e8fec2fe90322ab0f190df017e310a250447' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Popup.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '68171065869118ae221ee81-16446985',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'SOURCE_MODULE' => 0,
|
||||
'PARENT_MODULE' => 0,
|
||||
'SOURCE_RECORD' => 0,
|
||||
'SOURCE_FIELD' => 0,
|
||||
'GETURL' => 0,
|
||||
'MULTI_SELECT' => 0,
|
||||
'CURRENCY_ID' => 0,
|
||||
'RELATED_PARENT_MODULE' => 0,
|
||||
'RELATED_PARENT_ID' => 0,
|
||||
'VIEW' => 0,
|
||||
'RELATION_ID' => 0,
|
||||
'POPUP_CLASS_NAME' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118ae222b5e',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118ae222b5e')) {function content_69118ae222b5e($_smarty_tpl) {?>
|
||||
|
||||
|
||||
<div class="modal-dialog modal-lg"><div class="modal-content"><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_tmp1), 0);?>
|
||||
<div class="modal-body"><div id="popupPageContainer" class="contentsDiv col-sm-12"><input type="hidden" id="parentModule" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_MODULE']->value;?>
|
||||
"/><input type="hidden" id="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
"/><input type="hidden" id="parent" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_MODULE']->value;?>
|
||||
"/><input type="hidden" id="sourceRecord" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_RECORD']->value;?>
|
||||
"/><input type="hidden" id="sourceField" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_FIELD']->value;?>
|
||||
"/><input type="hidden" id="url" value="<?php echo $_smarty_tpl->tpl_vars['GETURL']->value;?>
|
||||
" /><input type="hidden" id="multi_select" value="<?php echo $_smarty_tpl->tpl_vars['MULTI_SELECT']->value;?>
|
||||
" /><input type="hidden" id="currencyId" value="<?php echo $_smarty_tpl->tpl_vars['CURRENCY_ID']->value;?>
|
||||
" /><input type="hidden" id="relatedParentModule" value="<?php echo $_smarty_tpl->tpl_vars['RELATED_PARENT_MODULE']->value;?>
|
||||
"/><input type="hidden" id="relatedParentId" value="<?php echo $_smarty_tpl->tpl_vars['RELATED_PARENT_ID']->value;?>
|
||||
"/><input type="hidden" id="view" name="view" value="<?php echo $_smarty_tpl->tpl_vars['VIEW']->value;?>
|
||||
"/><input type="hidden" id="relationId" value="<?php echo $_smarty_tpl->tpl_vars['RELATION_ID']->value;?>
|
||||
" /><input type="hidden" id="selectedIds" name="selectedIds"><?php if (!empty($_smarty_tpl->tpl_vars['POPUP_CLASS_NAME']->value)){?><input type="hidden" id="popUpClassName" value="<?php echo $_smarty_tpl->tpl_vars['POPUP_CLASS_NAME']->value;?>
|
||||
"/><?php }?><div id="popupContents" class=""><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('PopupContents.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div></div></div></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,101 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 22:07:02
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/SettingsMenuStart.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2104581323691237d6499430-85848690%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0a04a8f5fe388ea4125c458524204630093b769c' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/SettingsMenuStart.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2104581323691237d6499430-85848690',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELDS_INFO' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'MODE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691237d64a761',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691237d64a761')) {function content_691237d64a761($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
|
||||
<div class="container-fluid app-nav">
|
||||
<div class="row">
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Vtiger/SidebarHeader.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Vtiger/ModuleHeader.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-300' tabindex='-1' role='dialog' aria-hidden='true'>
|
||||
<div class="data">
|
||||
</div>
|
||||
<div class="modal-dialog">
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?>
|
||||
<script type="text/javascript">
|
||||
var uimeta = (function() {
|
||||
var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;
|
||||
return {
|
||||
field: {
|
||||
get: function(name, property) {
|
||||
if(name && property === undefined) {
|
||||
return fieldInfo[name];
|
||||
}
|
||||
if(name && property) {
|
||||
return fieldInfo[name][property]
|
||||
}
|
||||
},
|
||||
isMandatory : function(name){
|
||||
if(fieldInfo[name]) {
|
||||
return fieldInfo[name].mandatory;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
getType : function(name){
|
||||
if(fieldInfo[name]) {
|
||||
return fieldInfo[name].type
|
||||
}
|
||||
return false;
|
||||
}
|
||||
},
|
||||
};
|
||||
})();
|
||||
</script>
|
||||
<?php }?>
|
||||
<div class="main-container clearfix">
|
||||
<?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('leftpanelhide'), null, 0);?>
|
||||
<div class="module-nav clearfix settingsNav" id="modnavigator">
|
||||
<div class="hidden-xs hidden-sm height100Per">
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODE']->value=='Overview'){?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Workflow2/VT7/Sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODE']->value=='Config'){?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Workflow2/VT7/SidebarConfig.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODE']->value=='Statistic'){?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Workflow2/VT7/SidebarStatistic.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="settingsPageDiv content-area clearfix">
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,348 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 17:08:16
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/partials/SidebarEssentials.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:11806077266911f1d087a556-70036052%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0a16e3c237bf9b9ba8af5dda91b5c252e36d5460' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/partials/SidebarEssentials.tpl',
|
||||
1 => 1711810496,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '11806077266911f1d087a556-70036052',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'CUSTOM_VIEWS' => 0,
|
||||
'GROUP_LABEL' => 0,
|
||||
'GROUP_CUSTOM_VIEWS' => 0,
|
||||
'VIEWID' => 0,
|
||||
'CUSTOM_VIEW' => 0,
|
||||
'CURRENT_TAG' => 0,
|
||||
'FOLDER_VALUE' => 0,
|
||||
'VIEWNAME' => 0,
|
||||
'FOLDERS' => 0,
|
||||
'FOLDER' => 0,
|
||||
'FOLDERNAME' => 0,
|
||||
'ALL_CUSTOMVIEW_MODEL' => 0,
|
||||
'TAGS' => 0,
|
||||
'TAG_MODEL' => 0,
|
||||
'TAG_ID' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911f1d08ebed',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911f1d08ebed')) {function content_6911f1d08ebed($_smarty_tpl) {?>
|
||||
<div class="sidebar-menu sidebar-menu-full">
|
||||
<div class="module-filters" id="module-filters">
|
||||
<div class="sidebar-container lists-menu-container">
|
||||
<div class="sidebar-header clearfix">
|
||||
|
||||
<h5 class="pull-left"><?php echo vtranslate('LBL_LISTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h5>
|
||||
|
||||
<button id="createFilter" data-url="<?php echo CustomView_Record_Model::getCreateViewUrl($_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="btn btn-default pull-right sidebar-btn">
|
||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
|
||||
<input class="search-list" type="text" placeholder="<?php echo vtranslate('LBL_SEARCH_FOR_LIST',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
">
|
||||
|
||||
</div>
|
||||
<div class="menu-scroller mCustomScrollBox" data-mcs-theme="dark">
|
||||
<div class="mCustomScrollBox mCS-light-2 mCSB_inside" tabindex="0">
|
||||
<div class="mCSB_container" style="position:relative; top:0; left:0;">
|
||||
<div class="list-menu-content">
|
||||
<?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEWS']->value&&count($_smarty_tpl->tpl_vars['CUSTOM_VIEWS']->value)>0){?>
|
||||
<?php $_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['GROUP_LABEL'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['CUSTOM_VIEWS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->key => $_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->value){
|
||||
$_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['GROUP_LABEL']->value = $_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['GROUP_LABEL']->value!='Mine'&&$_smarty_tpl->tpl_vars['GROUP_LABEL']->value!='Shared'){?>
|
||||
<?php continue 1?>
|
||||
<?php }?>
|
||||
<div class="list-group">
|
||||
<h6 class="lists-header <?php if (count($_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->value)<=0){?> hide <?php }?>" >
|
||||
<?php if ($_smarty_tpl->tpl_vars['GROUP_LABEL']->value=='Mine'){?>
|
||||
<?php echo vtranslate('LBL_MY_LIST',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php echo vtranslate('LBL_SHARED_LIST',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }?>
|
||||
</h6>
|
||||
<input type="hidden" name="allCvId" value="<?php echo CustomView_Record_Model::getAllFilterByModule($_smarty_tpl->tpl_vars['MODULE']->value)->get('cvid');?>
|
||||
" />
|
||||
<ul class="lists-menu">
|
||||
<?php $_smarty_tpl->tpl_vars["CUSTOM_VIEW"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["CUSTOM_VIEW"]->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['GROUP_CUSTOM_VIEWS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["customView"]['iteration']=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars["CUSTOM_VIEW"]->key => $_smarty_tpl->tpl_vars["CUSTOM_VIEW"]->value){
|
||||
$_smarty_tpl->tpl_vars["CUSTOM_VIEW"]->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["customView"]['iteration']++;
|
||||
?>
|
||||
<li style="font-size:12px;" class='listViewFilter <?php if ($_smarty_tpl->tpl_vars['VIEWID']->value==$_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getId()&&($_smarty_tpl->tpl_vars['CURRENT_TAG']->value=='')&&!$_smarty_tpl->tpl_vars['FOLDER_VALUE']->value){?> active<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['customView']['iteration']>5){?> filterHidden hide<?php }?> '>
|
||||
<?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->get('viewname'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['VIEWNAME'] = new Smarty_variable($_tmp1, null, 0);?>
|
||||
|
||||
|
||||
<a class="filterName" href="javascript:;" data-filter-id="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getId();?>
|
||||
"><?php ob_start();?><?php echo mb_strlen($_smarty_tpl->tpl_vars['VIEWNAME']->value)>40;?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2){?> <?php echo htmlspecialchars(mb_substr($_smarty_tpl->tpl_vars['VIEWNAME']->value,0,40), ENT_QUOTES, 'UTF-8', true);?>
|
||||
..<?php }else{ ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['VIEWNAME']->value, ENT_QUOTES, 'UTF-8', true);?>
|
||||
<?php }?></a>
|
||||
|
||||
<div class=" pull-right">
|
||||
<span class="js-popover-container">
|
||||
<span class="fa fa-angle-down" rel="popover" data-toggle="popover" aria-expanded="true"
|
||||
<?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isMine()&&$_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->get('viewname')!='All'){?>
|
||||
data-deletable="<?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isDeletable()){?>true<?php }else{ ?>false<?php }?>" data-editable="<?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isEditable()){?>true<?php }else{ ?>false<?php }?>"
|
||||
<?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isEditable()){?> data-editurl="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getEditUrl();?>
|
||||
<?php }?>" <?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isDeletable()){?> data-deleteurl="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getDeleteUrl();?>
|
||||
"<?php }?>
|
||||
<?php }?>
|
||||
toggleClass="fa <?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isDefault()){?>fa-check-square-o<?php }else{ ?>fa-square-o<?php }?>" data-filter-id="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getId();?>
|
||||
"
|
||||
data-is-default="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isDefault();?>
|
||||
" data-defaulttoggle="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getToggleDefaultUrl();?>
|
||||
" data-default="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->getDuplicateUrl();?>
|
||||
" data-isMine="<?php if ($_smarty_tpl->tpl_vars['CUSTOM_VIEW']->value->isMine()){?>true<?php }else{ ?>false<?php }?>">
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class='clearfix'>
|
||||
<a class="toggleFilterSize" data-more-text="Show more" data-less-text="Show less">
|
||||
<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['customView']['iteration']>5){?>
|
||||
<?php echo vtranslate('LBL_SHOW_MORE','Vtiger');?>
|
||||
|
||||
<?php }?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div id="filterActionPopoverHtml">
|
||||
<ul class="listmenu hide" role="menu">
|
||||
<li role="presentation" class="editFilter">
|
||||
<a role="menuitem"><i class="fa fa-pencil-square-o"></i> <?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="deleteFilter ">
|
||||
<a role="menuitem"><i class="fa fa-trash"></i> <?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="duplicateFilter">
|
||||
<a role="menuitem" ><i class="fa fa-files-o"></i> <?php echo vtranslate('LBL_DUPLICATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="toggleDefault" >
|
||||
<a role="menuitem" >
|
||||
<i data-check-icon="fa-check-square-o" data-uncheck-icon="fa-square-o"></i> <?php echo vtranslate('LBL_DEFAULT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="list-group hide noLists">
|
||||
<h6 class="lists-header"><center> <?php echo vtranslate('LBL_NO');?>
|
||||
<?php echo vtranslate('Lists');?>
|
||||
<?php echo vtranslate('LBL_FOUND');?>
|
||||
... </center></h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list-menu-content">
|
||||
<div class="list-group">
|
||||
<div class="sidebar-header clearfix">
|
||||
<h5 class="pull-left"><?php echo vtranslate('LBL_FOLDERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h5>
|
||||
<button id="createFolder" class="btn btn-default pull-right sidebar-btn">
|
||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
|
||||
<input class="search-folders" type="text" placeholder="<?php echo vtranslate('LBL_SEARCH_FOR_FOLDERS');?>
|
||||
">
|
||||
|
||||
|
||||
</div>
|
||||
<div class="menu-scroller mCustomScrollBox" data-mcs-theme="dark">
|
||||
<div class="mCustomScrollBox mCS-light-2 mCSB_inside" tabindex="0">
|
||||
<div class="mCSB_container" style="position:relative; top:0; left:0;">
|
||||
<ul id="folders-list" class="lists-menu">
|
||||
<?php $_smarty_tpl->tpl_vars["FOLDER"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["FOLDER"]->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FOLDERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars["FOLDER"]->key => $_smarty_tpl->tpl_vars["FOLDER"]->value){
|
||||
$_smarty_tpl->tpl_vars["FOLDER"]->_loop = true;
|
||||
?>
|
||||
<?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['FOLDER']->value->get('foldername'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['FOLDERNAME'] = new Smarty_variable($_tmp3, null, 0);?>
|
||||
<li style="font-size:12px;" class='documentFolder <?php if ($_smarty_tpl->tpl_vars['FOLDER_VALUE']->value==$_smarty_tpl->tpl_vars['FOLDER']->value->getName()){?> active<?php }?>'>
|
||||
<a class="filterName" href="javascript:void(0);" data-filter-id="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->get('folderid');?>
|
||||
" data-folder-name="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->get('foldername');?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['FOLDERNAME']->value;?>
|
||||
">
|
||||
<i class="fa <?php if ($_smarty_tpl->tpl_vars['FOLDER_VALUE']->value==$_smarty_tpl->tpl_vars['FOLDER']->value->getName()){?>fa-folder-open<?php }else{ ?>fa-folder<?php }?>"></i>
|
||||
|
||||
|
||||
<span class="foldername"><?php ob_start();?><?php echo strlen($_smarty_tpl->tpl_vars['FOLDERNAME']->value)>40;?>
|
||||
<?php $_tmp4=ob_get_clean();?><?php if ($_tmp4){?> <?php echo htmlspecialchars(mb_substr($_smarty_tpl->tpl_vars['FOLDERNAME']->value,0,40), ENT_QUOTES, 'UTF-8', true);?>
|
||||
..<?php }else{ ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FOLDERNAME']->value, ENT_QUOTES, 'UTF-8', true);?>
|
||||
<?php }?></span>
|
||||
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FOLDER']->value->getName()!='Default'&&$_smarty_tpl->tpl_vars['FOLDER']->value->getName()!='Google Drive'&&$_smarty_tpl->tpl_vars['FOLDER']->value->getName()!='Dropbox'){?>
|
||||
<div class="dropdown pull-right">
|
||||
<span class="fa fa-caret-down dropdown-toggle" data-toggle="dropdown" aria-expanded="true"></span>
|
||||
<ul class="dropdown-menu dropdown-menu-right vtDropDown" role="menu">
|
||||
<li class="editFolder " data-folder-id="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->get('folderid');?>
|
||||
">
|
||||
<a role="menuitem" ><i class="fa fa-pencil-square-o"></i> Edit</a>
|
||||
</li>
|
||||
<li class="deleteFolder " data-deletable="<?php echo !$_smarty_tpl->tpl_vars['FOLDER']->value->hasDocuments();?>
|
||||
" data-folder-id="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->get('folderid');?>
|
||||
">
|
||||
<a role="menuitem" ><i class="fa fa-trash"></i> Delete</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php }?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="noFolderText" style="display: none;">
|
||||
<h6 class="lists-header"><center>
|
||||
<?php echo vtranslate('LBL_NO');?>
|
||||
<?php echo vtranslate('LBL_FOLDERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_FOUND');?>
|
||||
...
|
||||
</center></h6>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="module-filters">
|
||||
<div class="sidebar-container lists-menu-container">
|
||||
<h4 class="lists-header">
|
||||
<?php echo vtranslate('LBL_TAGS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
</h4>
|
||||
<hr>
|
||||
<div class="menu-scroller mCustomScrollBox">
|
||||
<div class="mCustomScrollBox mCS-light-2 mCSB_inside" tabindex="0">
|
||||
<div class="mCSB_container" style="position:relative; top:0; left:0;">
|
||||
<div class="list-menu-content">
|
||||
<div id="listViewTagContainer" class="multiLevelTagList"
|
||||
<?php if ($_smarty_tpl->tpl_vars['ALL_CUSTOMVIEW_MODEL']->value){?> data-view-id="<?php echo $_smarty_tpl->tpl_vars['ALL_CUSTOMVIEW_MODEL']->value->getId();?>
|
||||
" <?php }?>
|
||||
data-list-tag-count="<?php echo Vtiger_Tag_Model::NUM_OF_TAGS_LIST;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['TAG_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['TAG_MODEL']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['TAGS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['tagCounter']['iteration']=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['TAG_MODEL']->key => $_smarty_tpl->tpl_vars['TAG_MODEL']->value){
|
||||
$_smarty_tpl->tpl_vars['TAG_MODEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['tagCounter']['iteration']++;
|
||||
?>
|
||||
<?php $_smarty_tpl->tpl_vars['TAG_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['TAG_MODEL']->value->getName(), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['TAG_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['TAG_MODEL']->value->getId(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['tagCounter']['iteration']>Vtiger_Tag_Model::NUM_OF_TAGS_LIST){?>
|
||||
<?php break 1?>
|
||||
<?php }?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Tag.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('NO_DELETE'=>true,'ACTIVE'=>$_smarty_tpl->tpl_vars['CURRENT_TAG']->value==$_smarty_tpl->tpl_vars['TAG_ID']->value), 0);?>
|
||||
|
||||
<?php } ?>
|
||||
<div>
|
||||
<a class="moreTags <?php if ((count($_smarty_tpl->tpl_vars['TAGS']->value)-Vtiger_Tag_Model::NUM_OF_TAGS_LIST)<=0){?> hide <?php }?>">
|
||||
<span class="moreTagCount"><?php echo count($_smarty_tpl->tpl_vars['TAGS']->value)-Vtiger_Tag_Model::NUM_OF_TAGS_LIST;?>
|
||||
</span>
|
||||
<?php echo strtolower(vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value));?>
|
||||
|
||||
</a>
|
||||
<div class="moreListTags hide">
|
||||
<?php $_smarty_tpl->tpl_vars['TAG_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['TAG_MODEL']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['TAGS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['tagCounter']['iteration']=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['TAG_MODEL']->key => $_smarty_tpl->tpl_vars['TAG_MODEL']->value){
|
||||
$_smarty_tpl->tpl_vars['TAG_MODEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['tagCounter']['iteration']++;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['tagCounter']['iteration']<=Vtiger_Tag_Model::NUM_OF_TAGS_LIST){?>
|
||||
<?php continue 1?>
|
||||
<?php }?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Tag.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('NO_DELETE'=>true,'ACTIVE'=>$_smarty_tpl->tpl_vars['CURRENT_TAG']->value==$_smarty_tpl->tpl_vars['TAG_ID']->value), 0);?>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("AddTagUI.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('RECORD_NAME'=>'','TAGS_LIST'=>array()), 0);?>
|
||||
|
||||
</div>
|
||||
<div id="dummyTagElement" class="hide">
|
||||
<?php $_smarty_tpl->tpl_vars['TAG_MODEL'] = new Smarty_variable(Vtiger_Tag_Model::getCleanInstance(), null, 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Tag.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('NO_DELETE'=>true), 0);?>
|
||||
|
||||
</div>
|
||||
<div id="editTagContainer" class="hide">
|
||||
<input type="hidden" name="id" value="" />
|
||||
<div class="editTagContents">
|
||||
<div>
|
||||
<input type="text" name="tagName" class="createtag" value="" style="width:100%" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="hidden" name="visibility" value="<?php echo Vtiger_Tag_Model::PRIVATE_TYPE;?>
|
||||
"/>
|
||||
<input type="checkbox" name="visibility" value="<?php echo Vtiger_Tag_Model::PUBLIC_TYPE;?>
|
||||
" />
|
||||
<?php echo vtranslate('LBL_MAKE_PUBLIC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button class="btn btn-mini btn-success saveTag" style="width:50%;float:left">
|
||||
<center> <i class="fa fa-check"></i> </center>
|
||||
</button>
|
||||
<button class="btn btn-mini btn-danger cancelSaveTag" style="width:50%">
|
||||
<center> <i class="fa fa-close"></i> </center>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:21:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/ModuleHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:62813129069085801845aa8-50313090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0a8b4f6d9d37926f6d87466bb6e6a43e84de8454' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/ModuleHeader.tpl',
|
||||
1 => 1758640474,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '62813129069085801845aa8-50313090',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'DEFAULT_FILTER_ID' => 0,
|
||||
'CVURL' => 0,
|
||||
'DEFAULT_FILTER_URL' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'VIEWID' => 0,
|
||||
'CUSTOM_VIEWS' => 0,
|
||||
'FILTER_TYPES' => 0,
|
||||
'FILTERS' => 0,
|
||||
'CVNAME' => 0,
|
||||
'RECORD' => 0,
|
||||
'MODULE_BASIC_ACTIONS' => 0,
|
||||
'BASIC_ACTION' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'MODULE_SETTING_ACTIONS' => 0,
|
||||
'SETTING' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69085801872a9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69085801872a9')) {function content_69085801872a9($_smarty_tpl) {?>
|
||||
|
||||
<div class="col-sm-12 col-xs-12 module-action-bar clearfix coloredBorderTop"><div class="module-action-content clearfix"><div class="col-lg-4 col-md-4 module-breadcrumb module-breadcrumb-<?php echo $_REQUEST['view'];?>
|
||||
"><?php $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getDefaultViewName()!='List'){?><?php $_smarty_tpl->tpl_vars['DEFAULT_FILTER_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getDefaultUrl(), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['DEFAULT_FILTER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getDefaultCustomFilter(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['DEFAULT_FILTER_ID']->value){?><?php $_smarty_tpl->tpl_vars['CVURL'] = new Smarty_variable(("&viewname=").($_smarty_tpl->tpl_vars['DEFAULT_FILTER_ID']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['DEFAULT_FILTER_URL'] = new Smarty_variable(($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getListViewUrl()).($_smarty_tpl->tpl_vars['CVURL']->value), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['DEFAULT_FILTER_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getListViewUrlWithAllFilter(), null, 0);?><?php }?><?php }?><a title="<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" href='<?php echo $_smarty_tpl->tpl_vars['DEFAULT_FILTER_URL']->value;?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
'><h4 class="module-title pull-left textOverflowEllipsis text-uppercase"> <?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4></a><?php if ($_SESSION['lvs'][$_smarty_tpl->tpl_vars['MODULE']->value]['viewname']){?><?php $_smarty_tpl->tpl_vars['VIEWID'] = new Smarty_variable($_SESSION['lvs'][$_smarty_tpl->tpl_vars['MODULE']->value]['viewname'], null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['VIEWID']->value){?><?php $_smarty_tpl->tpl_vars['FILTER_TYPES'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FILTER_TYPES']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['CUSTOM_VIEWS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['FILTER_TYPES']->key => $_smarty_tpl->tpl_vars['FILTER_TYPES']->value){
|
||||
$_smarty_tpl->tpl_vars['FILTER_TYPES']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['FILTERS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FILTERS']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FILTER_TYPES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['FILTERS']->key => $_smarty_tpl->tpl_vars['FILTERS']->value){
|
||||
$_smarty_tpl->tpl_vars['FILTERS']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['FILTERS']->value->get('cvid')==$_smarty_tpl->tpl_vars['VIEWID']->value){?><?php $_smarty_tpl->tpl_vars['CVNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FILTERS']->value->get('viewname'), null, 0);?><?php break 1?><?php }?><?php } ?><?php } ?><p class="current-filter-name filter-name pull-left cursorPointer" title="<?php echo $_smarty_tpl->tpl_vars['CVNAME']->value;?>
|
||||
"> <span class="fa fa-angle-right pull-left" aria-hidden="true"></span><a href='<?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getListViewUrl();?>
|
||||
&viewname=<?php echo $_smarty_tpl->tpl_vars['VIEWID']->value;?>
|
||||
'> <?php echo vtranslate($_smarty_tpl->tpl_vars['CVNAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a> </p><?php }?><?php $_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME'] = new Smarty_variable(('SINGLE_').($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['RECORD']->value&&$_REQUEST['view']=='Edit'){?><p class="current-filter-name filter-name pull-left "><span class="fa fa-angle-right pull-left" aria-hidden="true"></span><a title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('label');?>
|
||||
"> <?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
: <?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('label');?>
|
||||
</a></p><?php }elseif($_REQUEST['view']=='Edit'){?><p class="current-filter-name filter-name pull-left "><span class="fa fa-angle-right pull-left" aria-hidden="true"></span><a> <?php echo vtranslate('LBL_ADDING_NEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></p><?php }?><?php if ($_REQUEST['view']=='Detail'){?><p class="current-filter-name filter-name pull-left"><span class="fa fa-angle-right pull-left" aria-hidden="true"></span><a title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('label');?>
|
||||
"> <?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('label');?>
|
||||
</a></p><?php }?></div><div class="col-lg-8 col-md-8 pull-right "><div id="appnav" class="navbar-right"><ul class="nav navbar-nav"><?php $_smarty_tpl->tpl_vars['BASIC_ACTION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['BASIC_ACTION']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_BASIC_ACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['BASIC_ACTION']->key => $_smarty_tpl->tpl_vars['BASIC_ACTION']->value){
|
||||
$_smarty_tpl->tpl_vars['BASIC_ACTION']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getLabel()=='LBL_ADD_RECORD'){?><li><div><button type="button" class="btn btn-default module-buttons dropdown-toggle" data-toggle="dropdown"><span class="fa fa-plus" title="<?php echo vtranslate('LBL_NEW_DOCUMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"></span> <?php echo vtranslate('LBL_NEW_DOCUMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<span class="caret"></span></button><ul class="dropdown-menu"><li class="dropdown-header"><i class="fa fa-upload"></i> <?php echo vtranslate('LBL_FILE_UPLOAD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</li><li id="VtigerAction"><a href="javascript:Documents_Index_Js.uploadTo('Vtiger')"><img style=" margin-top: -3px;margin-right: 4%;" title="Vtiger" alt="Vtiger" src="layouts/v7/skins//images/Vtiger.png"><?php ob_start();?><?php echo vtranslate('LBL_VTIGER',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php echo vtranslate('LBL_TO_SERVICE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_tmp1);?>
|
||||
</a></li><li role="separator" class="divider"></li><li class="dropdown-header"><i class="fa fa-link"></i> <?php echo vtranslate('LBL_LINK_EXTERNAL_DOCUMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</li><li id="shareDocument"><a href="javascript:Documents_Index_Js.createDocument('E')"> <i class="fa fa-external-link"></i> <?php ob_start();?><?php echo vtranslate('LBL_FILE_URL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo vtranslate('LBL_FROM_SERVICE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_tmp2);?>
|
||||
</a></li><li role="separator" class="divider"></li><li id="createDocument"><a href="javascript:Documents_Index_Js.createDocument('W')"><i class="fa fa-file-text"></i> <?php ob_start();?><?php echo vtranslate('SINGLE_Documents',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo vtranslate('LBL_CREATE_NEW',$_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_tmp3);?>
|
||||
</a></li></ul></div></li><?php }?><?php } ?><?php if (count($_smarty_tpl->tpl_vars['MODULE_SETTING_ACTIONS']->value)>0){?><li><div class="settingsIcon"><button type="button" class="btn btn-default module-buttons dropdown-toggle" data-toggle="dropdown"><span class="fa fa-wrench" aria-hidden="true" title="<?php echo vtranslate('LBL_SETTINGS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"></span> <?php echo vtranslate('LBL_CUSTOMIZE','Reports');?>
|
||||
<span class="caret"></span></button><ul class="detailViewSetting dropdown-menu"><?php $_smarty_tpl->tpl_vars['SETTING'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SETTING']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_SETTING_ACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['SETTING']->key => $_smarty_tpl->tpl_vars['SETTING']->value){
|
||||
$_smarty_tpl->tpl_vars['SETTING']->_loop = true;
|
||||
?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['SETTING']->value->getLabel());?>
|
||||
<?php $_tmp4=ob_get_clean();?><?php if ($_tmp4=="%s Numbering"){?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
_listview_advancedAction_<?php echo $_smarty_tpl->tpl_vars['SETTING']->value->getLabel();?>
|
||||
"><a href=<?php echo $_smarty_tpl->tpl_vars['SETTING']->value->getUrl();?>
|
||||
><?php echo vtranslate($_smarty_tpl->tpl_vars['SETTING']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value,vtranslate($_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE_NAME']->value));?>
|
||||
</a></li><?php }else{ ?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
_listview_advancedAction_<?php echo $_smarty_tpl->tpl_vars['SETTING']->value->getLabel();?>
|
||||
"><a href=<?php echo $_smarty_tpl->tpl_vars['SETTING']->value->getUrl();?>
|
||||
><?php echo vtranslate($_smarty_tpl->tpl_vars['SETTING']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value,vtranslate("SINGLE_".($_smarty_tpl->tpl_vars['MODULE_NAME']->value),$_smarty_tpl->tpl_vars['MODULE_NAME']->value));?>
|
||||
</a></li><?php }?><?php } ?></ul></div></li><?php }?></ul></div></div></div><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var uimeta = (function() {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function(name, property) {if(name && property === undefined) {return fieldInfo[name];}if(name && property) {return fieldInfo[name][property]}},isMandatory : function(name){if(fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType : function(name){if(fieldInfo[name]) {return fieldInfo[name].type}return false;}}};})();</script><?php }?></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 17:08:26
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/RecycleBin/ListViewActions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15767607746911f1dab71906-75839870%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0b19c0f108c95ab4c3ebcab39ecc5afa282f245f' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/RecycleBin/ListViewActions.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15767607746911f1dab71906-75839870',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'LISTVIEW_MASSACTIONS' => 0,
|
||||
'LISTVIEW_ACTIONS' => 0,
|
||||
'MODULE' => 0,
|
||||
'LISTVIEW_MASSACTION' => 0,
|
||||
'LISTVIEW_LINKS' => 0,
|
||||
'LISTVIEW_BASICACTION' => 0,
|
||||
'IS_RECORDS_DELETED' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911f1dab82a2',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911f1dab82a2')) {function content_6911f1dab82a2($_smarty_tpl) {?>
|
||||
|
||||
<div id="listview-actions" class="listview-actions-container"><div class = "row"><div class="btn-group col-md-4" role="group" aria-label="..."><span class="recordDependentListActions" style="float: left;"><?php $_smarty_tpl->tpl_vars['LISTVIEW_ACTIONS'] = new Smarty_variable(array_reverse($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value), null, 0);?><?php $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_ACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->key => $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->value){
|
||||
$_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->_loop = true;
|
||||
?><button type="button" class="btn btn-default" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_massAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getLabel());?>
|
||||
"<?php if (stripos($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getUrl(),strlen("javascript:"));?>
|
||||
;'<?php }else{ ?> onclick="Vtiger_List_Js.triggerMassAction('<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getUrl();?>
|
||||
')"<?php }?> disabled="disabled"title="<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getLabel()=='LBL_RESTORE'){?><?php echo vtranslate('LBL_RESTORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?>"><i class="<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getLabel()=='LBL_RESTORE'){?> fa fa-refresh <?php }else{ ?> fa fa-trash <?php }?>"></i></button><?php } ?></span><?php $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEWBASIC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->key => $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->_loop = true;
|
||||
?><span class="btn-group" style="margin-left: 5px;"><button id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_basicAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getLabel());?>
|
||||
" class="btn btn-danger clearRecycleBin" <?php if (stripos($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl(),'javascript:')===0){?> onclick='<?php echo substr($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl(),strlen("javascript:"));?>
|
||||
;'<?php }else{ ?>onclick='window.location.href="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl();?>
|
||||
"'<?php }?> <?php if (!$_smarty_tpl->tpl_vars['IS_RECORDS_DELETED']->value){?> disabled="disabled" <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button></span><?php } ?></div><div class='col-md-5'><div class="hide messageContainer" style = "height:30px;"><center><a id="selectAllMsgDiv" href="#"><?php echo vtranslate('LBL_SELECT_ALL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
(<span id="totalRecordsCount" value=""></span>)</a></center></div><div class="hide messageContainer" style = "height:30px;"><center><a href="#" id="deSelectAllMsgDiv"><?php echo vtranslate('LBL_DESELECT_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></center></div></div><div class="col-md-3"><?php $_smarty_tpl->tpl_vars['RECORD_COUNT'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value, null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Pagination.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SHOWPAGEJUMP'=>true), 0);?>
|
||||
</div></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:20
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/OwnerFieldSearchView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15834075196905d0d419d6a4-86497940%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:32652422969077c0999d858-50430131%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15834075196905d0d419d6a4-86497940',
|
||||
'nocache_hash' => '32652422969077c0999d858-50430131',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -34,9 +34,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d41ad39',
|
||||
'unifunc' => 'content_69077c099b54f',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d41ad39')) {function content_6905d0d41ad39($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_69077c099b54f')) {function content_69077c099b54f($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo()), null, 0);?><div class="select2_search_div"><?php $_smarty_tpl->tpl_vars['ASSIGNED_USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getAccessibleUsers(), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue']), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(array_map("trim",$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='52'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='77'){?><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST'] = new Smarty_variable(array(), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getAccessibleGroups(), null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['ACCESSIBLE_USER_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getAccessibleUsersForModule($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['ACCESSIBLE_GROUP_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getAccessibleGroupForModule($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor <?php echo $_smarty_tpl->tpl_vars['ASSIGNED_USER_ID']->value;?>
|
||||
" name="<?php echo $_smarty_tpl->tpl_vars['ASSIGNED_USER_ID']->value;?>
|
||||
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:47
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 19:25:35
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/NoComments.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:9921597276905d0779dd232-51059210%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:57094147690785ff4ec4f6-77182842%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '9921597276905d0779dd232-51059210',
|
||||
'nocache_hash' => '57094147690785ff4ec4f6-77182842',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,8 +21,8 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0779de90',
|
||||
'unifunc' => 'content_690785ff51b1d',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0779de90')) {function content_6905d0779de90($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690785ff51b1d')) {function content_690785ff51b1d($_smarty_tpl) {?>
|
||||
<div class="noCommentsMsgContainer noContent"><p class="textAlignCenter"> <?php echo vtranslate('LBL_NO_COMMENTS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</p></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:46
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:19
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouQuickReminder/Reminder.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:12351364056905d0767b6258-06619933%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:919172830690777dfcd8d26-96050959%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '12351364056905d0767b6258-06619933',
|
||||
'nocache_hash' => '919172830690777dfcd8d26-96050959',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,9 +21,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0767bbe9',
|
||||
'unifunc' => 'content_690777dfcdfea',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0767bbe9')) {function content_6905d0767bbe9($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777dfcdfea')) {function content_690777dfcdfea($_smarty_tpl) {?>
|
||||
<li class="its4you_quickreminder_menu" style="display: block;"><div class="dropdown pull-left"><div class="dropdown-toggle displayInlineBlock" data-toggle="dropdown" aria-expanded="true"><a href="#" id="menubar_its4you_quickreminder" class="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_menu_icon fa fa-bell" title="Quick Reminder" aria-hidden="true"><span class="ITS4YouQuickReminderBadge animated bounce numberCircle" style="position: absolute; right: 0; bottom: 5px; display: none; border-radius: 10px;font: bold 10px Arial; padding: 3px 5px;"></span></a></div><ul class="dropdown-menu its4you_quickreminder_dropdown"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ReminderList.tpl","ITS4YouQuickReminder"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</ul></div><style>.<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:21:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/DetailViewActions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:40472444469085801885b78-71246764%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'10dad4823495b016c676ca300b06707b11e8f200' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/DetailViewActions.tpl',
|
||||
1 => 1761984213,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '40472444469085801885b78-71246764',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'RECORD' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'STARRED' => 0,
|
||||
'MODULE' => 0,
|
||||
'crmid' => 0,
|
||||
'DETAILVIEW_LINKS' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'DETAIL_VIEW_BASIC_LINK' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'DETAIL_VIEW_LINK' => 0,
|
||||
'NO_PAGINATION' => 0,
|
||||
'PREVIOUS_RECORD_URL' => 0,
|
||||
'NEXT_RECORD_URL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690858018a1f4',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690858018a1f4')) {function content_690858018a1f4($_smarty_tpl) {?>
|
||||
<div class="col-lg-6 detailViewButtoncontainer"><div class="pull-right btn-toolbar"><div class="btn-group"><?php $_smarty_tpl->tpl_vars['STARRED'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->get('starred'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isStarredEnabled()){?><button class="btn btn-default markStar <?php if ($_smarty_tpl->tpl_vars['STARRED']->value){?> active <?php }?>" id="starToggle" style="width:140px;"><div class='starredStatus' title="<?php echo vtranslate('LBL_FOLLOWING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><div class='unfollowMessage'><i class="fa fa-star-o"></i> <?php echo vtranslate('LBL_UNFOLLOW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div class='followMessage'><i class="fa fa-star active"></i> <?php echo vtranslate('LBL_FOLLOWING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div></div><div class='unstarredStatus' title="<?php echo vtranslate('LBL_NOT_FOLLOWING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><?php echo vtranslate('LBL_FOLLOW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div></button><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Project'){?><?php $_smarty_tpl->tpl_vars["crmid"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->get('id'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['RECORD']->value->get('cf_1847')!=''){?><button class="btn btn-default" id="Project_detailView_basicAction_Video" onclick="javascript:Project_Detail_Js.getVideo(<?php echo $_smarty_tpl->tpl_vars['crmid']->value;?>
|
||||
);">Видео встречи</button><button class="btn btn-default" id="Project_detailView_basicAction_Text" onclick="javascript:Project_Detail_Js.getText(<?php echo $_smarty_tpl->tpl_vars['crmid']->value;?>
|
||||
);">Текст встречи</button><?php }?><?php }?><?php $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEWBASIC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->key => $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value){
|
||||
$_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->_loop = true;
|
||||
?><button class="btn btn-default" id="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
_detailView_basicAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getLabel());?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->isPageLoadLink()){?>onclick="window.location.href = '<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getUrl();?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
'"<?php }else{ ?>onclick="<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getUrl();?>
|
||||
"<?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=='Documents'&&$_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getLabel()=='LBL_VIEW_FILE'){?>data-filelocationtype="<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->get('filelocationtype');?>
|
||||
" data-filename="<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->get('filename');?>
|
||||
"<?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</button><?php } ?><?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=="Documents"&&$_smarty_tpl->tpl_vars['RECORD']->value->get("filename")){?><button type="button" class="btn btn-danger btn-small" onclick="editInNextcloud('<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get('filename'), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
')" title="⚡ Редактировать (быстро, OnlyOffice напрямую)" style="margin-right: 5px;"><i class="fa fa-bolt"></i> Быстро</button><button type="button" class="btn btn-info btn-small" onclick="openViaNextcloud('<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get('filename'), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
')" title="📚 Через Nextcloud (с версионированием)" style="margin-right: 5px;"><i class="fa fa-cloud"></i> Nextcloud</button><button type="button" class="btn btn-warning btn-small" onclick="window.open('<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDownloadFileURL();?>
|
||||
', '_blank')" title="Скачать документ" style="margin-right: 5px;"><i class="fa fa-download"></i> Скачать</button><button type="button" class="btn btn-danger btn-small" onclick="deleteDocumentFromDetail('<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
')" title="Удалить документ" style="margin-right: 5px;"><i class="fa fa-trash"></i> Удалить</button><?php }?><?php if (count($_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEW'])>0){?><div class="btn-group"><button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);"><?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<i class="caret"></i></button><ul class="dropdown-menu dropdown-menu-right"><?php $_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEW']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->key => $_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value){
|
||||
$_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getLabel()==''){?><li class="divider"></li><?php }else{ ?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
_detailView_moreAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getLabel());?>
|
||||
"><?php if (strstr($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getUrl(),"javascript")){?><a href='<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getUrl();?>
|
||||
'><?php echo vtranslate($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a><?php }else{ ?><a href='<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getUrl();?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
' ><?php echo vtranslate($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a><?php }?></li><?php }?><?php } ?></ul></div><?php }?></div><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['NO_PAGINATION']->value;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php if (!$_tmp1){?><div class="btn-group pull-right"><button class="btn btn-default " id="detailViewPreviousRecordButton" <?php if (empty($_smarty_tpl->tpl_vars['PREVIOUS_RECORD_URL']->value)){?> disabled="disabled" <?php }else{ ?> onclick="window.location.href = '<?php echo $_smarty_tpl->tpl_vars['PREVIOUS_RECORD_URL']->value;?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
'" <?php }?> ><i class="fa fa-chevron-left"></i></button><button class="btn btn-default " id="detailViewNextRecordButton"<?php if (empty($_smarty_tpl->tpl_vars['NEXT_RECORD_URL']->value)){?> disabled="disabled" <?php }else{ ?> onclick="window.location.href = '<?php echo $_smarty_tpl->tpl_vars['NEXT_RECORD_URL']->value;?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
'" <?php }?>><i class="fa fa-chevron-right"></i></button></div><?php }?></div><input type="hidden" name="record_id" value="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
"></div><?php }} ?>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ListViewHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:613593440691182472e65b5-61021459%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'113b1de733ce8d71efd2da20b0d2bb53b73e07c1' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ListViewHeader.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '613593440691182472e65b5-61021459',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691182472e6f5',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691182472e6f5')) {function content_691182472e6f5($_smarty_tpl) {?>
|
||||
|
||||
<div class="listViewPageDiv" id="listViewContent"><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewTagList.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:6684668026905d072606e42-13723726%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:873269988690777d819c202-60397925%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '6684668026905d072606e42-13723726',
|
||||
'nocache_hash' => '873269988690777d819c202-60397925',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -24,9 +24,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d07261c1e',
|
||||
'unifunc' => 'content_690777d81af61',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d07261c1e')) {function content_6905d07261c1e($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d81af61')) {function content_690777d81af61($_smarty_tpl) {?>
|
||||
<div class="tagContainer">
|
||||
<div class="tag-contents <?php if (empty($_smarty_tpl->tpl_vars['TAGS_LIST']->value)){?> hide<?php }?>">
|
||||
<div class="detailTagList" data-num-of-tags-to-show="<?php echo Vtiger_Tag_Model::NUM_OF_TAGS_DETAIL;?>
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:27:33
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Comment.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:205386947869085965deb404-13696352%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'156c95322ad325cf6c9fbe1240c1598ca61408e9' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Comment.tpl',
|
||||
1 => 1760090420,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '205386947869085965deb404-13696352',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'COMMENT' => 0,
|
||||
'IMAGE_PATH' => 0,
|
||||
'CREATOR_NAME' => 0,
|
||||
'ROLLUP_STATUS' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'SINGULR_MODULE' => 0,
|
||||
'ENTITY_NAME' => 0,
|
||||
'CHANNEL' => 0,
|
||||
'CHILDS_ROOT_PARENT_MODEL' => 0,
|
||||
'COMMENTS_MODULE_MODEL' => 0,
|
||||
'CURRENTUSER' => 0,
|
||||
'CHILD_COMMENTS_MODEL' => 0,
|
||||
'CHILDS_ROOT_PARENT_ID' => 0,
|
||||
'PARENT_COMMENT_ID' => 0,
|
||||
'CHILD_COMMENTS_COUNT' => 0,
|
||||
'REASON_TO_EDIT' => 0,
|
||||
'FILE_DETAILS' => 0,
|
||||
'FILE_DETAIL' => 0,
|
||||
'FILE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69085965e1b06',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69085965e1b06')) {function content_69085965e1b06($_smarty_tpl) {?>
|
||||
<div class="commentDiv <?php if ($_smarty_tpl->tpl_vars['COMMENT']->value->get('is_private')){?>privateComment<?php }?>"><div class="singleComment"><input type="hidden" name="is_private" value="<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('is_private');?>
|
||||
"><div class="commentInfoHeader" data-commentid="<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->getId();?>
|
||||
" data-parentcommentid="<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('parent_comments');?>
|
||||
" data-relatedto = "<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to');?>
|
||||
"><?php $_smarty_tpl->tpl_vars['PARENT_COMMENT_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getParentCommentModel(), null, 0);?><?php $_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getChildComments(), null, 0);?><div class="row"><div class="col-lg-12"><div class="media"><div class="media-left title" id="<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->getId();?>
|
||||
"><?php $_smarty_tpl->tpl_vars['CREATOR_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getCommentedByName(), null, 0);?><div class="col-lg-2 recordImage commentInfoHeader" style ="width:50px; height:50px; font-size: 30px;" data-commentid="<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->getId();?>
|
||||
" data-parentcommentid="<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('parent_comments');?>
|
||||
" data-relatedto = "<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to');?>
|
||||
"><?php $_smarty_tpl->tpl_vars['IMAGE_PATH'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getImagePath(), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['IMAGE_PATH']->value)){?><img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_PATH']->value;?>
|
||||
" width="100%" height="100%" align="left"><?php }else{ ?><div class="name"><span><strong> <?php echo mb_substr($_smarty_tpl->tpl_vars['CREATOR_NAME']->value,0,2);?>
|
||||
</strong></span></div><?php }?></div></div><div class="media-body"><div class="comment" style="line-height:1;"><span class="creatorName" style="color:blue"><?php echo $_smarty_tpl->tpl_vars['CREATOR_NAME']->value;?>
|
||||
</span> <?php if ($_smarty_tpl->tpl_vars['ROLLUP_STATUS']->value&&$_smarty_tpl->tpl_vars['COMMENT']->value->get('module')!=$_smarty_tpl->tpl_vars['MODULE_NAME']->value){?><?php $_smarty_tpl->tpl_vars['SINGULR_MODULE'] = new Smarty_variable(('SINGLE_').($_smarty_tpl->tpl_vars['COMMENT']->value->get('module')), null, 0);?><?php $_smarty_tpl->tpl_vars['ENTITY_NAME'] = new Smarty_variable(getEntityName($_smarty_tpl->tpl_vars['COMMENT']->value->get('module'),array($_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to'))), null, 0);?><span class="text-muted"><?php echo vtranslate('LBL_ON','Vtiger');?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGULR_MODULE']->value,$_smarty_tpl->tpl_vars['COMMENT']->value->get('module'));?>
|
||||
<a href="index.php?module=<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('module');?>
|
||||
&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to');?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['ENTITY_NAME']->value[$_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to')];?>
|
||||
</a></span> <?php }?><?php $_smarty_tpl->tpl_vars['CHANNEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->get('channel'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['CHANNEL']->value=='WhatsApp'){?><img src="/storage/images/whatsapp.png"><?php }elseif($_smarty_tpl->tpl_vars['CHANNEL']->value=='Telegram'){?><img src="/storage/images/telegram.png"><?php }elseif($_smarty_tpl->tpl_vars['CHANNEL']->value=='Telegram AI'){?><span style="font-size: 16px;">💬</span><?php }elseif($_smarty_tpl->tpl_vars['CHANNEL']->value=='Telegram AI Bot'){?><span style="font-size: 16px;">🤖</span><?php }else{ ?><img src="/storage/images/comment.png"><?php }?> <span class="commentTime text-muted cursorDefault"><small title="<?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['COMMENT']->value->getCommentedTime());?>
|
||||
"><?php echo Vtiger_Util_Helper::formatDateDiffInStrings($_smarty_tpl->tpl_vars['COMMENT']->value->getCommentedTime());?>
|
||||
</small></span><div class="commentInfoContentBlock"><span class="commentInfoContent"><?php echo nl2br($_smarty_tpl->tpl_vars['COMMENT']->value->get('commentcontent'));?>
|
||||
</span></div><br><div class="commentActionsContainer"><span class="commentActions"><?php if ($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value){?><?php $_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value->getId(), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('EditView')){?><?php if ($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value){?><?php $_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value->getId(), null, 0);?><?php }?><a href="javascript:void(0);" class="cursorPointer replyComment feedback" style="color: blue;"><?php echo vtranslate('LBL_REPLY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a><?php if ($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getId()==$_smarty_tpl->tpl_vars['COMMENT']->value->get('userid')){?> <a href="javascript:void(0);" class="cursorPointer editComment feedback" style="color: blue;"><?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a><?php }?> <a href="javascript:void(0);" class="cursorPointer deleteComment feedback" style="color: red;"><?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a><?php }?><?php $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getChildCommentsCount(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value!=null&&($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_ID']->value!=$_smarty_tpl->tpl_vars['PARENT_COMMENT_ID']->value)){?><?php if ($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('EditView')){?> <?php }?><span class="viewThreadBlock" data-child-comments-count="<?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
"><a href="javascript:void(0)" class="cursorPointer viewThread" style="color: blue;"><span class="childCommentsCount"><?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
</span> <?php if ($_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value==1){?><?php echo vtranslate('LBL_REPLY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_REPLIES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }?> </a></span><span class="hideThreadBlock" data-child-comments-count="<?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
" style="display:none;"><a href="javascript:void(0)" class="cursorPointer hideThread" style="color: blue;"><span class="childCommentsCount"><?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
</span> <?php if ($_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value==1){?><?php echo vtranslate('LBL_REPLY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_REPLIES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }?> </a></span><?php }elseif($_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value!=null&&($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_ID']->value==$_smarty_tpl->tpl_vars['PARENT_COMMENT_ID']->value)){?><?php if ($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('EditView')){?> <?php }?><span class="viewThreadBlock" data-child-comments-count="<?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
" style="display:none;"><a href="javascript:void(0)" class="cursorPointer viewThread" style="color: blue;"><span class="childCommentsCount"><?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
</span> <?php if ($_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value==1){?><?php echo vtranslate('LBL_REPLY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_REPLIES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }?> </a></span><span class="hideThreadBlock" data-child-comments-count="<?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
"><a href="javascript:void(0)" class="cursorPointer hideThread" style="color: blue;"><span class="childCommentsCount"><?php echo $_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value;?>
|
||||
</span> <?php if ($_smarty_tpl->tpl_vars['CHILD_COMMENTS_COUNT']->value==1){?><?php echo vtranslate('LBL_REPLY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_REPLIES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }?> </a></span><?php }?></span></div><?php $_smarty_tpl->tpl_vars["REASON_TO_EDIT"] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->get('reasontoedit'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['COMMENT']->value->getCommentedTime()!=$_smarty_tpl->tpl_vars['COMMENT']->value->getModifiedTime()){?><br><div class="commentEditStatus" name="editStatus"><?php $_smarty_tpl->tpl_vars["REASON_TO_EDIT"] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->get('reasontoedit'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['REASON_TO_EDIT']->value){?><div class="text-muted"><small><?php echo vtranslate('LBL_EDIT_REASON',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
: <span name="editReason" class="textOverflowEllipsis"><?php echo nl2br($_smarty_tpl->tpl_vars['REASON_TO_EDIT']->value);?>
|
||||
</span></small></div><?php }?><div style="margin-top:5px;" class="text-muted"><small><?php echo vtranslate('LBL_COMMENT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo strtolower(vtranslate('LBL_MODIFIED',$_smarty_tpl->tpl_vars['MODULE_NAME']->value));?>
|
||||
</small> <small title="<?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['COMMENT']->value->getModifiedTime());?>
|
||||
" class="commentModifiedTime"><?php echo Vtiger_Util_Helper::formatDateDiffInStrings($_smarty_tpl->tpl_vars['COMMENT']->value->getModifiedTime());?>
|
||||
</small></div></div><?php }?><div style="margin-top:5px;"><?php $_smarty_tpl->tpl_vars["FILE_DETAILS"] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getFileNameAndDownloadURL(), null, 0);?><?php $_smarty_tpl->tpl_vars['FILE_DETAIL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FILE_DETAIL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['FILE_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['FILE_DETAIL']->key => $_smarty_tpl->tpl_vars['FILE_DETAIL']->value){
|
||||
$_smarty_tpl->tpl_vars['FILE_DETAIL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['FILE_DETAIL']->key;
|
||||
?><?php $_smarty_tpl->tpl_vars["FILE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FILE_DETAIL']->value['trimmedFileName'], null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['FILE_NAME']->value)){?><div class="row-fluid"><div class="span11 commentAttachmentName"><span class="filePreview"><a onclick="Vtiger_Detail_Js.previewFile(event,<?php echo $_smarty_tpl->tpl_vars['COMMENT']->value->get('id');?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['FILE_DETAIL']->value['attachmentId'];?>
|
||||
);" data-filename="<?php echo $_smarty_tpl->tpl_vars['FILE_NAME']->value;?>
|
||||
" href="javascript:void(0)" name="viewfile"><span title="<?php echo $_smarty_tpl->tpl_vars['FILE_DETAIL']->value['rawFileName'];?>
|
||||
" style="line-height:1.5em;"><?php echo $_smarty_tpl->tpl_vars['FILE_NAME']->value;?>
|
||||
</span> </a> <a name="downloadfile" href="<?php echo $_smarty_tpl->tpl_vars['FILE_DETAIL']->value['url'];?>
|
||||
"><i title="<?php echo vtranslate('LBL_DOWNLOAD_FILE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" class="pull-left hide fa fa-download alignMiddle"></i></a></span></div></div><?php }?><?php } ?></div></div></div></div></div></div></div></div><hr></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/SidebarHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:16847504626905d0724e0ed5-60731573%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:144344828690777d80b4261-20214661%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '16847504626905d0724e0ed5-60731573',
|
||||
'nocache_hash' => '144344828690777d80b4261-20214661',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -23,9 +23,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0724e8f2',
|
||||
'unifunc' => 'content_690777d80b9be',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0724e8f2')) {function content_6905d0724e8f2($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d80b9be')) {function content_690777d80b9be($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['APP_IMAGE_MAP'] = new Smarty_variable(Vtiger_MenuStructure_Model::getAppIcons(), null, 0);?>
|
||||
|
||||
|
||||
@@ -0,0 +1,636 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:04:51
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/LineItemsDetail.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:40203002169119ca350d891-77322636%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'19b51ebd6ac1742ce3a277c09d153d963fb38dcc' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/LineItemsDetail.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '40203002169119ca350d891-77322636',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'BLOCK_LIST' => 0,
|
||||
'ITEM_DETAILS_BLOCK' => 0,
|
||||
'LINEITEM_FIELDS' => 0,
|
||||
'IMAGE_VIEWABLE' => 0,
|
||||
'COL_SPAN1' => 0,
|
||||
'PRODUCT_VIEWABLE' => 0,
|
||||
'QUANTITY_VIEWABLE' => 0,
|
||||
'PURCHASE_COST_VIEWABLE' => 0,
|
||||
'COL_SPAN2' => 0,
|
||||
'LIST_PRICE_VIEWABLE' => 0,
|
||||
'MARGIN_VIEWABLE' => 0,
|
||||
'COL_SPAN3' => 0,
|
||||
'RELATED_PRODUCTS' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'RECORD' => 0,
|
||||
'TAX_REGION_MODEL' => 0,
|
||||
'REGION_LABEL' => 0,
|
||||
'CURRENCY_INFO' => 0,
|
||||
'FINAL_DETAILS' => 0,
|
||||
'MODULE' => 0,
|
||||
'LINE_ITEM_DETAIL' => 0,
|
||||
'COMMENT_VIEWABLE' => 0,
|
||||
'ITEM_DISCOUNT_AMOUNT_VIEWABLE' => 0,
|
||||
'ITEM_DISCOUNT_PERCENT_VIEWABLE' => 0,
|
||||
'DISCOUNT_INFO' => 0,
|
||||
'tax_details' => 0,
|
||||
'COMPOUND_TAX_ID' => 0,
|
||||
'INDIVIDUAL_TAX_INFO' => 0,
|
||||
'DISCOUNT_AMOUNT_VIEWABLE' => 0,
|
||||
'DISCOUNT_PERCENT_VIEWABLE' => 0,
|
||||
'FINAL_DISCOUNT_INFO' => 0,
|
||||
'SH_PERCENT_VIEWABLE' => 0,
|
||||
'SELECTED_CHARGES_AND_ITS_TAXES' => 0,
|
||||
'CHARGE_INFO' => 0,
|
||||
'CHARGES_INFO' => 0,
|
||||
'GROUP_TAX_INFO' => 0,
|
||||
'CHARGE_TAX_INFO' => 0,
|
||||
'CHARGES_TAX_INFO' => 0,
|
||||
'DEDUCTED_TAX_INFO' => 0,
|
||||
'DEDUCTED_TAXES_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119ca3594b4',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119ca3594b4')) {function content_69119ca3594b4($_smarty_tpl) {?>
|
||||
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['ITEM_DETAILS_BLOCK'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK_LIST']->value['LBL_ITEM_DETAILS'], null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['LINEITEM_FIELDS'] = new Smarty_variable($_smarty_tpl->tpl_vars['ITEM_DETAILS_BLOCK']->value->getFields(), null, 0);?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['COL_SPAN1'] = new Smarty_variable(0, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['COL_SPAN2'] = new Smarty_variable(0, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['COL_SPAN3'] = new Smarty_variable(2, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['IMAGE_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['PRODUCT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['QUANTITY_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['PURCHASE_COST_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['LIST_PRICE_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['MARGIN_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['COMMENT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['ITEM_DISCOUNT_AMOUNT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['ITEM_DISCOUNT_PERCENT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['SH_PERCENT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['DISCOUNT_AMOUNT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['DISCOUNT_PERCENT_VIEWABLE'] = new Smarty_variable(false, null, 0);?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['image']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['IMAGE_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['image']->isViewable(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['IMAGE_VIEWABLE']->value){?><?php $_smarty_tpl->tpl_vars['COL_SPAN1'] = new Smarty_variable(($_smarty_tpl->tpl_vars['COL_SPAN1']->value)+1, null, 0);?><?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['productid']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['PRODUCT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['productid']->isViewable(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['PRODUCT_VIEWABLE']->value){?><?php $_smarty_tpl->tpl_vars['COL_SPAN1'] = new Smarty_variable(($_smarty_tpl->tpl_vars['COL_SPAN1']->value)+1, null, 0);?><?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['quantity']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['QUANTITY_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['quantity']->isViewable(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['QUANTITY_VIEWABLE']->value){?><?php $_smarty_tpl->tpl_vars['COL_SPAN1'] = new Smarty_variable(($_smarty_tpl->tpl_vars['COL_SPAN1']->value)+1, null, 0);?><?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['purchase_cost']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['PURCHASE_COST_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['purchase_cost']->isViewable(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['PURCHASE_COST_VIEWABLE']->value){?><?php $_smarty_tpl->tpl_vars['COL_SPAN2'] = new Smarty_variable(($_smarty_tpl->tpl_vars['COL_SPAN2']->value)+1, null, 0);?><?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['listprice']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['LIST_PRICE_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['listprice']->isViewable(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LIST_PRICE_VIEWABLE']->value){?><?php $_smarty_tpl->tpl_vars['COL_SPAN2'] = new Smarty_variable(($_smarty_tpl->tpl_vars['COL_SPAN2']->value)+1, null, 0);?><?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['margin']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['MARGIN_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['margin']->isViewable(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MARGIN_VIEWABLE']->value){?><?php $_smarty_tpl->tpl_vars['COL_SPAN3'] = new Smarty_variable(($_smarty_tpl->tpl_vars['COL_SPAN3']->value)+1, null, 0);?><?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['comment']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['COMMENT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['comment']->isViewable(), null, 0);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['discount_amount']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['ITEM_DISCOUNT_AMOUNT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['discount_amount']->isViewable(), null, 0);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['discount_percent']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['ITEM_DISCOUNT_PERCENT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['discount_percent']->isViewable(), null, 0);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['hdnS_H_Percent']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['SH_PERCENT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['hdnS_H_Percent']->isViewable(), null, 0);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['hdnDiscountAmount']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['DISCOUNT_AMOUNT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['hdnDiscountAmount']->isViewable(), null, 0);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['hdnDiscountPercent']){?>
|
||||
<?php $_smarty_tpl->tpl_vars['DISCOUNT_PERCENT_VIEWABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['hdnDiscountPercent']->isViewable(), null, 0);?>
|
||||
<?php }?>
|
||||
|
||||
<input type="hidden" class="isCustomFieldExists" value="false">
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['FINAL_DETAILS'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_PRODUCTS']->value[1]['final_details'], null, 0);?>
|
||||
<div class="details block">
|
||||
<div class="lineItemTableDiv">
|
||||
<table class="table table-bordered lineItemsTable" style = "margin-top:15px">
|
||||
<thead>
|
||||
<th colspan="<?php echo $_smarty_tpl->tpl_vars['COL_SPAN1']->value;?>
|
||||
" class="lineItemBlockHeader">
|
||||
<?php $_smarty_tpl->tpl_vars['REGION_LABEL'] = new Smarty_variable(vtranslate('LBL_ITEM_DETAILS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['RECORD']->value->get('region_id')&&$_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['region_id']&&$_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['region_id']->isViewable()){?>
|
||||
<?php $_smarty_tpl->tpl_vars['TAX_REGION_MODEL'] = new Smarty_variable(Inventory_TaxRegion_Model::getRegionModel($_smarty_tpl->tpl_vars['RECORD']->value->get('region_id')), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['TAX_REGION_MODEL']->value){?>
|
||||
<?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['region_id']->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['REGION_LABEL'] = new Smarty_variable($_tmp1." : ".($_smarty_tpl->tpl_vars['TAX_REGION_MODEL']->value->getName()), null, 0);?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['REGION_LABEL']->value;?>
|
||||
|
||||
</th>
|
||||
<th colspan="<?php echo $_smarty_tpl->tpl_vars['COL_SPAN2']->value;?>
|
||||
" class="lineItemBlockHeader">
|
||||
<?php $_smarty_tpl->tpl_vars['CURRENCY_INFO'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getCurrencyInfo(), null, 0);?>
|
||||
<?php echo vtranslate('LBL_CURRENCY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
: <?php echo vtranslate($_smarty_tpl->tpl_vars['CURRENCY_INFO']->value['currency_name'],$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
(<?php echo $_smarty_tpl->tpl_vars['CURRENCY_INFO']->value['currency_symbol'];?>
|
||||
)
|
||||
</th>
|
||||
<th colspan="<?php echo $_smarty_tpl->tpl_vars['COL_SPAN3']->value;?>
|
||||
" class="lineItemBlockHeader">
|
||||
<?php echo vtranslate('LBL_TAX_MODE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
: <?php echo vtranslate($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxtype'],$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
|
||||
</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['IMAGE_VIEWABLE']->value){?>
|
||||
<td class="lineItemFieldName">
|
||||
<strong><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['image']->get('label');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo vtranslate($_tmp2,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['PRODUCT_VIEWABLE']->value){?>
|
||||
<td class="lineItemFieldName">
|
||||
<span class="redColor">*</span><strong><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['productid']->get('label');?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo vtranslate($_tmp3,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['QUANTITY_VIEWABLE']->value){?>
|
||||
<td class="lineItemFieldName">
|
||||
<strong><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['quantity']->get('label');?>
|
||||
<?php $_tmp4=ob_get_clean();?><?php echo vtranslate($_tmp4,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['PURCHASE_COST_VIEWABLE']->value){?>
|
||||
<td class="lineItemFieldName">
|
||||
<strong><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['purchase_cost']->get('label');?>
|
||||
<?php $_tmp5=ob_get_clean();?><?php echo vtranslate($_tmp5,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LIST_PRICE_VIEWABLE']->value){?>
|
||||
<td style="white-space: nowrap;">
|
||||
<strong><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['listprice']->get('label');?>
|
||||
<?php $_tmp6=ob_get_clean();?><?php echo vtranslate($_tmp6,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php }?>
|
||||
<td class="lineItemFieldName">
|
||||
<strong class="pull-right"><?php echo vtranslate('LBL_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MARGIN_VIEWABLE']->value){?>
|
||||
<td class="lineItemFieldName">
|
||||
<strong class="pull-right"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value['margin']->get('label');?>
|
||||
<?php $_tmp7=ob_get_clean();?><?php echo vtranslate($_tmp7,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
<?php }?>
|
||||
<td class="lineItemFieldName">
|
||||
<strong class="pull-right"><?php echo vtranslate('LBL_NET_PRICE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['INDEX'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_PRODUCTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->key => $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value){
|
||||
$_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['INDEX']->value = $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->key;
|
||||
?>
|
||||
<tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['IMAGE_VIEWABLE']->value){?>
|
||||
<td style="text-align:center;">
|
||||
<img src='<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productImage".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
' height="42" width="42">
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['PRODUCT_VIEWABLE']->value){?>
|
||||
<td>
|
||||
<div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productDeleted".($_smarty_tpl->tpl_vars['INDEX']->value)]){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productName".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<h5><a class="fieldValue" href="index.php?module=<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["entityType".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["hdnProductId".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productName".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</a></h5>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productDeleted".($_smarty_tpl->tpl_vars['INDEX']->value)]){?>
|
||||
<div class="redColor deletedItem">
|
||||
<?php if (empty($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productName".($_smarty_tpl->tpl_vars['INDEX']->value)])){?>
|
||||
<?php echo vtranslate('LBL_THIS_LINE_ITEM_IS_DELETED_FROM_THE_SYSTEM_PLEASE_REMOVE_THIS_LINE_ITEM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php echo vtranslate('LBL_THIS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["entityType".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
<?php echo vtranslate('LBL_IS_DELETED_FROM_THE_SYSTEM_PLEASE_REMOVE_OR_REPLACE_THIS_ITEM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["subprod_names".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['COMMENT_VIEWABLE']->value&&!empty($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productName".($_smarty_tpl->tpl_vars['INDEX']->value)])){?>
|
||||
<div>
|
||||
<?php echo nl2br(decode_html($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["comment".($_smarty_tpl->tpl_vars['INDEX']->value)]));?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['QUANTITY_VIEWABLE']->value){?>
|
||||
<td>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["qty".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['PURCHASE_COST_VIEWABLE']->value){?>
|
||||
<td>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["purchaseCost".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['LIST_PRICE_VIEWABLE']->value){?>
|
||||
<td style="white-space: nowrap;">
|
||||
<div>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["listPrice".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ITEM_DISCOUNT_AMOUNT_VIEWABLE']->value||$_smarty_tpl->tpl_vars['ITEM_DISCOUNT_PERCENT_VIEWABLE']->value){?>
|
||||
<div>
|
||||
<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["discount_type".($_smarty_tpl->tpl_vars['INDEX']->value)]=='amount'){?><?php echo " ";?><?php echo vtranslate('LBL_DIRECT_AMOUNT_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " = ";?><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["discountTotal".($_smarty_tpl->tpl_vars['INDEX']->value)];?><?php echo "
|
||||
";?><?php }elseif($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["discount_type".($_smarty_tpl->tpl_vars['INDEX']->value)]=='percentage'){?><?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["discount_percent".($_smarty_tpl->tpl_vars['INDEX']->value)];?><?php echo " % ";?><?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productTotal".($_smarty_tpl->tpl_vars['INDEX']->value)];?><?php echo " = ";?><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["discountTotal".($_smarty_tpl->tpl_vars['INDEX']->value)];?><?php echo "
|
||||
";?><?php }?><?php $_tmp8=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['DISCOUNT_INFO'] = new Smarty_variable($_tmp8, null, 0);?>
|
||||
(-) <strong><a href="javascript:void(0)" class="individualDiscount inventoryLineItemDetails" tabindex="0" role="tooltip" id ="example" data-toggle="popover" data-trigger="focus" title="<?php echo vtranslate('LBL_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" data-content="<?php echo $_smarty_tpl->tpl_vars['DISCOUNT_INFO']->value;?>
|
||||
"><?php echo vtranslate('LBL_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a> : </strong>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div>
|
||||
<strong><?php echo vtranslate('LBL_TOTAL_AFTER_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
:</strong>
|
||||
</div>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxtype']=='individual'){?>
|
||||
|
||||
|
||||
<div class="individualTaxContainer">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_TOTAL_AFTER_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp9=ob_get_clean();?><?php ob_start();?><?php $_smarty_tpl->tpl_vars['tax_details'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax_details']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value['taxes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['tax_details']->key => $_smarty_tpl->tpl_vars['tax_details']->value){
|
||||
$_smarty_tpl->tpl_vars['tax_details']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['LINEITEM_FIELDS']->value[($_smarty_tpl->tpl_vars['tax_details']->value['taxname'])]){?><?php echo $_smarty_tpl->tpl_vars['tax_details']->value['taxlabel'];?><?php echo " : \t";?><?php echo $_smarty_tpl->tpl_vars['tax_details']->value['percentage'];?><?php echo "% ";?><?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " ";?><?php if ($_smarty_tpl->tpl_vars['tax_details']->value['method']=='Compound'){?><?php echo "(";?><?php }?><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["totalAfterDiscount".($_smarty_tpl->tpl_vars['INDEX']->value)];?><?php if ($_smarty_tpl->tpl_vars['tax_details']->value['method']=='Compound'){?><?php $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['tax_details']->value['compoundon']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->key => $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value){
|
||||
$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxes'][$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value]['taxlabel']){?><?php echo " + ";?><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxes'][$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value]['taxlabel'];?><?php }?><?php } ?><?php echo ")";?><?php }?><?php echo " = ";?><?php echo $_smarty_tpl->tpl_vars['tax_details']->value['amount'];?><?php echo "<br />";?><?php }?><?php } ?><?php $_tmp10=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_TOTAL_TAX_AMOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp11=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['INDIVIDUAL_TAX_INFO'] = new Smarty_variable($_tmp9." = ".($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["totalAfterDiscount".($_smarty_tpl->tpl_vars['INDEX']->value)])."<br /><br />".$_tmp10."<br /><br />".$_tmp11." = ".($_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["taxTotal".($_smarty_tpl->tpl_vars['INDEX']->value)]), null, 0);?>
|
||||
(+) <strong><a href="javascript:void(0)" class="individualTax inventoryLineItemDetails" tabindex="0" role="tooltip" id="example" title ="<?php echo vtranslate('LBL_TAX',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" data-trigger ="focus" data-toggle ="popover" data-content="<?php echo $_smarty_tpl->tpl_vars['INDIVIDUAL_TAX_INFO']->value;?>
|
||||
"><?php echo vtranslate('LBL_TAX',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a> : </strong>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<td>
|
||||
<div align = "right"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["productTotal".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ITEM_DISCOUNT_AMOUNT_VIEWABLE']->value||$_smarty_tpl->tpl_vars['ITEM_DISCOUNT_PERCENT_VIEWABLE']->value){?>
|
||||
<div align = "right"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["discountTotal".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div align = "right"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["totalAfterDiscount".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</div>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxtype']=='individual'){?>
|
||||
|
||||
|
||||
<div align = "right"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["taxTotal".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MARGIN_VIEWABLE']->value){?>
|
||||
<td><div align = "right"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["margin".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</div></td>
|
||||
<?php }?>
|
||||
<td>
|
||||
<div align = "right"><?php echo $_smarty_tpl->tpl_vars['LINE_ITEM_DETAIL']->value["netPrice".($_smarty_tpl->tpl_vars['INDEX']->value)];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<table class="table table-bordered lineItemsTable">
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div class="pull-right">
|
||||
<strong><?php echo vtranslate('LBL_ITEMS_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="pull-right">
|
||||
<strong><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["hdnSubTotal"];?>
|
||||
</strong>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DISCOUNT_AMOUNT_VIEWABLE']->value||$_smarty_tpl->tpl_vars['DISCOUNT_PERCENT_VIEWABLE']->value){?>
|
||||
|
||||
<tr <?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxtype']=='group_tax_inc'){?> class="hide" <?php }?>>
|
||||
|
||||
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_FINAL_DISCOUNT_AMOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp12=ob_get_clean();?><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['DISCOUNT_PERCENT_VIEWABLE']->value&&$_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['discount_type_final']=='percentage'){?><?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['discount_percentage_final'];?><?php echo " % ";?><?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['hdnSubTotal'];?><?php echo " = ";?><?php }?><?php $_tmp13=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['FINAL_DISCOUNT_INFO'] = new Smarty_variable($_tmp12." = ".$_tmp13.($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['discountTotal_final']), null, 0);?>
|
||||
(-) <strong><a class="inventoryLineItemDetails" href="javascript:void(0)" id="finalDiscount" tabindex="0" role="tooltip" data-trigger ="focus" data-placement="left" data-toggle = "popover" title= "<?php echo vtranslate('LBL_OVERALL_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" data-content="<?php echo $_smarty_tpl->tpl_vars['FINAL_DISCOUNT_INFO']->value;?>
|
||||
"><?php echo vtranslate('LBL_OVERALL_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['discountTotal_final'];?>
|
||||
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['SH_PERCENT_VIEWABLE']->value){?>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_TOTAL_AFTER_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp14=ob_get_clean();?><?php ob_start();?><?php $_smarty_tpl->tpl_vars['CHARGE_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CHARGE_INFO']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['CHARGE_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['SELECTED_CHARGES_AND_ITS_TAXES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['CHARGE_INFO']->key => $_smarty_tpl->tpl_vars['CHARGE_INFO']->value){
|
||||
$_smarty_tpl->tpl_vars['CHARGE_INFO']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['CHARGE_ID']->value = $_smarty_tpl->tpl_vars['CHARGE_INFO']->key;
|
||||
?><?php echo " ";?><?php if ($_smarty_tpl->tpl_vars['CHARGE_INFO']->value['deleted']){?><?php echo "(";?><?php echo strtoupper(vtranslate('LBL_DELETED',$_smarty_tpl->tpl_vars['MODULE_NAME']->value));?>
|
||||
<?php echo ")";?><?php }?><?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['name'];?><?php echo " ";?><?php if ($_smarty_tpl->tpl_vars['CHARGE_INFO']->value['percent']){?><?php echo ": ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['percent'];?><?php echo "% ";?><?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['totalAfterDiscount'];?><?php }?><?php echo " = ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['amount'];?><?php echo "<br />";?><?php } ?><?php $_tmp15=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_CHARGES_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp16=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CHARGES_INFO'] = new Smarty_variable($_tmp14." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['totalAfterDiscount'])."<br /><br />".$_tmp15."<br /><h5>".$_tmp16." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['shipping_handling_charge'])."</h5>", null, 0);?>
|
||||
(+) <strong><a class="inventoryLineItemDetails" tabindex="0" role="tooltip" href="javascript:void(0)" id="example" data-trigger="focus" data-placement ="left" data-toggle="popover" title=<?php echo vtranslate('LBL_CHARGES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
data-content="<?php echo $_smarty_tpl->tpl_vars['CHARGES_INFO']->value;?>
|
||||
"><?php echo vtranslate('LBL_CHARGES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["shipping_handling_charge"];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<strong><?php echo vtranslate('LBL_PRE_TAX_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["preTaxTotal"];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxtype']!='individual'){?>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxtype']=='group'){?>
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_TOTAL_AFTER_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp17=ob_get_clean();?><?php ob_start();?><?php $_smarty_tpl->tpl_vars['tax_details'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax_details']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['tax_details']->key => $_smarty_tpl->tpl_vars['tax_details']->value){
|
||||
$_smarty_tpl->tpl_vars['tax_details']->_loop = true;
|
||||
?><?php echo $_smarty_tpl->tpl_vars['tax_details']->value['taxlabel'];?><?php echo " : \t";?><?php echo $_smarty_tpl->tpl_vars['tax_details']->value['percentage'];?><?php echo "% ";?><?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " ";?><?php if ($_smarty_tpl->tpl_vars['tax_details']->value['method']=='Compound'){?><?php echo "(";?><?php }?><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['totalAfterDiscount'];?><?php if ($_smarty_tpl->tpl_vars['tax_details']->value['method']=='Compound'){?><?php $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['tax_details']->value['compoundon']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->key => $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value){
|
||||
$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxes'][$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value]['taxlabel']){?><?php echo " + ";?><?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['taxes'][$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value]['taxlabel'];?><?php }?><?php } ?><?php echo ")";?><?php }?><?php echo " = ";?><?php echo $_smarty_tpl->tpl_vars['tax_details']->value['amount'];?><?php echo "<br />";?><?php } ?><?php $_tmp18=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_TOTAL_TAX_AMOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp19=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['GROUP_TAX_INFO'] = new Smarty_variable($_tmp17." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['totalAfterDiscount'])."<br /><br />".$_tmp18."<br />".$_tmp19." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['tax_totalamount']), null, 0);?>
|
||||
<?php }else{ ?>
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_TOTAL_AFTER_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp20=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_TOTAL_TAX_AMOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp21=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['GROUP_TAX_INFO'] = new Smarty_variable($_tmp20." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['totalAfterDiscount'])."<br />".$_tmp21." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['tax_totalamount']), null, 0);?>
|
||||
<?php }?>
|
||||
(+) <strong><a class="inventoryLineItemDetails" tabindex="0" role="tooltip" href="javascript:void(0)" id="finalTax" data-trigger ="focus" data-placement ="left" title = "<?php echo vtranslate('LBL_TAX',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" data-toggle ="popover" data-content="<?php echo $_smarty_tpl->tpl_vars['GROUP_TAX_INFO']->value;?>
|
||||
"><?php echo vtranslate('LBL_TAX',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['tax_totalamount'];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['SH_PERCENT_VIEWABLE']->value){?>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_CHARGES_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp22=ob_get_clean();?><?php ob_start();?><?php $_smarty_tpl->tpl_vars['CHARGE_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CHARGE_INFO']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['CHARGE_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['SELECTED_CHARGES_AND_ITS_TAXES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['CHARGE_INFO']->key => $_smarty_tpl->tpl_vars['CHARGE_INFO']->value){
|
||||
$_smarty_tpl->tpl_vars['CHARGE_INFO']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['CHARGE_ID']->value = $_smarty_tpl->tpl_vars['CHARGE_INFO']->key;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['CHARGE_INFO']->value['taxes']){?><?php if ($_smarty_tpl->tpl_vars['CHARGE_INFO']->value['deleted']){?><?php echo "(";?><?php echo strtoupper(vtranslate('LBL_DELETED',$_smarty_tpl->tpl_vars['MODULE_NAME']->value));?>
|
||||
<?php echo ")";?><?php }?><?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['name'];?><?php echo "<br />";?><?php $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['taxes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->key => $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value){
|
||||
$_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->_loop = true;
|
||||
?><?php echo " ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value['name'];?><?php echo ":  ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value['percent'];?><?php echo "% ";?><?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo " ";?><?php if ($_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value['method']=='Compound'){?><?php echo "(";?><?php }?><?php echo $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['amount'];?><?php echo " ";?><?php if ($_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value['method']=='Compound'){?><?php $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value['compoundon']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->key => $_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value){
|
||||
$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['CHARGE_INFO']->value['taxes'][$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value]['name']){?><?php echo " + ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_INFO']->value['taxes'][$_smarty_tpl->tpl_vars['COMPOUND_TAX_ID']->value]['name'];?><?php }?><?php } ?><?php echo ")";?><?php }?><?php echo " = ";?><?php echo $_smarty_tpl->tpl_vars['CHARGE_TAX_INFO']->value['amount'];?><?php echo "<br />";?><?php } ?><?php echo "<br />";?><?php }?><?php } ?><?php $_tmp23=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_TOTAL_TAX_AMOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp24=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CHARGES_TAX_INFO'] = new Smarty_variable($_tmp22." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["shipping_handling_charge"])."<br /><br />".$_tmp23."\r\n".$_tmp24." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['shtax_totalamount']), null, 0);?>
|
||||
(+) <strong><a class="inventoryLineItemDetails" tabindex="0" role="tooltip" title = "<?php echo vtranslate('LBL_TAXES_ON_CHARGES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" data-trigger ="focus" data-placement ="left" data-toggle="popover" href="javascript:void(0)" id="taxesOnChargesList" data-content="<?php echo $_smarty_tpl->tpl_vars['CHARGES_TAX_INFO']->value;?>
|
||||
">
|
||||
<?php echo vtranslate('LBL_TAXES_ON_CHARGES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["shtax_totalamount"];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_TOTAL_AFTER_DISCOUNT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp25=ob_get_clean();?><?php ob_start();?><?php $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['DEDUCTED_TAX_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['deductTaxes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->key => $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->value){
|
||||
$_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['DEDUCTED_TAX_ID']->value = $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->key;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->value['selected']==true){?><?php echo $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->value['taxlabel'];?><?php echo ": \t";?><?php echo $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->value['percentage'];?><?php echo "% = ";?><?php echo $_smarty_tpl->tpl_vars['DEDUCTED_TAX_INFO']->value['amount'];?><?php echo "\r\n";?><?php }?><?php } ?><?php $_tmp26=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_DEDUCTED_TAXES_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp27=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['DEDUCTED_TAXES_INFO'] = new Smarty_variable($_tmp25." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["totalAfterDiscount"])."<br /><br />".$_tmp26."\r\n\r\n".$_tmp27." = ".($_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['deductTaxesTotalAmount']), null, 0);?>
|
||||
(-) <strong><a class="inventoryLineItemDetails" tabindex="0" role="tooltip" href="javascript:void(0)" id="deductedTaxesList" data-trigger="focus" data-toggle="popover" title = "<?php echo vtranslate('LBL_DEDUCTED_TAXES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" data-placement ="left" data-content="<?php echo $_smarty_tpl->tpl_vars['DEDUCTED_TAXES_INFO']->value;?>
|
||||
">
|
||||
<?php echo vtranslate('LBL_DEDUCTED_TAXES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value['deductTaxesTotalAmount'];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<strong><?php echo vtranslate('LBL_ADJUSTMENT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["adjustment"];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<strong><?php echo vtranslate('LBL_GRAND_TOTAL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['FINAL_DETAILS']->value["grandTotal"];?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=='Invoice'||$_smarty_tpl->tpl_vars['MODULE_NAME']->value=='PurchaseOrder'){?>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=='Invoice'){?>
|
||||
<div align="right">
|
||||
<strong><?php echo vtranslate('LBL_RECEIVED',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
<?php }else{ ?>
|
||||
<div align="right">
|
||||
<strong><?php echo vtranslate('LBL_PAID',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=='Invoice'){?>
|
||||
<div align="right">
|
||||
<?php if ($_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('received')){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('received');?>
|
||||
|
||||
<?php }else{ ?>
|
||||
0
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }else{ ?>
|
||||
<div align="right">
|
||||
<?php if ($_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('paid')){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('paid');?>
|
||||
|
||||
<?php }else{ ?>
|
||||
0
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="83%">
|
||||
<div align="right">
|
||||
<strong><?php echo vtranslate('LBL_BALANCE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<?php if ($_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('balance')){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('balance');?>
|
||||
|
||||
<?php }else{ ?>0
|
||||
<?php }?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:29:27
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Text.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2099295278691186476c1f22-43419811%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1a2a922ef9daffb8d5e693a7e5be80997fcb12d2' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Text.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2099295278691186476c1f22-43419811',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691186476cee1',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691186476cee1')) {function content_691186476cee1($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php if ((!$_smarty_tpl->tpl_vars['FIELD_NAME']->value)){?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='20'){?><textarea rows="3" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" class="inputElement textAreaElement col-lg-12 <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isCKEEnabled()){?>sp_cke_field<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="notecontent"){?>id="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
"<?php }?> <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
</textarea><?php }else{ ?><textarea rows="5" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
</textarea><?php }?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-04 18:39:39
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/NotebookContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:241126812690a1e3b98a058-93535723%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1be16e2d6882cb9350e0da9fc45593cf1012d2fc' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/NotebookContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '241126812690a1e3b98a058-93535723',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'WIDGET' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690a1e3b98f07',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690a1e3b98f07')) {function content_690a1e3b98f07($_smarty_tpl) {?>
|
||||
<div style='padding:5px'><div class="row"><div class="dashboard_notebookWidget_view" style="word-break: break-all"><div class=""><span class="col-lg-10"><i><?php echo vtranslate('LBL_LAST_SAVED_ON',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</i> <?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['WIDGET']->value->getLastSavedDate());?>
|
||||
</span><span class="col-lg-2"><span class="pull-right"><button class="btn btn-default btn-sm pull-right dashboard_notebookWidget_edit"><strong><?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button></span></span></div><br><br><div class="pushDown2per col-lg-12"><div class="dashboard_notebookWidget_viewarea boxSizingBorderBox"><?php echo nl2br($_smarty_tpl->tpl_vars['WIDGET']->value->getContent());?>
|
||||
</div></div></div><div class="dashboard_notebookWidget_text" style="display:none;"><div class=""><span class="col-lg-10"><i><?php echo vtranslate('LBL_LAST_SAVED_ON',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</i> <?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['WIDGET']->value->getLastSavedDate());?>
|
||||
</span><span class="col-lg-2"><span class="pull-right"><button class="btn btn-mini btn-success pull-right dashboard_notebookWidget_save"><strong><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button></span></span></div><br><br><div class=""><span class="col-lg-12"><textarea class="dashboard_notebookWidget_textarea boxSizingBorderBox" data-note-book-id="<?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->get('id');?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['WIDGET']->value->getContent();?>
|
||||
</textarea></span></div></div></div></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-12 14:51:26
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/MultiPicklist.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1415173114691474bef1fe38-72512381%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1c344febdc4c4afcae906f27742aaf7043af3eae' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/MultiPicklist.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1415173114691474bef1fe38-72512381',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'MODULE' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_NAME' => 0,
|
||||
'PICKLIST_COLORS' => 0,
|
||||
'CLASS_NAME' => 0,
|
||||
'FIELD_VALUE_LIST' => 0,
|
||||
'PICKLIST_VALUE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691474bef3c79',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691474bef3c79')) {function content_691474bef3c79($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/modifier.replace.php';
|
||||
?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars["FIELD_VALUE_LIST"] = new Smarty_variable(explode(' |##| ',$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['editablepicklistvalues'], null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_COLORS'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistColors'], null, 0);?><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
" value="" data-fieldtype="multipicklist"/><select id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_<?php echo $_REQUEST['view'];?>
|
||||
_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
" multiple class="select2" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
[]" data-fieldtype="multipicklist" style='width:210px;height:30px;'<?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><?php ob_start();?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value,' ','_');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLASS_NAME'] = new Smarty_variable("picklistColor_".($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName())."_".$_tmp1, null, 0);?><option value="<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value);?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value[$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value]){?>class="<?php echo $_smarty_tpl->tpl_vars['CLASS_NAME']->value;?>
|
||||
"<?php }?> <?php if (in_array(Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value),$_smarty_tpl->tpl_vars['FIELD_VALUE_LIST']->value)){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option><?php } ?></select><?php if ($_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value){?><style type="text/css"><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><?php ob_start();?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value,' ','_');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLASS_NAME'] = new Smarty_variable(($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName())."_".$_tmp2, null, 0);?>.picklistColor_<?php echo Vtiger_Util_Helper::escapeCssSpecialCharacters($_smarty_tpl->tpl_vars['CLASS_NAME']->value);?>
|
||||
{background-color: <?php echo $_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value[$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value];?>
|
||||
!important;}<?php } ?></style><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ModuleHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:37266106069118247262242-01649152%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1d1441e6085c0277a1b361602deaea8a38e6cc6e' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ModuleHeader.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '37266106069118247262242-01649152',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'USER_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'VIEW' => 0,
|
||||
'ACTIVE_BLOCK' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'ALLOWED_MODULES' => 0,
|
||||
'URL' => 0,
|
||||
'PAGETITLE' => 0,
|
||||
'RECORD' => 0,
|
||||
'MODULE_BASIC_ACTIONS' => 0,
|
||||
'BASIC_ACTION' => 0,
|
||||
'LISTVIEW_LINKS' => 0,
|
||||
'QUALIFIEDMODULE' => 0,
|
||||
'SETTING' => 0,
|
||||
'RESTRICTED_MODULE_LIST' => 0,
|
||||
'LISTVIEW_BASICACTION' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691182472aa53',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691182472aa53')) {function content_691182472aa53($_smarty_tpl) {?>
|
||||
|
||||
<div class="col-sm-12 col-xs-12 module-action-bar clearfix coloredBorderTop"><div class="module-action-content clearfix"><div class="col-lg-7 col-md-7"><?php if ($_smarty_tpl->tpl_vars['USER_MODEL']->value->isAdminUser()){?><a title="<?php echo vtranslate('Home',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" href='index.php?module=Vtiger&parent=Settings&view=Index'><h4 class="module-title pull-left text-uppercase"><?php echo vtranslate('LBL_HOME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4></a> <span class="fa fa-angle-right pull-left <?php if ($_smarty_tpl->tpl_vars['VIEW']->value=='Index'&&$_smarty_tpl->tpl_vars['MODULE']->value=='Vtiger'){?> hide <?php }?>" aria-hidden="true" style="padding-top: 12px;padding-left: 5px; padding-right: 5px;"></span><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value!='Vtiger'||$_REQUEST['view']!='Index'){?><?php if ($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['block']){?><span class="current-filter-name filter-name pull-left"><?php echo vtranslate($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['block'],$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="fa fa-angle-right" aria-hidden="true"></span> </span><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value!='Vtiger'){?><?php $_smarty_tpl->tpl_vars['ALLOWED_MODULES'] = new Smarty_variable(explode(",",'Users,Profiles,Groups,Roles,Webforms,Workflows'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value&&in_array($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['ALLOWED_MODULES']->value)){?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Webforms'){?><?php $_smarty_tpl->tpl_vars['URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getListViewUrl(), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getDefaultUrl(), null, 0);?><?php }?><?php if (strpos($_smarty_tpl->tpl_vars['URL']->value,'parent')==''){?><?php $_smarty_tpl->tpl_vars['URL'] = new Smarty_variable((($_smarty_tpl->tpl_vars['URL']->value).('&parent=')).($_REQUEST['parent']), null, 0);?><?php }?><?php }?><span class="current-filter-name settingModuleName filter-name pull-left"><?php if ($_REQUEST['view']=='Calendar'){?><?php if ($_REQUEST['mode']=='Edit'){?><a href="<?php echo ((((("index.php?module=").($_REQUEST['module'])).('&parent=')).($_REQUEST['parent'])).('&view=')).($_REQUEST['view']);?>
|
||||
"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php echo vtranslate($_tmp1,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</a> <span class="fa fa-angle-right" aria-hidden="true"></span> <?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
: <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo vtranslate($_tmp2,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_OF',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
|
||||
<?php }else{ ?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo vtranslate($_tmp3,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="fa fa-angle-right" aria-hidden="true"></span> <?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
|
||||
<?php }?><?php }elseif($_REQUEST['view']!='List'&&$_REQUEST['module']=='Users'){?><?php if ($_REQUEST['view']=='PreferenceEdit'){?><a href="<?php echo ((((("index.php?module=").($_REQUEST['module'])).('&parent=')).($_REQUEST['parent'])).('&view=PreferenceDetail&record=')).($_REQUEST['record']);?>
|
||||
"><?php echo vtranslate($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['block'],$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</a><span class="fa fa-angle-right" aria-hidden="true"></span> <?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
: <?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
|
||||
<?php }elseif($_REQUEST['view']=='Edit'||$_REQUEST['view']=='Detail'){?><a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
|
||||
"><?php if ($_REQUEST['extensionModule']){?><?php echo $_REQUEST['extensionModule'];?>
|
||||
<?php }else{ ?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp4=ob_get_clean();?><?php echo vtranslate($_tmp4,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php }?> </a><span class="fa fa-angle-right" aria-hidden="true"></span> <?php if ($_REQUEST['view']=='Edit'){?><?php if ($_smarty_tpl->tpl_vars['RECORD']->value){?><?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
: <?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_ADDING_NEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
<?php }?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
|
||||
<?php }?><?php }elseif($_smarty_tpl->tpl_vars['URL']->value&&strpos($_smarty_tpl->tpl_vars['URL']->value,$_REQUEST['view'])==''){?><a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
|
||||
"><?php if ($_REQUEST['extensionModule']){?><?php echo $_REQUEST['extensionModule'];?>
|
||||
<?php }else{ ?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp5=ob_get_clean();?><?php echo vtranslate($_tmp5,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php }?></a> <span class="fa fa-angle-right" aria-hidden="true"></span> <?php if ($_smarty_tpl->tpl_vars['RECORD']->value){?><?php if ($_REQUEST['view']=='Edit'){?><?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
: <?php }?><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
<?php }?><?php }else{ ?> <?php if ($_REQUEST['extensionModule']){?><?php echo $_REQUEST['extensionModule'];?>
|
||||
<?php }else{ ?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp6=ob_get_clean();?><?php echo vtranslate($_tmp6,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php }?><?php }?></span><?php }else{ ?><?php if ($_REQUEST['view']=='TaxIndex'){?><?php $_smarty_tpl->tpl_vars['SELECTED_MODULE'] = new Smarty_variable('LBL_TAX_MANAGEMENT', null, 0);?><?php }elseif($_REQUEST['view']=='TermsAndConditionsEdit'){?><?php $_smarty_tpl->tpl_vars['SELECTED_MODULE'] = new Smarty_variable('LBL_TERMS_AND_CONDITIONS', null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['SELECTED_MODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['menu'], null, 0);?><?php }?><span class="current-filter-name filter-name pull-left" style='width:50%;'><span class="display-inline-block"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value;?>
|
||||
<?php $_tmp7=ob_get_clean();?><?php echo vtranslate($_tmp7,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</span></span><?php }?><?php }?></div><div class="col-lg-5 col-md-5 pull-right"><div id="appnav" class="navbar-right"><ul class="nav navbar-nav"><?php $_smarty_tpl->tpl_vars['BASIC_ACTION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['BASIC_ACTION']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_BASIC_ACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['BASIC_ACTION']->key => $_smarty_tpl->tpl_vars['BASIC_ACTION']->value){
|
||||
$_smarty_tpl->tpl_vars['BASIC_ACTION']->_loop = true;
|
||||
?><li><?php if ($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getLabel()=='LBL_IMPORT'){?><button id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_basicAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getLabel());?>
|
||||
" type="button" class="btn addButton btn-default module-buttons"<?php if (stripos($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getUrl(),strlen("javascript:"));?>
|
||||
;'<?php }else{ ?>onclick="Vtiger_Import_Js.triggerImportAction('<?php echo $_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getUrl();?>
|
||||
')"<?php }?>><div class="fa <?php echo $_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getIcon();?>
|
||||
" aria-hidden="true"></div> <?php echo vtranslate($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button><?php }else{ ?><button type="button" class="btn addButton btn-default module-buttons"id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_basicAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getLabel());?>
|
||||
"<?php if (stripos($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getUrl(),strlen("javascript:"));?>
|
||||
;'<?php }else{ ?>onclick='window.location.href="<?php echo $_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getUrl();?>
|
||||
"'<?php }?>><div class="fa <?php echo $_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getIcon();?>
|
||||
" aria-hidden="true"></div> <?php echo vtranslate($_smarty_tpl->tpl_vars['BASIC_ACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button><?php }?></li><?php } ?><?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEWSETTING'])>0){?><?php if (empty($_smarty_tpl->tpl_vars['QUALIFIEDMODULE']->value)){?><?php $_smarty_tpl->tpl_vars['QUALIFIEDMODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE']->value, null, 0);?><?php }?><li><div class="settingsIcon"><button type="button" class="btn btn-default module-buttons dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="<?php echo vtranslate('LBL_SETTINGS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><span class="fa fa-wrench" aria-hidden="true"></span> <span class="caret"></span></button><ul class="detailViewSetting dropdown-menu"><?php $_smarty_tpl->tpl_vars['SETTING'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SETTING']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEWSETTING']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['SETTING']->key => $_smarty_tpl->tpl_vars['SETTING']->value){
|
||||
$_smarty_tpl->tpl_vars['SETTING']->_loop = true;
|
||||
?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_setings_lisview_advancedAction_<?php echo $_smarty_tpl->tpl_vars['SETTING']->value->getLabel();?>
|
||||
"><a <?php if (stripos($_smarty_tpl->tpl_vars['SETTING']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['SETTING']->value->getUrl(),strlen("javascript:"));?>
|
||||
;'<?php }else{ ?>href="<?php echo $_smarty_tpl->tpl_vars['SETTING']->value->getUrl();?>
|
||||
"<?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['SETTING']->value->getLabel(),$_smarty_tpl->tpl_vars['QUALIFIEDMODULE']->value);?>
|
||||
</a></li><?php } ?></ul></div></li><?php }?><?php $_smarty_tpl->tpl_vars['RESTRICTED_MODULE_LIST'] = new Smarty_variable(array('Users','EmailTemplates'), null, 0);?><?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEWBASIC'])>0&&!in_array($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['RESTRICTED_MODULE_LIST']->value)){?><?php if (empty($_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value)){?><?php $_smarty_tpl->tpl_vars['QUALIFIED_MODULE'] = new Smarty_variable(('Settings:').($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEWBASIC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->key => $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Users'){?> <?php $_smarty_tpl->tpl_vars['LANGMODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE']->value, null, 0);?> <?php }?><li><button class="btn btn-default addButton module-buttons"id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_basicAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getLabel());?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Workflows'){?>onclick='Settings_Workflows_List_Js.triggerCreate("<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl();?>
|
||||
&mode=V7Edit")'<?php }else{ ?><?php if (stripos($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl(),strlen("javascript:"));?>
|
||||
;'<?php }else{ ?>onclick='window.location.href = "<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getUrl();?>
|
||||
"'<?php }?><?php }?>><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Tags'){?><i class="fa fa-plus"></i> <?php echo vtranslate('LBL_ADD_TAG',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getIcon()){?><i class="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getIcon();?>
|
||||
"></i> <?php }?><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php }?></button></li><?php } ?><?php }?></ul></div></div></div><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var uimeta = (function () {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function (name, property) {if (name && property === undefined) {return fieldInfo[name];}if (name && property) {return fieldInfo[name][property]}},isMandatory: function (name) {if (fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType: function (name) {if (fieldInfo[name]) {return fieldInfo[name].type}return false;}},};})();</script><?php }?></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:49:06
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/DocumentsFolderFieldSearchView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:96781813269118ae228ba44-22524654%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1d330adc2b2fff4f7a55c4862b8a282be2bd0fec' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/DocumentsFolderFieldSearchView.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '96781813269118ae228ba44-22524654',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'SEARCH_INFO' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_LABEL' => 0,
|
||||
'SEARCH_VALUES' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118ae2297e8',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118ae2297e8')) {function content_69118ae2297e8($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo()), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDocumentFolders(), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue']), null, 0);?><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
|
||||
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
|
||||
' style="display:none"><?php $_smarty_tpl->tpl_vars['PICKLIST_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key => $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY']->value = $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value;?>
|
||||
" <?php if (in_array($_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value,$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value)&&($_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value!='')){?> selected<?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option><?php } ?></select></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:20
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:23:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/RelatedListHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:4898927836905d0d414db56-71833914%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:156868474269085859da3690-59809604%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4898927836905d0d414db56-71833914',
|
||||
'nocache_hash' => '156868474269085859da3690-59809604',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -32,9 +32,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d416640',
|
||||
'unifunc' => 'content_69085859dc5fb',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d416640')) {function content_6905d0d416640($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_69085859dc5fb')) {function content_69085859dc5fb($_smarty_tpl) {?>
|
||||
|
||||
<div class="relatedHeader"><div class="btn-toolbar row"><div class="col-lg-6 col-md-6 col-sm-6 btn-toolbar"><?php $_smarty_tpl->tpl_vars['RELATED_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RELATED_LINK']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_LIST_LINKS']->value['LISTVIEWBASIC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/Sidebar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1251031345691182472ae167-15955680%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2126dbfa89aba9fdc3b507525879262a0d7e582c' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/Sidebar.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1251031345691182472ae167-15955680',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'USER_MODEL' => 0,
|
||||
'SETTINGS_MODULE_MODEL' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'SETTINGS_MENUS' => 0,
|
||||
'BLOCK_MENUS' => 0,
|
||||
'BLOCK_MENU_ITEMS' => 0,
|
||||
'NUM_OF_MENU_ITEMS' => 0,
|
||||
'BLOCK_NAME' => 0,
|
||||
'ACTIVE_BLOCK' => 0,
|
||||
'MENUITEM' => 0,
|
||||
'MENU' => 0,
|
||||
'MENU_URL' => 0,
|
||||
'MENU_LABEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691182472c3a7',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691182472c3a7')) {function content_691182472c3a7($_smarty_tpl) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['USER_MODEL']->value->isAdminUser()){?><?php $_smarty_tpl->tpl_vars['SETTINGS_MODULE_MODEL'] = new Smarty_variable(Settings_Vtiger_Module_Model::getInstance(), null, 0);?><?php $_smarty_tpl->tpl_vars['SETTINGS_MENUS'] = new Smarty_variable($_smarty_tpl->tpl_vars['SETTINGS_MODULE_MODEL']->value->getMenus(), null, 0);?><div class="settingsgroup"><div><input type="text" placeholder="<?php echo vtranslate('LBL_SEARCH_FOR_SETTINGS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" class="search-list col-lg-8" id='settingsMenuSearch'></div><br><br><div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"><?php $_smarty_tpl->tpl_vars['BLOCK_MENUS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['BLOCK_MENUS']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['SETTINGS_MENUS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['BLOCK_MENUS']->key => $_smarty_tpl->tpl_vars['BLOCK_MENUS']->value){
|
||||
$_smarty_tpl->tpl_vars['BLOCK_MENUS']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['BLOCK_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK_MENUS']->value->getLabel(), null, 0);?><?php $_smarty_tpl->tpl_vars['BLOCK_MENU_ITEMS'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK_MENUS']->value->getMenuItems(), null, 0);?><?php $_smarty_tpl->tpl_vars['NUM_OF_MENU_ITEMS'] = new Smarty_variable(sizeof($_smarty_tpl->tpl_vars['BLOCK_MENU_ITEMS']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['NUM_OF_MENU_ITEMS']->value>0){?><div class="settingsgroup-panel panel panel-default instaSearch"><div id="<?php echo $_smarty_tpl->tpl_vars['BLOCK_NAME']->value;?>
|
||||
_accordion" class="app-nav" role="tab"><div class="app-settings-accordion"><div class="settingsgroup-accordion"><a data-toggle="collapse" data-parent="#accordion" class='collapsed' href="#<?php echo $_smarty_tpl->tpl_vars['BLOCK_NAME']->value;?>
|
||||
"><i class="indicator fa<?php if ($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['block']==$_smarty_tpl->tpl_vars['BLOCK_NAME']->value){?> fa-chevron-down <?php }else{ ?> fa-chevron-right <?php }?>"></i> <span><?php echo vtranslate($_smarty_tpl->tpl_vars['BLOCK_NAME']->value,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</span></a></div></div></div><div id="<?php echo $_smarty_tpl->tpl_vars['BLOCK_NAME']->value;?>
|
||||
" class="panel-collapse collapse ulBlock <?php if ($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['block']==$_smarty_tpl->tpl_vars['BLOCK_NAME']->value){?> in <?php }?>"><ul class="list-group widgetContainer"><?php $_smarty_tpl->tpl_vars['MENUITEM'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MENUITEM']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['BLOCK_MENU_ITEMS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['MENUITEM']->key => $_smarty_tpl->tpl_vars['MENUITEM']->value){
|
||||
$_smarty_tpl->tpl_vars['MENUITEM']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['MENU'] = new Smarty_variable($_smarty_tpl->tpl_vars['MENUITEM']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars['MENU_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MENU']->value, null, 0);?><?php if ($_smarty_tpl->tpl_vars['MENU']->value=='LBL_EDIT_FIELDS'){?><?php $_smarty_tpl->tpl_vars['MENU_LABEL'] = new Smarty_variable('LBL_MODULE_CUSTOMIZATION', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['MENU']->value=='LBL_TAX_SETTINGS'){?><?php $_smarty_tpl->tpl_vars['MENU_LABEL'] = new Smarty_variable('LBL_TAX_MANAGEMENT', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['MENU']->value=='INVENTORYTERMSANDCONDITIONS'){?><?php $_smarty_tpl->tpl_vars['MENU_LABEL'] = new Smarty_variable('LBL_TERMS_AND_CONDITIONS', null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['MENU_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MENUITEM']->value->getUrl(), null, 0);?><?php $_smarty_tpl->tpl_vars['USER_MODEL'] = new Smarty_variable(Users_Record_Model::getCurrentUserModel(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MENU']->value=='My Preferences'){?><?php $_smarty_tpl->tpl_vars['MENU_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getPreferenceDetailViewUrl(), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['MENU']->value=='Calendar Settings'){?><?php $_smarty_tpl->tpl_vars['MENU_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getCalendarSettingsDetailViewUrl(), null, 0);?><?php }?><li><a data-name="<?php echo $_smarty_tpl->tpl_vars['MENU']->value;?>
|
||||
" href="<?php echo $_smarty_tpl->tpl_vars['MENU_URL']->value;?>
|
||||
" class="menuItemLabel <?php if ($_smarty_tpl->tpl_vars['ACTIVE_BLOCK']->value['menu']==$_smarty_tpl->tpl_vars['MENU']->value){?> settingsgroup-menu-color <?php }?>"><?php echo vtranslate($_smarty_tpl->tpl_vars['MENU_LABEL']->value,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<img id="<?php echo $_smarty_tpl->tpl_vars['MENUITEM']->value->getId();?>
|
||||
_menuItem" data-id="<?php echo $_smarty_tpl->tpl_vars['MENUITEM']->value->getId();?>
|
||||
" class="pinUnpinShortCut cursorPointer pull-right"data-actionurl="<?php echo $_smarty_tpl->tpl_vars['MENUITEM']->value->getPinUnpinActionUrl();?>
|
||||
"data-pintitle="<?php echo vtranslate('LBL_PIN',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"data-unpintitle="<?php echo vtranslate('LBL_UNPIN',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"data-pinimageurl="<?php ob_start();?><?php echo vimage_path('pin.png');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php echo $_tmp1;?>
|
||||
"data-unpinimageurl="<?php ob_start();?><?php echo vimage_path('unpin.png');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo $_tmp2;?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['MENUITEM']->value->isPinned()){?>title="<?php echo vtranslate('LBL_UNPIN',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" src="<?php echo vimage_path('unpin.png');?>
|
||||
" data-action="unpin"<?php }else{ ?>title="<?php echo vtranslate('LBL_PIN',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" src="<?php echo vimage_path('pin.png');?>
|
||||
" data-action="pin"<?php }?> /></a></li><?php } ?></ul></div></div><?php }?><?php } ?></div></div><?php }else{ ?><?php echo $_smarty_tpl->getSubTemplate ('modules/Users/UsersSidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-06 17:36:22
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Picklist.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1342574750690cb2664179a2-73857439%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'226ee18a2236ce67655478eee12b41105e06e448' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Picklist.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1342574750690cb2664179a2-73857439',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'OCCUPY_COMPLETE_WIDTH' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_NAME' => 0,
|
||||
'PICKLIST_COLORS' => 0,
|
||||
'CLASS_NAME' => 0,
|
||||
'PICKLIST_VALUE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690cb26643126',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690cb26643126')) {function content_690cb26643126($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/modifier.replace.php';
|
||||
?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['editablepicklistvalues'], null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_COLORS'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistColors'], null, 0);?><select data-fieldname="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
" data-fieldtype="picklist" class="inputElement select2 <?php if ($_smarty_tpl->tpl_vars['OCCUPY_COMPLETE_WIDTH']->value){?> row <?php }?>" type="picklist" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?> data-selected-value='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
'<?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEmptyPicklistOptionAllowed()){?><option value=""><?php echo vtranslate('LBL_SELECT_OPTION','Vtiger');?>
|
||||
</option><?php }?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><?php ob_start();?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value,' ','_');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLASS_NAME'] = new Smarty_variable("picklistColor_".($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName())."_".$_tmp1, null, 0);?><option value="<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value);?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value[$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value]){?>class="<?php echo $_smarty_tpl->tpl_vars['CLASS_NAME']->value;?>
|
||||
"<?php }?> <?php if (trim(decode_html($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')))==trim($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value)){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
|
||||
</option><?php } ?></select><?php if ($_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value){?><style type="text/css"><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><?php ob_start();?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value,' ','_');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLASS_NAME'] = new Smarty_variable(($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName())."_".$_tmp2, null, 0);?>.picklistColor_<?php echo Vtiger_Util_Helper::escapeCssSpecialCharacters($_smarty_tpl->tpl_vars['CLASS_NAME']->value);?>
|
||||
{background-color: <?php echo $_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value[$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value];?>
|
||||
!important;<?php if ($_smarty_tpl->tpl_vars['PICKLIST_COLORS']->value[$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value]=='#ffffff'){?>color: #000000 !important;<?php }?>}.picklistColor_<?php echo Vtiger_Util_Helper::escapeCssSpecialCharacters($_smarty_tpl->tpl_vars['CLASS_NAME']->value);?>
|
||||
.select2-highlighted {white: #ffffff !important;background-color: #337ab7 !important;}<?php } ?></style><?php }?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:03:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Invoice/DetailViewHeaderTitle.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2601321269119c3f763da8-77554960%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'22985d953aed8f29d6358e08e49fa38fc556d68d' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Invoice/DetailViewHeaderTitle.tpl',
|
||||
1 => 1762096901,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2601321269119c3f763da8-77554960',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'RECORD' => 0,
|
||||
'IMAGE_DETAILS' => 0,
|
||||
'IMAGE_INFO' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'NAME_FIELD' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119c3f7a3c5',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119c3f7a3c5')) {function content_69119c3f7a3c5($_smarty_tpl) {?>
|
||||
<div class="col-sm-6"><div class="record-header clearfix"><div class="hidden-sm hidden-xs recordImage bginvoice app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><?php $_smarty_tpl->tpl_vars['IMAGE_DETAILS'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getImageDetails(), null, 0);?><?php $_smarty_tpl->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;
|
||||
?><?php if (!empty($_smarty_tpl->tpl_vars['IMAGE_INFO']->value['url'])){?><img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['url'];?>
|
||||
" alt="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'];?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'];?>
|
||||
" width="100%" height="100%" align="left"><br><?php }else{ ?><img src="<?php echo vimage_path('summary_organizations.png');?>
|
||||
" class="summaryImg"/><?php }?><?php } ?><?php if (empty($_smarty_tpl->tpl_vars['IMAGE_DETAILS']->value)){?><div class="name"><span><strong><?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getModuleIcon();?>
|
||||
</strong></span></div><?php }?></div><div class="recordBasicInfo"><div class="info-row" ><h4><span class="recordLabel pushDown" title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
"><?php $_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value){
|
||||
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()){?><span class="<?php echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;?>
|
||||
"><?php echo trim($_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value));?>
|
||||
</span> <?php }?><?php } ?></span></h4></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeaderFieldsView.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<div class="info-row" style="margin-top: 10px;"><button type="button" class="btn btn-info btn-sm" onclick="openRecordFolder('Invoice', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("invoice_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
')" title="Открыть папку счета в Nextcloud"><i class="fa fa-folder-open"></i> Папка в Nextcloud</button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('Invoice', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("invoice_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'docx')" title="Создать Word документ" style="margin-left: 5px;"><i class="fa fa-file-word-o" style="color: #2b579a;"></i></button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('Invoice', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("invoice_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'xlsx')" title="Создать Excel таблицу" style="margin-left: 2px;"><i class="fa fa-file-excel-o" style="color: #217346;"></i></button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('Invoice', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("invoice_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'pptx')" title="Создать PowerPoint презентацию" style="margin-left: 2px;"><i class="fa fa-file-powerpoint-o" style="color: #d24726;"></i></button></div><script type="text/javascript" src="crm_extensions/nextcloud_editor/js/nextcloud-editor.js?v=20251102c"></script></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,113 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:41:49
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailRelatedList.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:4204932406911892d795459-86660648%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'23ba783a682eba64d53940ef5eed438c3d7f7931' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailRelatedList.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4204932406911892d795459-86660648',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'PAGING' => 0,
|
||||
'RELATED_MODULE' => 0,
|
||||
'RELATED_MODULE_NAME' => 0,
|
||||
'ORDER_BY' => 0,
|
||||
'SORT_ORDER' => 0,
|
||||
'RELATED_ENTIRES_COUNT' => 0,
|
||||
'TOTAL_ENTRIES' => 0,
|
||||
'RELATED_LIST_LINKS' => 0,
|
||||
'RELATED_LINK' => 0,
|
||||
'MODULE' => 0,
|
||||
'IS_SELECT_BUTTON' => 0,
|
||||
'RELATION_FIELD' => 0,
|
||||
'RELATED_RECORDS' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'WIDTHTYPE' => 0,
|
||||
'RELATED_HEADERS' => 0,
|
||||
'HEADER_FIELD' => 0,
|
||||
'COLUMN_NAME' => 0,
|
||||
'NEXT_SORT_ORDER' => 0,
|
||||
'FASORT_IMAGE' => 0,
|
||||
'SORT_IMAGE' => 0,
|
||||
'RELATED_RECORD' => 0,
|
||||
'EMAIL_FLAG' => 0,
|
||||
'PARENT_RECORD' => 0,
|
||||
'RELATED_HEADERNAME' => 0,
|
||||
'IS_DELETABLE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911892d800f1',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911892d800f1')) {function content_6911892d800f1($_smarty_tpl) {?>
|
||||
<div class="relatedContainer"><input type="hidden" name="currentPageNum" value="<?php echo $_smarty_tpl->tpl_vars['PAGING']->value->getCurrentPage();?>
|
||||
" /><?php $_smarty_tpl->tpl_vars["RELATED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_MODULE']->value->get('name'), null, 0);?><input type="hidden" name="relatedModuleName" class="relatedModuleName" value="<?php echo $_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value;?>
|
||||
" /><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['ORDER_BY']->value;?>
|
||||
" id="orderBy"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['SORT_ORDER']->value;?>
|
||||
" id="sortOrder"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['RELATED_ENTIRES_COUNT']->value;?>
|
||||
" id="noOfEntries"><input type='hidden' value="<?php echo $_smarty_tpl->tpl_vars['PAGING']->value->getPageLimit();?>
|
||||
" id='pageLimit'><input type='hidden' value="<?php echo $_smarty_tpl->tpl_vars['PAGING']->value->get('page');?>
|
||||
" id='pageNumber'><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['PAGING']->value->isNextPageExists();?>
|
||||
" id="nextPageExist"/><input type='hidden' value="<?php echo $_smarty_tpl->tpl_vars['TOTAL_ENTRIES']->value;?>
|
||||
" id='totalCount'><div class="relatedHeader "><div class="btn-toolbar row-fluid"><div class="col-lg-6 col-md-6 col-sm-6"><?php $_smarty_tpl->tpl_vars['RELATED_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RELATED_LINK']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_LIST_LINKS']->value['LISTVIEWBASIC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RELATED_LINK']->key => $_smarty_tpl->tpl_vars['RELATED_LINK']->value){
|
||||
$_smarty_tpl->tpl_vars['RELATED_LINK']->_loop = true;
|
||||
?><div class="btn-group"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['RELATED_LINK']->value->get('_selectRelation');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['IS_SELECT_BUTTON'] = new Smarty_variable($_tmp1, null, 0);?><button onclick="javascript:Vtiger_Detail_Js.triggerSendEmail('index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
&view=MassActionAjax&mode=showComposeEmailForm&step=step1&relatedLoad=true','Emails');" type="button" class="btn addButton btn-default<?php if ($_smarty_tpl->tpl_vars['IS_SELECT_BUTTON']->value==true){?> selectRelation <?php }?> "<?php if ($_smarty_tpl->tpl_vars['IS_SELECT_BUTTON']->value==true){?> data-moduleName=<?php echo $_smarty_tpl->tpl_vars['RELATED_LINK']->value->get('_module')->get('name');?>
|
||||
<?php }?><?php if (($_smarty_tpl->tpl_vars['RELATED_LINK']->value->isPageLoadLink())){?><?php if ($_smarty_tpl->tpl_vars['RELATION_FIELD']->value){?> data-name="<?php echo $_smarty_tpl->tpl_vars['RELATION_FIELD']->value->getName();?>
|
||||
" <?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['IS_SELECT_BUTTON']->value!=true){?>name="composeEmail"<?php }?>><?php if ($_smarty_tpl->tpl_vars['IS_SELECT_BUTTON']->value==false){?><i class="fa fa-plus"></i> <?php }?> <?php echo $_smarty_tpl->tpl_vars['RELATED_LINK']->value->getLabel();?>
|
||||
</button></div><?php } ?> </div><?php $_smarty_tpl->tpl_vars['CLASS_VIEW_ACTION'] = new Smarty_variable('relatedViewActions', null, 0);?><?php $_smarty_tpl->tpl_vars['CLASS_VIEW_PAGING_INPUT'] = new Smarty_variable('relatedViewPagingInput', null, 0);?><?php $_smarty_tpl->tpl_vars['CLASS_VIEW_PAGING_INPUT_SUBMIT'] = new Smarty_variable('relatedViewPagingInputSubmit', null, 0);?><?php $_smarty_tpl->tpl_vars['CLASS_VIEW_BASIC_ACTION'] = new Smarty_variable('relatedViewBasicAction', null, 0);?><?php $_smarty_tpl->tpl_vars['PAGING_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['PAGING']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['RECORD_COUNT'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['RELATED_RECORDS']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['PAGE_NUMBER'] = new Smarty_variable($_smarty_tpl->tpl_vars['PAGING']->value->get('page'), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Pagination.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SHOWPAGEJUMP'=>true), 0);?>
|
||||
</div></div><div class="relatedContents col-lg-12 col-md-12 col-sm-12 table-container"><div class="bottomscroll-div"><?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?><table id="listview-table" class="table listview-table"><thead><tr class="listViewHeaders"><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><a href="javascript:void(0);" class="noSorting"><?php echo vtranslate('LBL_SENDER_NAME');?>
|
||||
</a></th><?php $_smarty_tpl->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');}
|
||||
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;
|
||||
?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=='access_count'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=='idlists'){?><a href="javascript:void(0);" class="noSorting"><?php echo vtranslate($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('label'),$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value);?>
|
||||
</a><?php }else{ ?><a href="javascript:void(0);" class="relatedListHeaderValues" data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
|
||||
<?php }else{ ?>ASC<?php }?>" data-fieldname="<?php echo $_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column');?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?><i class="fa fa-sort <?php echo $_smarty_tpl->tpl_vars['FASORT_IMAGE']->value;?>
|
||||
"></i><?php }else{ ?><i class="fa fa-sort customsort"></i><?php }?> <?php echo vtranslate(html_entity_decode($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('label')),$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?><img class="<?php echo $_smarty_tpl->tpl_vars['SORT_IMAGE']->value;?>
|
||||
"><?php }?> </a><?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?><a href="#" class="removeSorting"><i class="fa fa-remove"></i></a><?php }?><?php }?></th><?php } ?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><a href="javascript:void(0);" class="noSorting"><?php echo vtranslate('LBL_ORIGIN');?>
|
||||
</a></th></tr></thead><?php $_smarty_tpl->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;
|
||||
?><?php $_smarty_tpl->tpl_vars['EMAIL_FLAG'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getEmailFlag(), null, 0);?><tr class="listViewEntries" data-id='<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getId();?>
|
||||
' data-emailflag='<?php echo $_smarty_tpl->tpl_vars['EMAIL_FLAG']->value;?>
|
||||
' name="emailsRelatedRecord"><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><a><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getSenderName($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['PARENT_RECORD']->value->getId());?>
|
||||
</a></td><?php $_smarty_tpl->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');}
|
||||
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;
|
||||
?><?php $_smarty_tpl->tpl_vars['RELATED_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('name'), null, 0);?><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->isNameField()==true||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('uitype')=='4'){?><a><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value);?>
|
||||
</a><?php }elseif($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value=='access_count'){?><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getAccessCountValue($_smarty_tpl->tpl_vars['PARENT_RECORD']->value->getId());?>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value=='click_count'){?><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getClickCountValue($_smarty_tpl->tpl_vars['PARENT_RECORD']->value->getId());?>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value=='date_start'){?><?php if ($_smarty_tpl->tpl_vars['EMAIL_FLAG']->value!='SAVED'){?><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value);?>
|
||||
<?php }?><?php }elseif($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value=='time_start'){?><?php if ($_smarty_tpl->tpl_vars['EMAIL_FLAG']->value!='SAVED'){?><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value);?>
|
||||
<?php }?><?php }elseif($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getFieldDataType()=='owner'){?><?php echo getOwnerName($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value));?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value);?>
|
||||
<?php }?></td><?php } ?><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><span class="label <?php if ($_smarty_tpl->tpl_vars['EMAIL_FLAG']->value=='SAVED'){?>label-info<?php }elseif($_smarty_tpl->tpl_vars['EMAIL_FLAG']->value=='SENT'){?>label-success<?php }else{ ?>label-warning<?php }?>"><?php echo vtranslate($_smarty_tpl->tpl_vars['EMAIL_FLAG']->value);?>
|
||||
</span><div class="pull-right actions"><span class="actionImages"><a name="emailsDetailView" data-id='<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getId();?>
|
||||
'><i title="<?php echo vtranslate('LBL_SHOW_COMPLETE_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="fa fa-bars"></i></a> <?php if ($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getEmailFlag()=='SAVED'){?><a name="emailsEditView"><i title="<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="fa fa-pencil"></i></a> <?php }?><?php if ($_smarty_tpl->tpl_vars['IS_DELETABLE']->value){?><a class="relationDelete"><i title="<?php echo vtranslate('LBL_UNLINK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="vicon-linkopen"></i></a><?php }?></span></div></td></tr><?php } ?></table></div></div></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewPostProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:79092315469077c099dbed7-00220638%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'261893edf6005dd49d5f1ec2f72d8edc46da6f3d' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewPostProcess.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '79092315469077c099dbed7-00220638',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69077c099dd3a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69077c099dd3a')) {function content_69077c099dd3a($_smarty_tpl) {?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:42:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Number.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:16698778746911893c27ac35-04774935%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'27090a0a4925cc0dc314def6207bf899e476b5fe' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Number.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '16698778746911893c27ac35-04774935',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'FIELD_VALUE' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911893c28758',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911893c28758')) {function content_6911893c28758($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='HelpDesk'&&($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')=='days'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')=='hours')){?><?php $_smarty_tpl->tpl_vars["FIELD_VALUE"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='double'){?><?php $_smarty_tpl->tpl_vars["FIELD_VALUE"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars["FIELD_VALUE"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php }?><?php if ((!$_smarty_tpl->tpl_vars['FIELD_NAME']->value)){?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php }?><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" type="text" class="inputElement" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
"value="<?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
|
||||
" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>/>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewPostProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:14471908826905d072830dd5-18934506%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1690921404690777d8354f74-17205822%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,15 +11,15 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '14471908826905d072830dd5-18934506',
|
||||
'nocache_hash' => '1690921404690777d8354f74-17205822',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d072831cb',
|
||||
'unifunc' => 'content_690777d8355f1',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d072831cb')) {function content_6905d072831cb($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d8355f1')) {function content_690777d8355f1($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-12 14:52:59
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/LayoutEditor/DefaultValueUi.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15218404926914751b6acbc6-46490471%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'28834240adbe6b9d14a0bbb625ef35c82fe24b71' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/LayoutEditor/DefaultValueUi.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15218404926914751b6acbc6-46490471',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'NAME_ATTR' => 0,
|
||||
'DEFAULT_VALUE' => 0,
|
||||
'IS_SET' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'PICKLIST_NAME' => 0,
|
||||
'PICKLIST_VALUE' => 0,
|
||||
'SELECTED_MODULE_NAME' => 0,
|
||||
'FIELD_VALUE_LIST' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'INVENTORY_TERMS_AND_CONDITIONS_MODEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6914751b6ca84',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6914751b6ca84')) {function content_6914751b6ca84($_smarty_tpl) {?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isDefaultValueOptionDisabled()!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-5"><img src="<?php echo vimage_path('DefaultValue.png');?>
|
||||
" height=14 width=14/> <?php echo vtranslate('LBL_DEFAULT_VALUE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-7"><div class="defaultValueUi"><?php if (!$_smarty_tpl->tpl_vars['NAME_ATTR']->value){?><?php $_smarty_tpl->tpl_vars['NAME_ATTR'] = new Smarty_variable("fieldDefaultValue", null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value==false&&!$_smarty_tpl->tpl_vars['IS_SET']->value){?><?php $_smarty_tpl->tpl_vars['DEFAULT_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('defaultvalue'), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="picklist"){?><?php if (!is_array($_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value)){?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistvalues'], null, 0);?><?php }?><?php if (!$_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value){?><?php $_smarty_tpl->tpl_vars['DEFAULT_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('defaultvalue'), null, 0);?><?php }?><?php ob_start();?><?php echo decode_html($_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['DEFAULT_VALUE'] = new Smarty_variable($_tmp1, null, 0);?><select class="col-sm-9 select2" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
"><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><option value="<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value);?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value==$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value,$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
</option><?php } ?></select><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="multipicklist"){?><?php if (!is_array($_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value)){?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistvalues'], null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars["FIELD_VALUE_LIST"] = new Smarty_variable(explode(' |##| ',$_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value), null, 0);?><select multiple class="col-sm-9 select2" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
[]" ><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
?><option value="<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value);?>
|
||||
" <?php if (in_array(Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value),$_smarty_tpl->tpl_vars['FIELD_VALUE_LIST']->value)){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value,$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
</option><?php } ?></select><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="boolean"){?><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
" value="" /><input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
" value="1" <?php if ($_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value=='on'||$_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value==1){?> checked <?php }?> /><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="time"){?><div class="input-group time"><input type="text" class="timepicker-default inputElement" data-format="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('hour_format');?>
|
||||
" data-toregister="time" value="<?php echo $_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value;?>
|
||||
" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
" style='width: 75%'/><span class="input-group-addon cursorPointer"><i class="fa fa-times"></i></span></div><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="date"){?><div class="input-group date"><?php $_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?><input type="text" class="inputElement dateField" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
" data-toregister="date" data-date-format="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('date_format');?>
|
||||
"value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value);?>
|
||||
" style='width: 75%'/><span class="input-group-addon"><i class="fa fa-calendar"></i></span></div><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="percentage"){?><div class="input-group" style='width: 75%'><input type="number" class="form-control" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
"value="<?php echo $_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value;?>
|
||||
" step="any"/><span class="input-group-addon">%</span></div><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="currency"){?><div class="input-group"><span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('currency_symbol');?>
|
||||
</span><input type="text" class="inputElement" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
"value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value,true);?>
|
||||
"data-decimal-separator='<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('currency_decimal_separator');?>
|
||||
' data-group-separator='<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('currency_grouping_separator');?>
|
||||
' style='width: 75%'/></div><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName()=="terms_conditions"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')==19){?><?php $_smarty_tpl->tpl_vars['INVENTORY_TERMS_AND_CONDITIONS_MODEL'] = new Smarty_variable(Settings_Vtiger_MenuItem_Model::getInstance("INVENTORYTERMSANDCONDITIONS"), null, 0);?><a href="<?php echo $_smarty_tpl->tpl_vars['INVENTORY_TERMS_AND_CONDITIONS_MODEL']->value->getUrl();?>
|
||||
" target="_blank"><?php echo vtranslate('LBL_CLICK_HERE_TO_EDIT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</a><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=="text"){?><textarea class="input-lg col-sm-4" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
" style="resize: vertical"><?php echo $_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value;?>
|
||||
</textarea><?php }else{ ?><input type="text" class="inputElement col-sm-3" name="<?php echo $_smarty_tpl->tpl_vars['NAME_ATTR']->value;?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['DEFAULT_VALUE']->value;?>
|
||||
" style='width: 75%'/><?php }?></div></div></div><?php }?><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:16
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-06 17:36:22
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/SalutationDetailView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:20063905616905d0d0691917-10894444%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:267523697690cb26652c5d3-37593011%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '20063905616905d0d0691917-10894444',
|
||||
'nocache_hash' => '267523697690cb26652c5d3-37593011',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -22,9 +22,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d0694b3',
|
||||
'unifunc' => 'content_690cb26652f17',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d0694b3')) {function content_6905d0d0694b3($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690cb26652f17')) {function content_690cb26652f17($_smarty_tpl) {?>
|
||||
|
||||
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('salutationtype');?>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:45
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:19
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Project/SummaryWidgets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:4751970006905d075eedb27-14764938%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1878525653690777df84d329-43021303%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4751970006905d075eedb27-14764938',
|
||||
'nocache_hash' => '1878525653690777df84d329-43021303',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -25,9 +25,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d075ef57f',
|
||||
'unifunc' => 'content_690777df85482',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d075ef57f')) {function content_6905d075ef57f($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777df85482')) {function content_690777df85482($_smarty_tpl) {?>
|
||||
<input type="hidden" name="page" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->get('page');?>
|
||||
" /><input type="hidden" name="pageLimit" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->get('limit');?>
|
||||
" /><input type="hidden" name="relatedModule" value="<?php echo $_smarty_tpl->tpl_vars['RELATED_MODULE']->value;?>
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 19:25:34
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/SummaryViewWidgets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:550781078690785fe2badd5-08017740%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2cc533c322ed0db6e3f7ebb20bdc5d753961dde7' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/SummaryViewWidgets.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '550781078690785fe2badd5-08017740',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'DETAILVIEW_LINKS' => 0,
|
||||
'DETAIL_VIEW_WIDGET' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'MODULE_SUMMARY' => 0,
|
||||
'DOCUMENT_WIDGET_MODEL' => 0,
|
||||
'RECORD' => 0,
|
||||
'PARENT_ID' => 0,
|
||||
'RELATED_ACTIVITIES' => 0,
|
||||
'COMMENTS_WIDGET_MODEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690785fe2cb31',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690785fe2cb31')) {function content_690785fe2cb31($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEWWIDGET']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->key => $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value){
|
||||
$_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->_loop = true;
|
||||
?><?php if (($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value->getLabel()=='Documents')){?><?php $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value, null, 0);?><?php }elseif(($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value->getLabel()=='ModComments')){?><?php $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value, null, 0);?><?php }elseif(($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value->getLabel()=='LBL_UPDATES')){?><?php $_smarty_tpl->tpl_vars['UPDATES_WIDGET_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value, null, 0);?><?php }?><?php } ?><div class="left-block col-lg-5 col-md-5 col-sm-5"><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_KEY_FIELDS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</h4></div><div class="summaryViewFields"><?php echo $_smarty_tpl->tpl_vars['MODULE_SUMMARY']->value;?>
|
||||
</div></div><?php if ($_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value){?><div class="summaryWidgetContainer"><div class="widgetContainer_documents" data-url="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->getUrl();?>
|
||||
" data-name="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->getLabel();?>
|
||||
"><div class="widget_header clearfix"><input type="hidden" name="relatedModule" value="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->get('linkName');?>
|
||||
" /><span class="toggleButton pull-left"><i class="fa fa-angle-down"></i> </span><h4 class="display-inline-block pull-left"><?php echo vtranslate($_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</h4><?php if ($_smarty_tpl->tpl_vars['DOCUMENT_WIDGET_MODEL']->value->get('action')){?><?php $_smarty_tpl->tpl_vars['PARENT_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getId(), null, 0);?><div class="pull-right"><div class="dropdown"><button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="fa fa-plus" title="<?php echo vtranslate('LBL_NEW_DOCUMENT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
"></span> <?php echo vtranslate('LBL_NEW_DOCUMENT','Documents');?>
|
||||
<span class="caret"></span></button><ul class="dropdown-menu"><li class="dropdown-header"><i class="fa fa-upload"></i> <?php echo vtranslate('LBL_FILE_UPLOAD','Documents');?>
|
||||
</li><li id="VtigerAction"><a href="javascript:Documents_Index_Js.uploadTo('Vtiger',<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
,'<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
')"><img style=" margin-top: -3px;margin-right: 4%;" title="Vtiger" alt="Vtiger" src="layouts/v7/skins//images/Vtiger.png"><?php ob_start();?><?php echo vtranslate('LBL_VTIGER','Documents');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php echo vtranslate('LBL_TO_SERVICE','Documents',$_tmp1);?>
|
||||
</a></li><li role="separator" class="divider"></li><li class="dropdown-header"><i class="fa fa-link"></i> <?php echo vtranslate('LBL_LINK_EXTERNAL_DOCUMENT','Documents');?>
|
||||
</li><li id="shareDocument"><a href="javascript:Documents_Index_Js.createDocument('E',<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
,'<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
')"> <i class="fa fa-external-link"></i> <?php ob_start();?><?php echo vtranslate('LBL_FILE_URL','Documents');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo vtranslate('LBL_FROM_SERVICE','Documents',$_tmp2);?>
|
||||
</a></li><li role="separator" class="divider"></li><li id="createDocument"><a href="javascript:Documents_Index_Js.createDocument('W',<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
,'<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
|
||||
')"><i class="fa fa-file-text"></i> <?php ob_start();?><?php echo vtranslate('SINGLE_Documents','Documents');?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo vtranslate('LBL_CREATE_NEW','Documents',$_tmp3);?>
|
||||
</a></li></ul></div></div><?php }?></div><div class="widget_contents"></div></div></div><?php }?></div><div class="middle-block col-lg-7"><div id="relatedActivities"><?php echo $_smarty_tpl->tpl_vars['RELATED_ACTIVITIES']->value;?>
|
||||
</div><?php if ($_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value){?><div class="summaryWidgetContainer"><div class="widgetContainer_comments" data-url="<?php echo $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->getUrl();?>
|
||||
" data-name="<?php echo $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->getLabel();?>
|
||||
"><div class="widget_header"><input type="hidden" name="relatedModule" value="<?php echo $_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->get('linkName');?>
|
||||
" /><h4 class="display-inline-block"><?php echo vtranslate($_smarty_tpl->tpl_vars['COMMENTS_WIDGET_MODEL']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</h4></div><div class="widget_contents"></div></div></div><?php }?></div><?php }} ?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:29:27
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/QuickCreate.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1209055364691186475ecf55-46514269%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2d44e412af10bf1d892a1d28b4518b3866e0396c' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/QuickCreate.tpl',
|
||||
1 => 1711810496,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1209055364691186475ecf55-46514269',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SCRIPTS' => 0,
|
||||
'jsModel' => 0,
|
||||
'FILE_LOCATION_TYPE' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911864763588',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911864763588')) {function content_6911864763588($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['jsModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['jsModel']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['SCRIPTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['jsModel']->key => $_smarty_tpl->tpl_vars['jsModel']->value){
|
||||
$_smarty_tpl->tpl_vars['jsModel']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['jsModel']->key;
|
||||
?><script type="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getType();?>
|
||||
" src="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getSrc();?>
|
||||
"></script><?php } ?><?php if ($_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE']->value=='I'){?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("UploadDocument.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("CreateDocument.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var quickcreate_uimeta = (function () {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function (name, property) {if (name && property === undefined) {return fieldInfo[name];}if (name && property) {return fieldInfo[name][property]}},isMandatory: function (name) {if (fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType: function (name) {if (fieldInfo[name]) {return fieldInfo[name].type}return false;}}};})();</script><?php }?></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:05:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/ModalEditAndExport.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:199590597769119cb43cced8-32980975%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2d8e8bf573494b1018783d3e64d85cfc7d080d65' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/ModalEditAndExport.tpl',
|
||||
1 => 1715769098,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '199590597769119cb43cced8-32980975',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FILE_NAME' => 0,
|
||||
'COMMONTEMPLATEIDS' => 0,
|
||||
'RECORDS' => 0,
|
||||
'MODULE' => 0,
|
||||
'TEMPLATE_SELECT' => 0,
|
||||
'PDF_SECTIONS' => 0,
|
||||
'section' => 0,
|
||||
'PDF_CONTENTS' => 0,
|
||||
'templateid' => 0,
|
||||
'DEFAULT_TEMPLATEID' => 0,
|
||||
'pdfcontent' => 0,
|
||||
'PDF_DIVS' => 0,
|
||||
'FONTS_FACES' => 0,
|
||||
'FONTS' => 0,
|
||||
'DOWNLOAD_URL' => 0,
|
||||
'PRINT_ACTION' => 0,
|
||||
'SEND_EMAIL_PDF_ACTION' => 0,
|
||||
'SAVE_AS_DOC_ACTION' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119cb43e1af',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119cb43e1af')) {function content_69119cb43e1af($_smarty_tpl) {?>
|
||||
<div class="modal-dialog modal-lg"><div class="modal-content"><div class="filePreview container-fluid"><div class="modal-header row"><div class="filename col-lg-8"><h4 class="textOverflowEllipsis maxWidth50" title="<?php echo $_smarty_tpl->tpl_vars['FILE_NAME']->value;?>
|
||||
"><b><?php echo vtranslate('LBL_EDIT');?>
|
||||
</b></h4></div><div class="col-lg-1 pull-right"><button type="button" class="close" aria-label="Close" data-dismiss="modal"><span aria-hidden="true" class='fa fa-close'></span></button></div></div><div class="modal-body row" style="height:550px;"><div id="composePDFContainer tabbable ui-sortable"><form class="form-horizontal recordEditView" id="editPDFForm" method="post" action="index.php" enctype="multipart/form-data" name="editPDFForm"><input type="hidden" name="action" id="action" value='CreatePDFFromTemplate' /><input type="hidden" name="module" value="PDFMaker"/><input type="hidden" name="commontemplateid" value='<?php echo $_smarty_tpl->tpl_vars['COMMONTEMPLATEIDS']->value;?>
|
||||
' /><input type="hidden" name="template_ids" value='<?php echo $_smarty_tpl->tpl_vars['COMMONTEMPLATEIDS']->value;?>
|
||||
' /><input type="hidden" name="idslist" value="<?php echo $_smarty_tpl->tpl_vars['RECORDS']->value;?>
|
||||
" /><input type="hidden" name="relmodule" value="<?php echo $_REQUEST['formodule'];?>
|
||||
" /><input type="hidden" name="language" value='<?php echo $_REQUEST['language'];?>
|
||||
' /><input type="hidden" name="pmodule" value="<?php echo $_REQUEST['formodule'];?>
|
||||
" /><input type="hidden" name="pid" value="<?php echo $_REQUEST['record'];?>
|
||||
" /><input type="hidden" name="mode" value="edit" /><input type="hidden" name="print" value="" /><div id='editTemplate'><div class="row"><div class="col-xs-6"><ul class="nav nav-pills"><li class="active" data-type="body"><a data-toggle="tab" href="#pdfbodyTabA" aria-expanded="true"><strong> <?php echo vtranslate('LBL_BODY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><li class="" data-type="header"><a data-toggle="tab" href="#pdfheaderTabA" aria-expanded="true"><strong> <?php echo vtranslate('LBL_HEADER_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><li class="" data-type="footer"><a data-toggle="tab" href="#pdffooterTabA" aria-expanded="true"><strong> <?php echo vtranslate('LBL_FOOTER_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li></ul></div><div class="col-xs-6"><?php echo vtranslate('LBL_TEMPLATE','PDFMaker');?>
|
||||
: <?php echo $_smarty_tpl->tpl_vars['TEMPLATE_SELECT']->value;?>
|
||||
</div></div><br><div class="tab-content"><?php $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['section']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['PDF_SECTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["sections"]['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['section']->key => $_smarty_tpl->tpl_vars['section']->value){
|
||||
$_smarty_tpl->tpl_vars['section']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["sections"]['index']++;
|
||||
?><div id="pdf<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
|
||||
TabA" class="tab-pane <?php ob_start();?><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['sections']['index'];?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1==0){?>active<?php }?>" data-section="<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
|
||||
"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['section']->value;?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['pdfcontent'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pdfcontent']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['templateid'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PDF_CONTENTS']->value[$_tmp2]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['pdfcontent']->key => $_smarty_tpl->tpl_vars['pdfcontent']->value){
|
||||
$_smarty_tpl->tpl_vars['pdfcontent']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['templateid']->value = $_smarty_tpl->tpl_vars['pdfcontent']->key;
|
||||
?><div class="pdfcontent<?php echo $_smarty_tpl->tpl_vars['templateid']->value;?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DEFAULT_TEMPLATEID']->value!=$_smarty_tpl->tpl_vars['templateid']->value){?>hide<?php }?>" id="<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
|
||||
_div<?php echo $_smarty_tpl->tpl_vars['templateid']->value;?>
|
||||
"><textarea name="<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['templateid']->value;?>
|
||||
" id="<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['templateid']->value;?>
|
||||
" style="height:470px" class="inputElement textAreaElement col-lg-12" tabindex="5"><?php echo $_smarty_tpl->tpl_vars['pdfcontent']->value;?>
|
||||
</textarea></div><?php } ?></div><?php } ?></div><?php echo $_smarty_tpl->tpl_vars['PDF_DIVS']->value;?>
|
||||
</div></form></div><div class="hide"><textarea id="ckeditorFontsFaces"><?php echo $_smarty_tpl->tpl_vars['FONTS_FACES']->value;?>
|
||||
</textarea><input type="hidden" id="ckeditorFonts" value="<?php echo $_smarty_tpl->tpl_vars['FONTS']->value;?>
|
||||
"></div></div></div><div class="modal-footer"><div class='clearfix modal-footer-overwrite-style'><div class="row clearfix "><div class=' textAlignCenter col-lg-12 col-md-12 col-sm-12'><button type='submit' class='btn btn-success downloadButton' data-desc="<?php echo $_smarty_tpl->tpl_vars['DOWNLOAD_URL']->value;?>
|
||||
"><?php echo vtranslate('LBL_DOWNLOAD_FILE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button> <?php if ($_smarty_tpl->tpl_vars['PRINT_ACTION']->value=="1"){?><button type='button' class='btn btn-success printButton'><?php echo vtranslate('LBL_PRINT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button> <?php }?><?php if ($_smarty_tpl->tpl_vars['SEND_EMAIL_PDF_ACTION']->value=="1"){?><button type='button' class='btn btn-success sendEmailWithPDF'><?php echo vtranslate('LBL_SEND_EMAIL');?>
|
||||
</button> <?php }?><?php if ($_smarty_tpl->tpl_vars['SAVE_AS_DOC_ACTION']->value=="1"){?><button type='button' class='btn btn-success savePDFToDoc'><?php echo vtranslate('LBL_SAVEASDOC','PDFMaker');?>
|
||||
</button> <?php }?><a class='cancelLink' href="javascript:void(0);" type="reset" data-dismiss="modal"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div></div></div></div></div></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:17
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 19:25:35
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/SummaryWidgets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:18452128626905d0d13ec360-21054471%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1195364182690785ff059e80-21273634%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '18452128626905d0d13ec360-21054471',
|
||||
'nocache_hash' => '1195364182690785ff059e80-21273634',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -25,9 +25,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d142a40',
|
||||
'unifunc' => 'content_690785ff06f87',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d142a40')) {function content_6905d0d142a40($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690785ff06f87')) {function content_690785ff06f87($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-12 14:52:59
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/LayoutEditor/FieldCreate.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:7073765386914751b674810-41319108%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'303b9a91a57d0fbb31009f5ca734d02ee73ce666' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/LayoutEditor/FieldCreate.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '7073765386914751b674810-41319108',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'IS_FIELD_EDIT_MODE' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'SELECTED_MODULE_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'TITLE' => 0,
|
||||
'ADD_TO_BASE_TABLE' => 0,
|
||||
'SOURCE' => 0,
|
||||
'HEADER_FIELDS_COUNT' => 0,
|
||||
'ALL_BLOCK_LABELS' => 0,
|
||||
'BLOCK_MODEL' => 0,
|
||||
'BLOCK_ID' => 0,
|
||||
'ADD_SUPPORTED_FIELD_TYPES' => 0,
|
||||
'FIELD_TYPE' => 0,
|
||||
'FIELD_TYPE_INFO' => 0,
|
||||
'TYPE_INFO' => 0,
|
||||
'TYPE_INFO_VALUE' => 0,
|
||||
'RELATION_MODULE_NAME' => 0,
|
||||
'IS_QUICKCREATE_SUPPORTED' => 0,
|
||||
'IS_NAME_FIELD' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
'NEW_FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6914751b6a876',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6914751b6a876')) {function content_6914751b6a876($_smarty_tpl) {?>
|
||||
|
||||
<div class="modal-dialog createFieldModal modelContainer <?php if (!$_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?>hide<?php }?>"><?php if (!$_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?><?php ob_start();?><?php echo vtranslate('LBL_CREATE_CUSTOM_FIELD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TITLE'] = new Smarty_variable($_tmp1, null, 0);?><?php }else{ ?><?php ob_start();?><?php echo vtranslate('LBL_EDIT_FIELD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value,vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value));?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TITLE'] = new Smarty_variable($_tmp2, null, 0);?><?php }?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['TITLE']->value), 0);?>
|
||||
<div class="modal-content"><form class="form-horizontal createCustomFieldForm"><input type="hidden" name="fieldid" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getId();?>
|
||||
" /><input type="hidden" name="addToBaseTable" value="<?php echo $_smarty_tpl->tpl_vars['ADD_TO_BASE_TABLE']->value;?>
|
||||
" /><input type="hidden" name="_source" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE']->value;?>
|
||||
" /><input type="hidden" name="fieldname" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
|
||||
" /><input type="hidden" id="headerFieldsCount" value="<?php echo $_smarty_tpl->tpl_vars['HEADER_FIELDS_COUNT']->value;?>
|
||||
" /><div class="modal-body model-body-scrollenabled"><?php if (!$_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?><div class="form-group blockControlGroup hide"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_SELECT_BLOCK',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-7"><select class="blockList col-sm-9" name="blockid"><?php $_smarty_tpl->tpl_vars['BLOCK_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['BLOCK_MODEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['BLOCK_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['ALL_BLOCK_LABELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['BLOCK_MODEL']->key => $_smarty_tpl->tpl_vars['BLOCK_MODEL']->value){
|
||||
$_smarty_tpl->tpl_vars['BLOCK_MODEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['BLOCK_ID']->value = $_smarty_tpl->tpl_vars['BLOCK_MODEL']->key;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['BLOCK_MODEL']->value->isAddCustomFieldEnabled()){?><?php if ($_smarty_tpl->tpl_vars['BLOCK_MODEL']->value->get('label')=='LBL_ITEM_DETAILS'&&in_array($_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value,getInventoryModules())){?><?php continue 1?><?php }?><option value="<?php echo $_smarty_tpl->tpl_vars['BLOCK_ID']->value;?>
|
||||
" data-label="<?php echo $_smarty_tpl->tpl_vars['BLOCK_MODEL']->value->get('label');?>
|
||||
"><?php echo vtranslate($_smarty_tpl->tpl_vars['BLOCK_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
</option><?php }?><?php } ?></select></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_SELECT_FIELD_TYPE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-7"><select class="fieldTypesList col-sm-9" name="fieldType" <?php if ($_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?> disabled="disabled"<?php }?>><?php $_smarty_tpl->tpl_vars['FIELD_TYPE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_TYPE']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['ADD_SUPPORTED_FIELD_TYPES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_TYPE']->key => $_smarty_tpl->tpl_vars['FIELD_TYPE']->value){
|
||||
$_smarty_tpl->tpl_vars['FIELD_TYPE']->_loop = true;
|
||||
?><?php if (!$_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value&&$_smarty_tpl->tpl_vars['FIELD_TYPE']->value=='Relation'){?> <?php continue 1?><?php }?><option value="<?php echo $_smarty_tpl->tpl_vars['FIELD_TYPE']->value;?>
|
||||
"<?php if (($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataTypeLabel()==$_smarty_tpl->tpl_vars['FIELD_TYPE']->value)){?>selected='selected'<?php }?><?php $_smarty_tpl->tpl_vars['TYPE_INFO_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['TYPE_INFO_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['TYPE_INFO'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['FIELD_TYPE_INFO']->value[$_smarty_tpl->tpl_vars['FIELD_TYPE']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['TYPE_INFO_VALUE']->key => $_smarty_tpl->tpl_vars['TYPE_INFO_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['TYPE_INFO_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['TYPE_INFO']->value = $_smarty_tpl->tpl_vars['TYPE_INFO_VALUE']->key;
|
||||
?>data-<?php echo $_smarty_tpl->tpl_vars['TYPE_INFO']->value;?>
|
||||
="<?php echo $_smarty_tpl->tpl_vars['TYPE_INFO_VALUE']->value;?>
|
||||
"<?php } ?>><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_TYPE']->value,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</option><?php } ?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_LABEL_NAME',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="redColor">*</span></label><div class="controls col-sm-7"><input type="text" class='inputElement col-sm-9' maxlength="50" <?php if ($_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?>disabled="disabled"<?php }?> name="fieldLabel" value="<?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
" data-rule-required='true' style='width: 75%' /></div></div><?php if (!$_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?><div class="form-group supportedType lengthsupported"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_LENGTH',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="redColor">*</span></label><div class="controls col-sm-7"><input type="text" name="fieldLength" class="inputElement" value="" data-rule-required='true'data-rule-positive="true" data-rule-WholeNumber='true' data-rule-illegal='true' style='width: 75%'/></div></div><div class="form-group supportedType decimalsupported hide"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_DECIMALS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="redColor">*</span></label><div class="controls col-sm-7"><input type="text" name="decimal" class="inputElement" value="" data-rule-required='true' style='width: 75%'/></div></div><div class="form-group supportedType preDefinedValueExists hide"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_PICKLIST_VALUES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="redColor">*</span></label><div class="controls col-sm-7"><input type="text" id="picklistUi" class="col-sm-9 select2" name="pickListValues"placeholder="<?php echo vtranslate('LBL_ENTER_PICKLIST_VALUES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" data-rule-required='true'data-rule-picklist='true'/></div></div><div class="form-group supportedType picklistOption hide"><label class="control-label fieldLabel col-sm-5"> </label><div class="controls col-sm-7"><div class="checkbox row" style="margin-left: 5px;"><span class="col-sm-1"><input type="checkbox" name="isRoleBasedPickList" value="1" ></span><span style="margin-left: -10px;"><?php echo vtranslate('LBL_ROLE_BASED_PICKLIST',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</span></div></div></div><div class="form-group supportedType relationModules hide"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('SELECT_MODULE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="redColor">*</span></label><div class="controls col-sm-7"><select class="col-sm-6 relationModule" name="relationmodule[]" multiple data-rule-required='true'><?php $_smarty_tpl->tpl_vars['RELATION_MODULE_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FIELD_TYPE_INFO']->value['Relation']['relationModules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->key => $_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->value){
|
||||
$_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->_loop = true;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->value;?>
|
||||
"><?php echo vtranslate($_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['RELATION_MODULE_NAME']->value);?>
|
||||
</option><?php } ?></select></div></div><?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()!='reference'){?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('DefaultValueUi.tpl',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value), 0);?>
|
||||
<?php }?><?php if ($_smarty_tpl->tpl_vars['IS_FIELD_EDIT_MODE']->value){?><div class="form-group"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_SHOW_FIELD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-7"><input type="hidden" name="presence" value="1"/><label class="checkbox"><input type="checkbox" class ='cursorPointer bootstrap-switch' id="fieldPresence" name="presence" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isViewable()){?> checked <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isActiveOptionDisabled()){?> readonly="readonly" <?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()){?> readonly="readonly" <?php }?>data-on-text="<?php echo vtranslate('LBL_YES');?>
|
||||
" data-off-text="<?php echo vtranslate("LBL_NO");?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('presence');?>
|
||||
"/></label></div></div><?php }else{ ?><input type="hidden" name="presence" value="2" /><?php }?><div class="well fieldProperty"><div class="properties"><div class="row"><div class="form-group"><label class="control-label fieldLabel col-sm-5"><?php echo vtranslate('LBL_ENABLE_OR_DISABLE_FIELD_PROP',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label></div></div><div class="row"><div class="form-group col-sm-7"><label class="control-label fieldLabel col-sm-10"><i class="fa fa-exclamation-circle"></i> <?php echo vtranslate('LBL_MANDATORY_FIELD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-2"><input type="hidden" name="mandatory" value="O"/><label class="checkbox" style="margin-left: 6%;"><input type="checkbox" name="mandatory" class="<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatoryOptionDisabled()){?> cursorPointerNotAllowed <?php }else{ ?> cursorPointer<?php }?>" value="M" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()){?> checked="checked" <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatoryOptionDisabled()){?>readonly="readonly"<?php }?>/></label></div></div><div class="form-group col-sm-6"><label class="control-label fieldLabel col-sm-7"><i class="fa fa-plus"></i> <?php echo vtranslate('LBL_QUICK_CREATE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-5"><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isQuickCreateOptionDisabled()){?><input type="hidden" name="quickcreate" value=<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('quickcreate');?>
|
||||
/><?php }else{ ?><input type="hidden" name="quickcreate" value="1" /><?php }?><?php $_smarty_tpl->tpl_vars["IS_QUICKCREATE_SUPPORTED"] = new Smarty_variable(($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getModule()->isQuickCreateSupported()), null, 0);?><input type="hidden" name="isquickcreatesupported" value="<?php echo $_smarty_tpl->tpl_vars['IS_QUICKCREATE_SUPPORTED']->value;?>
|
||||
"><label class="checkbox" style="margin-left: 9%;"><input type="checkbox" class="<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isQuickCreateOptionDisabled()){?> cursorPointerNotAllowed <?php }else{ ?> cursorPointer<?php }?>" name="quickcreate" value="2" <?php if (($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('quickcreate')=='2'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory())&&$_smarty_tpl->tpl_vars['IS_QUICKCREATE_SUPPORTED']->value){?> checked="checked"<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isQuickCreateOptionDisabled()){?>readonly="readonly"<?php }?>/></label></div></div></div><div class="row"><div class="form-group col-sm-7"><label class="control-label fieldLabel col-sm-10"><i class="fa fa-key"></i> <?php echo vtranslate('LBL_KEY_FIELD_VIEW',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-2"><input type="hidden" name="summaryfield" value="0"/><label class="checkbox" style="margin-left: 6%;"><input type="checkbox" class="<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isSummaryFieldOptionDisabled()){?> cursorPointerNotAllowed <?php }else{ ?> cursorPointer<?php }?>" name="summaryfield" value="1" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('summaryfield')=='1'){?>checked="checked"<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isSummaryFieldOptionDisabled()){?>readonly="readonly"<?php }?> /></label></div></div><div class="form-group col-sm-6"><label class="control-label fieldLabel col-sm-7"><i class="fa fa-flag-o"></i> <span><?php echo vtranslate('LBL_HEADER_FIELD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</span></label><div class="controls col-sm-5"><input type="hidden" name="headerfield" value="0"/><label class="checkbox" style="margin-left: 9%;"><input type="checkbox" class="<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isHeaderFieldOptionDisabled()){?> cursorPointerNotAllowed <?php }else{ ?> cursorPointer<?php }?>" name="headerfield" value="1" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('headerfield')=='1'){?>checked="checked"<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isHeaderFieldOptionDisabled()||$_smarty_tpl->tpl_vars['IS_NAME_FIELD']->value){?>readonly="readonly"<?php }?> /></label></div></div></div><div class="row"><div class="form-group col-sm-7"><label class="control-label fieldLabel col-sm-10"><img src="<?php echo vimage_path('MassEdit.png');?>
|
||||
" height=14 width=14/> <?php echo vtranslate('LBL_MASS_EDIT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-sm-2"><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMassEditOptionDisabled()){?><input type="hidden" name="masseditable" value=<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('masseditable');?>
|
||||
/><?php }else{ ?><input type="hidden" name="masseditable" value="2" /><?php }?><label class="checkbox" style="margin-left: 6%;"><input type="checkbox" class="<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMassEditOptionDisabled()){?> cursorPointerNotAllowed <?php }else{ ?> cursorPointer<?php }?>" name="masseditable" value="1" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('masseditable')=='1'){?>checked="checked" <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMassEditOptionDisabled()){?>readonly="readonly"<?php }?>/></label></div></div><?php $_smarty_tpl->tpl_vars['IS_UITYPE_19_ENABLED'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isCKEEnabled(), null, 0);?><div class="form-group uitype19 col-sm-6 hide"><label class="control-label fieldLabel col-sm-7"><i class="fa fa-pencil"></i> <span><?php echo vtranslate('LBL_CKE_FIELD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</span></label><div class="controls col-sm-5"><input type="hidden" name="uitype19field" value="0"/><label class="checkbox" style="margin-left: 9%;"><input type="checkbox" class="cursorPointer" name="uitype19field" value="1" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isCKEEnabled()=='1'){?>checked="checked"<?php }?>/></label></div></div></div></div></div></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ModalFooter.tpl','Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</form></div><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!='[]'){?><script type="text/javascript">var uimeta = (function () {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;var newFieldInfo = <?php echo $_smarty_tpl->tpl_vars['NEW_FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function (name, property) {if (name && property === undefined) {return fieldInfo[name];}if (name && property) {return fieldInfo[name][property]}},isMandatory: function (name) {if (fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType: function (name) {if (fieldInfo[name]) {return fieldInfo[name].type}return false;},getNewFieldInfo: function () {if (newFieldInfo['newfieldinfo']) {return newFieldInfo['newfieldinfo']}return false;}},};})();</script><?php }?></div><?php }} ?>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewRecordActions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:44679004869077c099bc074-90762635%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3065a97908f31faf4f1c354525759a2091d302dd' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewRecordActions.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '44679004869077c099bc074-90762635',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SEARCH_MODE_RESULTS' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'QUICK_PREVIEW_ENABLED' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'MODULE' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'STARRED' => 0,
|
||||
'RECORD_ACTIONS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69077c099ca81',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69077c099ca81')) {function content_69077c099ca81($_smarty_tpl) {?>
|
||||
<!--LIST VIEW RECORD ACTIONS--><div class="table-actions"><?php if (!$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?><span class="input" ><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" class="listViewEntriesCheckBox"/></span><?php }?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRaw('starred')==1){?><?php $_smarty_tpl->tpl_vars['STARRED'] = new Smarty_variable(true, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['STARRED'] = new Smarty_variable(false, null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['QUICK_PREVIEW_ENABLED']->value=='true'){?><span><a class="quickView fa fa-eye icon action" data-app="<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
" title="<?php echo vtranslate('LBL_QUICK_VIEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"></a></span><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isStarredEnabled()){?><span><a class="markStar fa icon action <?php if ($_smarty_tpl->tpl_vars['STARRED']->value){?> fa-star active <?php }else{ ?> fa-star-o<?php }?>" title="<?php if ($_smarty_tpl->tpl_vars['STARRED']->value){?> <?php echo vtranslate('LBL_FOLLOWING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }else{ ?> <?php echo vtranslate('LBL_NOT_FOLLOWING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?>"></a></span><?php }?><span class="more dropdown action"><span href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v icon"></i></span><ul class="dropdown-menu"><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" href="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getFullDetailViewUrl();?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><?php echo vtranslate('LBL_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li><?php if ($_smarty_tpl->tpl_vars['RECORD_ACTIONS']->value){?><?php if ($_smarty_tpl->tpl_vars['RECORD_ACTIONS']->value['edit']){?><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" href="javascript:void(0);" data-url="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getEditViewUrl();?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
" name="editlink"><?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li><?php }?><?php if ($_smarty_tpl->tpl_vars['RECORD_ACTIONS']->value['delete']){?><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" href="javascript:void(0);" class="deleteRecordButton"><?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li><?php }?><?php }?></ul></span><div class="btn-group inline-save hide"><button class="button btn-success btn-small save" type="button" name="save"><i class="fa fa-check"></i></button><button class="button btn-danger btn-small cancel" type="button" name="Cancel"><i class="fa fa-close"></i></button></div></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:49:06
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/PopupNavigation.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:90696868169118ae2280f68-19699596%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'30816a1cce90eb0cbda24e3926fd2245acb20911' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/PopupNavigation.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '90696868169118ae2280f68-19699596',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MULTI_SELECT' => 0,
|
||||
'LISTVIEW_ENTRIES' => 0,
|
||||
'MODULE' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118ae228693',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118ae228693')) {function content_69118ae228693($_smarty_tpl) {?>
|
||||
|
||||
<div class="col-md-2"><?php if ($_smarty_tpl->tpl_vars['MULTI_SELECT']->value){?><?php if (!empty($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES']->value)){?><button class="select btn btn-default" disabled="disabled"><strong><?php echo vtranslate('LBL_ADD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button><?php }?><?php }else{ ?> <?php }?></div><div class="col-md-10"><?php $_smarty_tpl->tpl_vars['RECORD_COUNT'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value, null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Pagination.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SHOWPAGEJUMP'=>true), 0);?>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,194 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 22:07:46
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskStart.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:145883873469123802ddd8d3-59404016%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3520cc4c08aff3d5dd0a887fc61c00be04fca3d2' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskStart.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '145883873469123802ddd8d3-59404016',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MOD' => 0,
|
||||
'task' => 0,
|
||||
'trigger' => 0,
|
||||
'keyLabel' => 0,
|
||||
'triggerlist' => 0,
|
||||
'triggerData' => 0,
|
||||
'timezones' => 0,
|
||||
'tzkey' => 0,
|
||||
'label' => 0,
|
||||
'formGenerator' => 0,
|
||||
'conditionalContent' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69123802def54',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69123802def54')) {function content_69123802def54($_smarty_tpl) {?><table border="0" cellpadding="5" cellspacing="0" width="100%" class="newTable small">
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_RUNTIME_WORKFLOW'];?>
|
||||
</td>
|
||||
<td class='dvtCellInfo'>
|
||||
<select name="task[start]" class="select2" style="width:350px;">
|
||||
<option value="synchron" <?php if ($_smarty_tpl->tpl_vars['task']->value['start']=="synchron"){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_SYNCHRONOUS'];?>
|
||||
</option>
|
||||
<option value="asynchron" <?php if ($_smarty_tpl->tpl_vars['task']->value['start']=="asynchron"){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_ASYNCHRONOUS'];?>
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_START_CONDITION'];?>
|
||||
</td>
|
||||
<td class='dvtCellInfo'>
|
||||
<select name="task[runtime]" id="runtimeSelection" class="select2" style="width:350px;float:left;margin-right:10px;">
|
||||
<?php $_smarty_tpl->tpl_vars['triggerlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['triggerlist']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['keyLabel'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['trigger']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['triggerlist']->key => $_smarty_tpl->tpl_vars['triggerlist']->value){
|
||||
$_smarty_tpl->tpl_vars['triggerlist']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['keyLabel']->value = $_smarty_tpl->tpl_vars['triggerlist']->key;
|
||||
?>
|
||||
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['keyLabel']->value;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['triggerData'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['triggerData']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['trigger'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['triggerlist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['triggerData']->key => $_smarty_tpl->tpl_vars['triggerData']->value){
|
||||
$_smarty_tpl->tpl_vars['triggerData']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['trigger']->value = $_smarty_tpl->tpl_vars['triggerData']->key;
|
||||
?>
|
||||
<option data-description="<?php echo $_smarty_tpl->tpl_vars['triggerData']->value['description'];?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['trigger']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['task']->value['runtime']==$_smarty_tpl->tpl_vars['trigger']->value){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['triggerData']->value['label'];?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</optgroup>
|
||||
<?php } ?>
|
||||
|
||||
</select>
|
||||
<div id="triggerDescription"></div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_PARALLEL_ALLOWED'];?>
|
||||
</td>
|
||||
<td class='dvtCellInfo'>
|
||||
<select name="task[runtime2]" class="select2" style="width:350px;">
|
||||
<option value="2" <?php if ($_smarty_tpl->tpl_vars['task']->value['runtime2']=="2"){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_PARALLEL_NOT_ALLOW'];?>
|
||||
</option>
|
||||
<option value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['runtime2']=="1"){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_PARALLEL_ALLOW'];?>
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><?php echo vtranslate('use this Timezone for workflow','Settings:Workflow2');?>
|
||||
</td>
|
||||
<td class='dvtCellInfo'>
|
||||
<select name="task[timezone]" class="select2" style="width:350px;" placeholder="<?php echo vtranslate('Do not modify timezone','Settings:Workflow2');?>
|
||||
">
|
||||
<option value=""></option>
|
||||
<?php $_smarty_tpl->tpl_vars['label'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['label']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['tzkey'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['timezones']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['label']->key => $_smarty_tpl->tpl_vars['label']->value){
|
||||
$_smarty_tpl->tpl_vars['label']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['tzkey']->value = $_smarty_tpl->tpl_vars['label']->key;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['tzkey']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['task']->value['timezone']==$_smarty_tpl->tpl_vars['tzkey']->value){?>selected="selected"<?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['label']->value,'Users');?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><input type="checkbox" name="task[execute_only_once_per_record]" value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['execute_only_once_per_record']==true){?>checked="checked"<?php }?> /></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<?php echo vtranslate('LBL_EXECUTE_WORKFLOW_ONLY_ONCE_PER_RECORD','Settings:Workflow2');?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><input type="checkbox" name="task[withoutrecord]" value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['withoutrecord']==true){?>checked="checked"<?php }?> /></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<?php echo vtranslate('allow execution without a related record','Settings:Workflow2');?>
|
||||
(<strong><?php echo vtranslate('read documentation for more information','Settings:Workflow2');?>
|
||||
</strong>)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' valign="top" align="right" width=15% nowrap="nowrap"><input type="checkbox" name="task[collection_process]" value="1" onclick="jQuery('#collection_variable_div').css('display', jQuery(this).prop('checked') ? 'block' : 'none');" <?php if ($_smarty_tpl->tpl_vars['task']->value['collection_process']==true){?>checked="checked"<?php }?> /></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<?php echo vtranslate('execute process only once with all checked records in listview','Settings:Workflow2');?>
|
||||
(<strong><?php echo vtranslate('read documentation for more information','Settings:Workflow2');?>
|
||||
</strong>)
|
||||
<div style="display:<?php if ($_smarty_tpl->tpl_vars['task']->value['collection_process']==true){?>block<?php }else{ ?>none<?php }?>" id="collection_variable_div">
|
||||
<?php echo vtranslate('Inject all Record IDs within this $env Variable','Workflow2');?>
|
||||
: <input type="text" name="task[collection_variable]" value="<?php echo $_smarty_tpl->tpl_vars['task']->value['collection_variable'];?>
|
||||
" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><input type="checkbox" name="task[nologging]" value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['nologging']==true){?>checked="checked"<?php }?> /></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<?php echo vtranslate('Do not store execution log of this workflow in statistics.','Settings:Workflow2');?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<!--
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=15% nowrap="nowrap"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_USER_EXECUTE'];?>
|
||||
</td>
|
||||
<td class='dvtCellInfo'>
|
||||
<select name="task[execution_user]">
|
||||
<option value="0x0" <?php if ($_smarty_tpl->tpl_vars['task']->value['execution_user']=="0x0"){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_START_USER'];?>
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
</table>
|
||||
<?php if ($_smarty_tpl->tpl_vars['task']->value['runtime']!='WF2_FRONTENDTRIGGER'){?>
|
||||
<h5 class="big" style="padding:5px;"><strong><?php echo $_smarty_tpl->tpl_vars['MOD']->value['HEAD_STARTVARIABLE_REQUEST'];?>
|
||||
</strong></h5>
|
||||
<p style="margin:5px;" class="small"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['INFO_STARTVARIABLE'];?>
|
||||
</p>
|
||||
<div style='margin:2px;border:1px solid #ccc;padding:3px;'>
|
||||
<?php echo $_smarty_tpl->tpl_vars['formGenerator']->value;?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php }else{ ?>
|
||||
<br/>
|
||||
<p style="text-align:center;font-style: italic;">Request values is not yet supported in Frontend Worklfows.</p>
|
||||
<?php }?>
|
||||
|
||||
<div class="big" style="padding:5px;line-height:30px;"><strong><?php echo $_smarty_tpl->tpl_vars['MOD']->value['HEAD_VISIBLE_CONDITION'];?>
|
||||
</strong>
|
||||
<label class="pull-right">
|
||||
<input style="display:inline;" type="checkbox" class="rcSwitch doInit" name="task[view_condition_lv]" <?php if ($_smarty_tpl->tpl_vars['task']->value['view_condition_lv']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('Apply this condition in any situation to prevent execution','Settings:Workflow2');?>
|
||||
|
||||
<a href="https://support.redoo-networks.com/documentation/tasks/start/" target="_blank">
|
||||
<img src='modules/Workflow2/icons/question.png' border="0">
|
||||
</a>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<?php echo $_smarty_tpl->tpl_vars['conditionalContent']->value;?>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Project/SummaryViewWidgets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:12834546996905d07274bd86-53794247%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1140972515690777d82aa6a6-96475623%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '12834546996905d07274bd86-53794247',
|
||||
'nocache_hash' => '1140972515690777d82aa6a6-96475623',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -44,9 +44,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0727ada5',
|
||||
'unifunc' => 'content_690777d82e982',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0727ada5')) {function content_6905d0727ada5($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d82e982')) {function content_690777d82e982($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEWWIDGET']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/SidebarHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1880503402691182472515a5-30509220%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'37dfe6ec8e82bf1df291a861a3ad62a0c04e1031' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/SidebarHeader.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1880503402691182472515a5-30509220',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118247253ef',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118247253ef')) {function content_69118247253ef($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['APP_IMAGE_MAP'] = new Smarty_variable(Vtiger_MenuStructure_Model::getAppIcons(), null, 0);?>
|
||||
<div class="col-sm-12 col-xs-12 app-indicator-icon-container app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
">
|
||||
<div class="row" title="<?php echo vtranslate("LBL_SETTINGS",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
">
|
||||
<span class="app-indicator-icon fa fa-cog"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/SidebarAppMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewPreProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:6925159696905d0723e0099-34343707%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:337654842690777d7f27ba4-53253091%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '6925159696905d0723e0099-34343707',
|
||||
'nocache_hash' => '337654842690777d7f27ba4-53253091',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -22,9 +22,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0724132a',
|
||||
'unifunc' => 'content_690777d7f317d',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0724132a')) {function content_6905d0724132a($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d7f317d')) {function content_690777d7f317d($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:50:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ModComments/FilePreview.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:86322032069118b20deed04-30403097%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3a9aad4188b12f22e6198092a6909e94e5efde00' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ModComments/FilePreview.tpl',
|
||||
1 => 1758700388,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '86322032069118b20deed04-30403097',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FILE_NAME' => 0,
|
||||
'FILE_TYPE' => 0,
|
||||
'VIEW_URL' => 0,
|
||||
'RECORD_ID' => 0,
|
||||
'ATTACHMENT_ID' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118b20df9cd',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118b20df9cd')) {function content_69118b20df9cd($_smarty_tpl) {?>
|
||||
<div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title"><?php echo vtranslate('LBL_FILE_PREVIEW','ModComments');?>
|
||||
: <?php echo $_smarty_tpl->tpl_vars['FILE_NAME']->value;?>
|
||||
</h4></div><div class="modal-body"><div class="row"><div class="col-md-12"><?php if (strpos($_smarty_tpl->tpl_vars['FILE_TYPE']->value,'image/')===0){?><img src="<?php echo $_smarty_tpl->tpl_vars['VIEW_URL']->value;?>
|
||||
" class="img-responsive" style="max-width: 100%; height: auto;" /><?php }elseif($_smarty_tpl->tpl_vars['FILE_TYPE']->value=='application/pdf'){?><iframe src="<?php echo $_smarty_tpl->tpl_vars['VIEW_URL']->value;?>
|
||||
" width="100%" height="600px" style="border: none;"><p>Ваш браузер не поддерживает iframe. <a href="<?php echo $_smarty_tpl->tpl_vars['VIEW_URL']->value;?>
|
||||
" target="_blank">Открыть файл в новом окне</a></p></iframe><?php }elseif(strpos($_smarty_tpl->tpl_vars['FILE_TYPE']->value,'text/')===0){?><iframe src="<?php echo $_smarty_tpl->tpl_vars['VIEW_URL']->value;?>
|
||||
" width="100%" height="400px" style="border: 1px solid #ccc;"><p>Ваш браузер не поддерживает iframe. <a href="<?php echo $_smarty_tpl->tpl_vars['VIEW_URL']->value;?>
|
||||
" target="_blank">Открыть файл в новом окне</a></p></iframe><?php }else{ ?><div class="alert alert-info"><h4>Предварительный просмотр недоступен</h4><p>Файл типа <strong><?php echo $_smarty_tpl->tpl_vars['FILE_TYPE']->value;?>
|
||||
</strong> не может быть отображен в браузере.</p><p><a href="index.php?module=ModComments&action=DownloadFile&record=<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
&fileid=<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT_ID']->value;?>
|
||||
" class="btn btn-primary"><i class="fa fa-download"></i> Скачать файл</a></p></div><?php }?></div></div></div><div class="modal-footer"><div class="pull-left"><a href="index.php?module=ModComments&action=DownloadFile&record=<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
&fileid=<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT_ID']->value;?>
|
||||
" class="btn btn-default"><i class="fa fa-download"></i> <?php echo vtranslate('LBL_DOWNLOAD_FILE','ModComments');?>
|
||||
</a></div><button type="button" class="btn btn-default" data-dismiss="modal"><?php echo vtranslate('LBL_CLOSE','ModComments');?>
|
||||
</button></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-12 14:51:27
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/uitypes/Text.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1803023567691474bf02e575-30974412%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3b0857c5e0550a931154615ead2498efb657e145' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/uitypes/Text.tpl',
|
||||
1 => 1711810496,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1803023567691474bf02e575-30974412',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691474bf04835',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691474bf04835')) {function content_691474bf04835($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo()), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='20'){?><textarea rows="3" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" class="inputElement textAreaElement col-lg-12 <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isCKEEnabled()){?>sp_cke_field<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="notecontent"){?>id="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
"<?php }?> data-validation-engine="validate[<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?>required,<?php }?>funcCall[Vtiger_Base_Validator_Js.invokeValidation]]" data-fieldinfo='<?php echo $_smarty_tpl->tpl_vars['FIELD_INFO']->value;?>
|
||||
' <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator=<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
<?php }?>><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
</textarea><?php }else{ ?><textarea rows="5" class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" data-validation-engine="validate[<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?>required,<?php }?>funcCall[Vtiger_Base_Validator_Js.invokeValidation]]" data-fieldinfo='<?php echo $_smarty_tpl->tpl_vars['FIELD_INFO']->value;?>
|
||||
' <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator=<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
<?php }?>><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
</textarea><?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value!='Webforms'&&$_REQUEST['view']!='Detail'){?><?php if ($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="bill_street"){?><div><a class="cursorPointer" name="copyAddress" data-target="shipping"><?php echo vtranslate('LBL_COPY_SHIPPING_ADDRESS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div><?php }elseif($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="ship_street"){?><div><a class="cursorPointer" name="copyAddress" data-target="billing"><?php echo vtranslate('LBL_COPY_BILLING_ADDRESS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div><?php }?><?php }?><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:03:16
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/partials/EditViewContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:42426350769119c4404d538-75859588%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3bca61c53d8f473e2879fd11495818b6b051f34d' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/partials/EditViewContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '42426350769119c4404d538-75859588',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
|
||||
'DUPLICATE_RECORDS' => 0,
|
||||
'MODULE' => 0,
|
||||
'RECORD_STRUCTURE' => 0,
|
||||
'BLOCK_LABEL' => 0,
|
||||
'BLOCK_FIELDS' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'refrenceList' => 0,
|
||||
'COUNTER' => 0,
|
||||
'isReferenceField' => 0,
|
||||
'refrenceListCount' => 0,
|
||||
'REFERENCED_MODULE_ID' => 0,
|
||||
'REFERENCED_MODULE_STRUCTURE' => 0,
|
||||
'value' => 0,
|
||||
'REFERENCED_MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119c44070df',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119c44070df')) {function content_69119c44070df($_smarty_tpl) {?>
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
|
||||
' /><?php }?><div name='editContent'><?php if ($_smarty_tpl->tpl_vars['DUPLICATE_RECORDS']->value){?><div class="fieldBlockContainer duplicationMessageContainer"><div class="duplicationMessageHeader"><b><?php echo vtranslate('LBL_DUPLICATES_DETECTED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</b></div><div><?php echo getDuplicatesPreventionMessage($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['DUPLICATE_RECORDS']->value);?>
|
||||
</div></div><?php }?><?php $_smarty_tpl->tpl_vars['BLOCK_FIELDS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['BLOCK_LABEL'] = 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['BLOCK_FIELDS']->key => $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value){
|
||||
$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['BLOCK_LABEL']->value = $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->key;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['BLOCK_LABEL']->value=='LBL_ITEM_DETAILS'){?><?php continue 1?><?php }?><?php if (count($_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value)>0){?><div class='fieldBlockContainer' data-block="<?php echo $_smarty_tpl->tpl_vars['BLOCK_LABEL']->value;?>
|
||||
"><h4 class='fieldBlockHeader'><?php echo vtranslate($_smarty_tpl->tpl_vars['BLOCK_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4><hr><table class="table table-borderless <?php if ($_smarty_tpl->tpl_vars['BLOCK_LABEL']->value=='LBL_ADDRESS_INFORMATION'){?> addressBlock<?php }?>"><?php if (($_smarty_tpl->tpl_vars['BLOCK_LABEL']->value=='LBL_ADDRESS_INFORMATION')&&($_smarty_tpl->tpl_vars['MODULE']->value!='PurchaseOrder')){?><tr><td class="fieldLabel " name="copyHeader1"><label name="togglingHeader"><?php echo vtranslate('LBL_BILLING_ADDRESS_FROM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></td><td class="fieldValue" name="copyAddress1"><div class="radio"><label><input type="radio" name="copyAddressFromRight" class="accountAddress" data-copy-address="billing" checked="checked"> <?php echo vtranslate('SINGLE_Accounts',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="radio"><label><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Quotes'){?><input type="radio" name="copyAddressFromRight" class="contactAddress" data-copy-address="billing" checked="checked"> <?php echo vtranslate('Related To',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }else{ ?><input type="radio" name="copyAddressFromRight" class="contactAddress" data-copy-address="billing" checked="checked"> <?php echo vtranslate('SINGLE_Contacts',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?></label></div><div class="radio" name="togglingAddressContainerRight"><label><input type="radio" name="copyAddressFromRight" class="shippingAddress" data-target="shipping" checked="checked"> <?php echo vtranslate('Shipping Address',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="radio hide" name="togglingAddressContainerLeft"><label><input type="radio" name="copyAddressFromRight" class="billingAddress" data-target="billing" checked="checked"> <?php echo vtranslate('Billing Address',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div></td><td class="fieldLabel" name="copyHeader2"><label name="togglingHeader"><?php echo vtranslate('LBL_SHIPPING_ADDRESS_FROM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></td><td class="fieldValue" name="copyAddress2"><div class="radio"><label><input type="radio" name="copyAddressFromLeft" class="accountAddress" data-copy-address="shipping" checked="checked"> <?php echo vtranslate('SINGLE_Accounts',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="radio"><label><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Quotes'){?><input type="radio" name="copyAddressFromLeft" class="contactAddress" data-copy-address="shipping" checked="checked"> <?php echo vtranslate('Related To',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }else{ ?><input type="radio" name="copyAddressFromLeft" class="contactAddress" data-copy-address="shipping" checked="checked"> <?php echo vtranslate('SINGLE_Contacts',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?></label></div><div class="radio" name="togglingAddressContainerLeft"><label><input type="radio" name="copyAddressFromLeft" class="billingAddress" data-target="billing" checked="checked"> <?php echo vtranslate('Billing Address',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="radio hide" name="togglingAddressContainerRight"><label><input type="radio" name="copyAddressFromLeft" class="shippingAddress" data-target="shipping" checked="checked"> <?php echo vtranslate('Shipping Address',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div></td></tr><?php }?><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->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['BLOCK_FIELDS']->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;
|
||||
?><?php $_smarty_tpl->tpl_vars["isReferenceField"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?><?php $_smarty_tpl->tpl_vars["refrenceList"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getReferenceList(), null, 0);?><?php $_smarty_tpl->tpl_vars["refrenceListCount"] = new Smarty_variable(count($_smarty_tpl->tpl_vars['refrenceList']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()==true){?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value=='1'){?><td></td><td></td></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?><?php }?><td class="fieldLabel alignMiddle"><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value=="reference"){?><?php if ($_smarty_tpl->tpl_vars['refrenceListCount']->value>1){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_ID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_STRUCTURE"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getReferenceModule($_smarty_tpl->tpl_vars['REFERENCED_MODULE_ID']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCTURE']->value)){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCTURE']->value->get('name'), null, 0);?><?php }?><select style="width: 140px;" class="select2 referenceModulesList"><?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['refrenceList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
|
||||
$_smarty_tpl->tpl_vars['value']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['value']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl->tpl_vars['value']->value);?>
|
||||
</option><?php } ?></select><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?> </td><td class="fieldValue" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='boolean'){?> style="width:25%" <?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'){?> colspan="3" <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> <?php }?>><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='image'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='file'){?><div class='col-lg-4 col-md-4 redColor'><?php echo vtranslate('LBL_NOTE_EXISTING_ATTACHMENTS_WILL_BE_REPLACED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><?php }?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php }?><?php } ?><?php if ((1 & $_smarty_tpl->tpl_vars['COUNTER']->value)){?><td></td><td></td><?php }?></tr></table></div><?php }?><?php } ?></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/LineItemsEdit.tpl",'Inventory'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:42:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EditView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15739305066911893c209e48-81599969%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3d9b2aa42832df0ade6a8224ee211a5e388711d6' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EditView.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15739305066911893c209e48-81599969',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'LEFTPANELHIDE' => 0,
|
||||
'RECORD_ID' => 0,
|
||||
'SINGLE_MODULE_NAME' => 0,
|
||||
'RECORD_STRUCTURE_MODEL' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'IS_PARENT_EXISTS' => 0,
|
||||
'SPLITTED_MODULE' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'MODE' => 0,
|
||||
'IS_RELATION_OPERATION' => 0,
|
||||
'SOURCE_MODULE' => 0,
|
||||
'SOURCE_RECORD' => 0,
|
||||
'RETURN_VIEW' => 0,
|
||||
'RETURN_MODULE' => 0,
|
||||
'RETURN_RECORD' => 0,
|
||||
'RETURN_RELATED_TAB' => 0,
|
||||
'RETURN_RELATED_MODULE' => 0,
|
||||
'RETURN_PAGE' => 0,
|
||||
'RETURN_VIEW_NAME' => 0,
|
||||
'RETURN_SEARCH_PARAMS' => 0,
|
||||
'RETURN_SEARCH_KEY' => 0,
|
||||
'RETURN_SEARCH_VALUE' => 0,
|
||||
'RETURN_SEARCH_OPERATOR' => 0,
|
||||
'RETURN_SORTBY' => 0,
|
||||
'RETURN_ORDERBY' => 0,
|
||||
'RETURN_MODE' => 0,
|
||||
'RETURN_RELATION_ID' => 0,
|
||||
'RETURN_PARENT_MODULE' => 0,
|
||||
'DUPLICATE_RECORDS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911893c22c43',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911893c22c43')) {function content_6911893c22c43($_smarty_tpl) {?>
|
||||
|
||||
<div class="main-container clearfix"><div id="modnavigator" class="module-nav editViewModNavigator"><div class="hidden-xs hidden-sm mod-switcher-container"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/Menubar.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div><div class="editViewPageDiv viewContent"><div class="col-sm-12 col-xs-12 content-area <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> full-width <?php }?>"><form class="form-horizontal recordEditView" id="EditView" name="edit" method="post" action="index.php" enctype="multipart/form-data"><div class="editViewHeader"><div class='row'><div class="col-lg-12 col-md-12 col-lg-pull-0"><?php $_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME'] = new Smarty_variable(('SINGLE_').($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Calendar'){?><?php $_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME'] = new Smarty_variable('LBL_TASK', null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['RECORD_ID']->value!=''){?><h4 class="editHeader" style="margin-top:5px;" title="<?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getRecordName();?>
|
||||
"><?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
- <?php echo $_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getRecordName();?>
|
||||
</h4><?php }else{ ?><h4 class="editHeader" style="margin-top:5px;"><?php echo vtranslate('LBL_CREATING_NEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4><?php }?></div></div></div><div class="editViewBody"><div class="editViewContents"><?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['QUALIFIED_MODULE_NAME'] = new Smarty_variable($_tmp1, null, 0);?><?php $_smarty_tpl->tpl_vars['IS_PARENT_EXISTS'] = new Smarty_variable(strpos($_smarty_tpl->tpl_vars['MODULE']->value,":"), null, 0);?><?php if ($_smarty_tpl->tpl_vars['IS_PARENT_EXISTS']->value){?><?php $_smarty_tpl->tpl_vars['SPLITTED_MODULE'] = new Smarty_variable(explode(":",$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['SPLITTED_MODULE']->value[1];?>
|
||||
" /><input type="hidden" name="parent" value="<?php echo $_smarty_tpl->tpl_vars['SPLITTED_MODULE']->value[0];?>
|
||||
" /><?php }else{ ?><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
" /><?php }?><input type="hidden" name="action" value="Save" /><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
" /><input type="hidden" name="defaultCallDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('callduration');?>
|
||||
" /><input type="hidden" name="defaultOtherEventDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('othereventduration');?>
|
||||
" /><input type="hidden" name="appName" value="&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
" /><input type="hidden" name="mode" value="<?php echo $_smarty_tpl->tpl_vars['MODE']->value;?>
|
||||
"/><?php if ($_smarty_tpl->tpl_vars['IS_RELATION_OPERATION']->value){?><input type="hidden" name="sourceModule" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_MODULE']->value;?>
|
||||
" /><input type="hidden" name="sourceRecord" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_RECORD']->value;?>
|
||||
" /><input type="hidden" name="relationOperation" value="<?php echo $_smarty_tpl->tpl_vars['IS_RELATION_OPERATION']->value;?>
|
||||
" /><?php }?><?php if ($_smarty_tpl->tpl_vars['RETURN_VIEW']->value){?><input type="hidden" name="returnmodule" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_MODULE']->value;?>
|
||||
" /><input type="hidden" name="returnview" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_VIEW']->value;?>
|
||||
" /><input type="hidden" name="returnrecord" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RECORD']->value;?>
|
||||
" /><input type="hidden" name="returntab_label" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATED_TAB']->value;?>
|
||||
" /><input type="hidden" name="returnrelatedModule" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATED_MODULE']->value;?>
|
||||
" /><input type="hidden" name="returnpage" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_PAGE']->value;?>
|
||||
" /><input type="hidden" name="returnviewname" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_VIEW_NAME']->value;?>
|
||||
" /><input type="hidden" name="returnsearch_params" value='<?php echo Vtiger_Functions::jsonEncode($_smarty_tpl->tpl_vars['RETURN_SEARCH_PARAMS']->value);?>
|
||||
' /><input type="hidden" name="returnsearch_key" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_KEY']->value;?>
|
||||
/><input type="hidden" name="returnsearch_value" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_VALUE']->value;?>
|
||||
/><input type="hidden" name="returnoperator" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_OPERATOR']->value;?>
|
||||
/><input type="hidden" name="returnsortorder" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SORTBY']->value;?>
|
||||
/><input type="hidden" name="returnorderby" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_ORDERBY']->value;?>
|
||||
" /><input type="hidden" name="returnmode" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_MODE']->value;?>
|
||||
/><input type="hidden" name="returnrelationId" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATION_ID']->value;?>
|
||||
" /><input type="hidden" name="returnparent" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_PARENT_MODULE']->value;?>
|
||||
" /><?php }?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/EditViewContents.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div><div class='modal-overlay-footer clearfix'><div class="row clearfix"><div class='textAlignCenter col-lg-12 col-md-12 col-sm-12 '><button type='submit' class='btn btn-success saveButton' ><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button> <a class='cancelLink' href="javascript:history.<?php if ($_smarty_tpl->tpl_vars['DUPLICATE_RECORDS']->value){?>go(-2)<?php }else{ ?>back()<?php }?>" type="reset"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div></div></div></form></div></div></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:20
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/DateFieldSearchView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:21436158116905d0d41b1778-10591278%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:95384362369077c0995cf02-88387582%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '21436158116905d0d41b1778-10591278',
|
||||
'nocache_hash' => '95384362369077c0995cf02-88387582',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -25,9 +25,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d41b58c',
|
||||
'unifunc' => 'content_69077c09962ee',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d41b58c')) {function content_6905d0d41b58c($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_69077c09962ee')) {function content_69077c09962ee($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo()), null, 0);?><?php $_smarty_tpl->tpl_vars["dateFormat"] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('date_format'), null, 0);?><div class="row-fluid"><input type="text" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
|
||||
" class="listSearchContributor inputElement dateField" data-date-format="<?php echo $_smarty_tpl->tpl_vars['dateFormat']->value;?>
|
||||
" data-calendar-type="range" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue'];?>
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:21:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewHeaderTitle.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:4893811636908580187a4b6-09060675%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3ea0b7253a4f061ce3fc84cde6e29959e74dba7a' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewHeaderTitle.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4893811636908580187a4b6-09060675',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'RECORD' => 0,
|
||||
'NAME_FIELD' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69085801880c0',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69085801880c0')) {function content_69085801880c0($_smarty_tpl) {?>
|
||||
|
||||
<div class="col-lg-6 col-md-6 col-sm-6"><div class="record-header clearfix"><?php if (!$_smarty_tpl->tpl_vars['MODULE']->value){?><?php $_smarty_tpl->tpl_vars['MODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_NAME']->value, null, 0);?><?php }?><div class="hidden-sm hidden-xs recordImage bg_<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><div class="name"><span><strong><?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getModuleIcon();?>
|
||||
</strong></span></div></div><div class="recordBasicInfo"><div class="info-row"><h4><span class="recordLabel pushDown" title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
"><?php $_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value){
|
||||
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()){?><span class="<?php echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value);?>
|
||||
</span> <?php }?><?php } ?></span></h4></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeaderFieldsView.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,441 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:212599643369077c098346a2-58281993%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3f993a1160dc2b0e5b37b0e6551b79fc1fc75622' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ListViewContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '212599643369077c098346a2-58281993',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'SEARCH_MODE_RESULTS' => 0,
|
||||
'CURRENT_USER_MODEL' => 0,
|
||||
'LEFTPANELHIDE' => 0,
|
||||
'VIEW' => 0,
|
||||
'VIEWID' => 0,
|
||||
'PAGING_MODEL' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'OPERATOR' => 0,
|
||||
'LISTVIEW_COUNT' => 0,
|
||||
'PAGE_NUMBER' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
'SEARCH_DETAILS' => 0,
|
||||
'TAG_DETAILS' => 0,
|
||||
'NO_SEARCH_PARAMS_CACHE' => 0,
|
||||
'ORDER_BY' => 0,
|
||||
'SORT_ORDER' => 0,
|
||||
'LIST_HEADER_FIELDS' => 0,
|
||||
'CURRENT_TAG' => 0,
|
||||
'FOLDER_ID' => 0,
|
||||
'FOLDER_VALUE' => 0,
|
||||
'VIEWTYPE' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
|
||||
'CURRENT_CV_MODEL' => 0,
|
||||
'CURRENT_CV_USER_ID' => 0,
|
||||
'LISTVIEW_HEADERS' => 0,
|
||||
'LISTVIEW_HEADER' => 0,
|
||||
'COLUMN_NAME' => 0,
|
||||
'NO_SORTING' => 0,
|
||||
'NEXT_SORT_ORDER' => 0,
|
||||
'FASORT_IMAGE' => 0,
|
||||
'FIELD_UI_TYPE_MODEL' => 0,
|
||||
'LISTVIEW_ENTRIES' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'RELATED_TO' => 0,
|
||||
'DATA_ID' => 0,
|
||||
'DATA_URL' => 0,
|
||||
'IS_GOOGLE_DRIVE_ENABLED' => 0,
|
||||
'IS_DROPBOX_ENABLED' => 0,
|
||||
'LISTVIEW_HEADERNAME' => 0,
|
||||
'LISTVIEW_ENTRY_RAWVALUE' => 0,
|
||||
'CURRENCY_SYMBOL_PLACEMENT' => 0,
|
||||
'LISTVIEW_ENTRY_VALUE' => 0,
|
||||
'CURRENCY_SYMBOL' => 0,
|
||||
'EVENT_STATUS_FIELD_MODEL' => 0,
|
||||
'PICKLIST_FIELD_ID' => 0,
|
||||
'MULTI_PICKLIST_VALUES' => 0,
|
||||
'MULTI_PICKLIST_VALUE' => 0,
|
||||
'ALL_MULTI_PICKLIST_VALUES' => 0,
|
||||
'MULTI_PICKLIST_INDEX' => 0,
|
||||
'COLSPAN_WIDTH' => 0,
|
||||
'IS_CREATE_PERMITTED' => 0,
|
||||
'LIST_VIEW_MODEL' => 0,
|
||||
'SINGLE_MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69077c098bef9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69077c098bef9')) {function content_69077c098bef9($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("PicklistColorMap.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
|
||||
<div class="col-sm-12 col-xs-12 ">
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE']->value!='EmailTemplates'&&$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value!=true){?>
|
||||
<?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('leftpanelhide'), null, 0);?>
|
||||
<div class="essentials-toggle" title="<?php echo vtranslate('LBL_LEFT_PANEL_SHOW_HIDE','Vtiger');?>
|
||||
">
|
||||
<span class="essentials-toggle-marker fa <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?>fa-chevron-right<?php }else{ ?>fa-chevron-left<?php }?> cursorPointer"></span>
|
||||
</div>
|
||||
<?php }?>
|
||||
<input type="hidden" name="view" id="view" value="<?php echo $_smarty_tpl->tpl_vars['VIEW']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="cvid" value="<?php echo $_smarty_tpl->tpl_vars['VIEWID']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="pageStartRange" id="pageStartRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordStartRange();?>
|
||||
" />
|
||||
<input type="hidden" name="pageEndRange" id="pageEndRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordEndRange();?>
|
||||
" />
|
||||
<input type="hidden" name="previousPageExist" id="previousPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isPrevPageExists();?>
|
||||
" />
|
||||
<input type="hidden" name="nextPageExist" id="nextPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isNextPageExists();?>
|
||||
" />
|
||||
<input type="hidden" name="alphabetSearchKey" id="alphabetSearchKey" value= "<?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getAlphabetSearchField();?>
|
||||
" />
|
||||
<input type="hidden" name="Operator" id="Operator" value="<?php echo $_smarty_tpl->tpl_vars['OPERATOR']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="totalCount" id="totalCount" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_COUNT']->value;?>
|
||||
" />
|
||||
<input type='hidden' name="pageNumber" value="<?php echo $_smarty_tpl->tpl_vars['PAGE_NUMBER']->value;?>
|
||||
" id='pageNumber'>
|
||||
<input type='hidden' name="pageLimit" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getPageLimit();?>
|
||||
" id='pageLimit'>
|
||||
<input type="hidden" name="noOfEntries" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value;?>
|
||||
" id="noOfEntries">
|
||||
<input type="hidden" name="currentSearchParams" value="<?php echo Vtiger_Util_Helper::toSafeHTML(Zend_JSON::encode($_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value));?>
|
||||
" id="currentSearchParams" />
|
||||
<input type="hidden" name="currentTagParams" value="<?php echo Vtiger_Util_Helper::toSafeHTML(Zend_JSON::encode($_smarty_tpl->tpl_vars['TAG_DETAILS']->value));?>
|
||||
" id="currentTagParams" />
|
||||
<input type="hidden" name="noFilterCache" value="<?php echo $_smarty_tpl->tpl_vars['NO_SEARCH_PARAMS_CACHE']->value;?>
|
||||
" id="noFilterCache" >
|
||||
<input type="hidden" name="orderBy" value="<?php echo $_smarty_tpl->tpl_vars['ORDER_BY']->value;?>
|
||||
" id="orderBy">
|
||||
<input type="hidden" name="sortOrder" value="<?php echo $_smarty_tpl->tpl_vars['SORT_ORDER']->value;?>
|
||||
" id="sortOrder">
|
||||
<input type="hidden" name="list_headers" value='<?php echo $_smarty_tpl->tpl_vars['LIST_HEADER_FIELDS']->value;?>
|
||||
'/>
|
||||
<input type="hidden" name="tag" value="<?php echo $_smarty_tpl->tpl_vars['CURRENT_TAG']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="folder_id" value="<?php echo $_smarty_tpl->tpl_vars['FOLDER_ID']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="folder_value" value="<?php echo $_smarty_tpl->tpl_vars['FOLDER_VALUE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="viewType" value="<?php echo $_smarty_tpl->tpl_vars['VIEWTYPE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="app" id="appName" value="<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
">
|
||||
<input type="hidden" id="isExcelEditSupported" value="<?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isExcelEditAllowed()){?>yes<?php }else{ ?>no<?php }?>" />
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?>
|
||||
<input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
|
||||
' />
|
||||
<?php }?>
|
||||
<?php if (!$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ListViewActions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<div id="table-content" class="table-container">
|
||||
<form name='list' id='listedit' action='' onsubmit="return false;">
|
||||
<table id="listview-table" class="table <?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?>listview-table-norecords <?php }?> listview-table ">
|
||||
<thead>
|
||||
<tr class="listViewContentHeader">
|
||||
<th>
|
||||
<?php if (!$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?>
|
||||
<div class="table-actions">
|
||||
<div class="dropdown" style="float:left;">
|
||||
<span class="input dropdown-toggle" data-toggle="dropdown" title="<?php echo vtranslate('LBL_CLICK_HERE_TO_SELECT_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
">
|
||||
<input class="listViewEntriesMainCheckBox" type="checkbox">
|
||||
</span>
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isFilterColumnEnabled()){?>
|
||||
<div id="listColumnFilterContainer">
|
||||
<div class="listColumnFilter <?php if ($_smarty_tpl->tpl_vars['CURRENT_CV_MODEL']->value&&!($_smarty_tpl->tpl_vars['CURRENT_CV_MODEL']->value->isCvEditable())){?>disabled<?php }?>"
|
||||
<?php if ($_smarty_tpl->tpl_vars['CURRENT_CV_MODEL']->value->isCvEditable()){?>
|
||||
title="<?php echo vtranslate('LBL_CLICK_HERE_TO_MANAGE_LIST_COLUMNS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"
|
||||
<?php }else{ ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['CURRENT_CV_MODEL']->value->get('viewname')=='All'&&!$_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->isAdminUser()){?>
|
||||
title="<?php echo vtranslate('LBL_SHARED_LIST_NON_ADMIN_MESSAGE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"
|
||||
<?php }elseif(!$_smarty_tpl->tpl_vars['CURRENT_CV_MODEL']->value->isMine()){?>
|
||||
<?php $_smarty_tpl->tpl_vars['CURRENT_CV_USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_CV_MODEL']->value->get('userid'), null, 0);?>
|
||||
<?php if (!Vtiger_Functions::isUserExist($_smarty_tpl->tpl_vars['CURRENT_CV_USER_ID']->value)){?>
|
||||
<?php $_smarty_tpl->tpl_vars['CURRENT_CV_USER_ID'] = new Smarty_variable(Users::getActiveAdminId(), null, 0);?>
|
||||
<?php }?>
|
||||
title="<?php echo vtranslate('LBL_SHARED_LIST_OWNER_MESSAGE',$_smarty_tpl->tpl_vars['MODULE']->value,getUserFullName($_smarty_tpl->tpl_vars['CURRENT_CV_USER_ID']->value));?>
|
||||
"
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Documents'){?>style="width: 10%;"<?php }?>
|
||||
data-toggle="tooltip" data-placement="bottom" data-container="body">
|
||||
<i class="fa fa-th-large"></i>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?>
|
||||
<?php echo vtranslate('LBL_ACTIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }?>
|
||||
</th>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value||($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='multipicklist')){?>
|
||||
<?php $_smarty_tpl->tpl_vars['NO_SORTING'] = new Smarty_variable(1, null, 0);?>
|
||||
<?php }else{ ?>
|
||||
<?php $_smarty_tpl->tpl_vars['NO_SORTING'] = new Smarty_variable(0, null, 0);?>
|
||||
<?php }?>
|
||||
<th <?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?> nowrap="nowrap" <?php }?>>
|
||||
<a href="#" class="<?php if ($_smarty_tpl->tpl_vars['NO_SORTING']->value){?>noSorting<?php }else{ ?>listViewContentHeaderValues<?php }?>" <?php if (!$_smarty_tpl->tpl_vars['NO_SORTING']->value){?>data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
|
||||
<?php }else{ ?>ASC<?php }?>" data-columnname="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name');?>
|
||||
"<?php }?> data-field-id='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
'>
|
||||
<?php if (!$_smarty_tpl->tpl_vars['NO_SORTING']->value){?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?>
|
||||
<i class="fa fa-sort <?php echo $_smarty_tpl->tpl_vars['FASORT_IMAGE']->value;?>
|
||||
"></i>
|
||||
<?php }else{ ?>
|
||||
<i class="fa fa-sort customsort"></i>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getModuleName());?>
|
||||
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?>
|
||||
<a href="#" class="removeSorting"><i class="fa fa-remove"></i></a>
|
||||
<?php }?>
|
||||
</th>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isQuickSearchEnabled()&&!$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?>
|
||||
<tr class="searchRow">
|
||||
<th class="inline-search-btn">
|
||||
<div class="table-actions">
|
||||
<button class="btn btn-success btn-sm" data-trigger="listSearch"><?php echo vtranslate("LBL_SEARCH",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button>
|
||||
</div>
|
||||
</th>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?>
|
||||
<th>
|
||||
<?php $_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getUITypeModel(), null, 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL']->value->getListSearchTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value,'SEARCH_INFO'=>$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getName()],'USER_MODEL'=>$_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value), 0);?>
|
||||
|
||||
<input type="hidden" class="operatorValue" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getName()]['comparator'];?>
|
||||
">
|
||||
</th>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</thead>
|
||||
<tbody class="overflow-y">
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['listview']['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->key => $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['listview']['index']++;
|
||||
?>
|
||||
<?php $_smarty_tpl->tpl_vars['DATA_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId(), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['DATA_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDetailViewUrl(), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getModuleName()=="ModComments"){?>
|
||||
<?php $_smarty_tpl->tpl_vars['RELATED_TO'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('related_to_model'), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['DATA_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_TO']->value->getId(), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['DATA_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_TO']->value->getDetailViewUrl(), null, 0);?>
|
||||
<?php }?>
|
||||
<tr class="listViewEntries" data-id='<?php echo $_smarty_tpl->tpl_vars['DATA_ID']->value;?>
|
||||
' data-recordUrl='<?php echo $_smarty_tpl->tpl_vars['DATA_URL']->value;?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
' id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_row_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['listview']['index']+1;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Calendar'){?>data-recurring-enabled='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->isRecurringEnabled();?>
|
||||
'<?php }?>>
|
||||
<td class = "listViewRecordActions">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ListViewRecordActions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</td>
|
||||
<?php if (($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('document_source')=='Google Drive'&&$_smarty_tpl->tpl_vars['IS_GOOGLE_DRIVE_ENABLED']->value)||($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('document_source')=='Dropbox'&&$_smarty_tpl->tpl_vars['IS_DROPBOX_ENABLED']->value)){?>
|
||||
<input type="hidden" name="document_source_type" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('document_source');?>
|
||||
">
|
||||
<?php }?>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name'), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRaw($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('column')), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='currency'||$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='text'){?>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getTitle($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value), null, 0);?>
|
||||
<?php }?>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value), null, 0);?>
|
||||
<td class="listViewEntryValue" data-name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name');?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getTitle($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value);?>
|
||||
" data-rawvalue="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE']->value;?>
|
||||
" data-field-type="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType();?>
|
||||
">
|
||||
<span class="fieldValue">
|
||||
<span class="value">
|
||||
<?php if (($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->isNameField()==true||$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='4')&&$_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isListViewNameFieldNavigationEnabled()==true){?>
|
||||
<a href="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDetailViewUrl();?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Products'&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->isBundle()){?>
|
||||
- <i class="mute"><?php echo vtranslate('LBL_PRODUCT_BUNDLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</i>
|
||||
<?php }?>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getName()=='Documents'&&$_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='document_source'){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='72'){?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('currency_symbol_placement');?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CURRENCY_SYMBOL_PLACEMENT'] = new Smarty_variable($_tmp1, null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['CURRENCY_SYMBOL_PLACEMENT']->value=='1.0$'){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value;?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('currencySymbol');?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('currencySymbol');?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value;?>
|
||||
|
||||
<?php }?>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='71'){?>
|
||||
<?php $_smarty_tpl->tpl_vars['CURRENCY_SYMBOL'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('userCurrencySymbol'), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value)!=null){?>
|
||||
<?php echo CurrencyField::appendCurrencySymbol($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value),$_smarty_tpl->tpl_vars['CURRENCY_SYMBOL']->value);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='picklist'){?>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRaw('activitytype')=='Task'){?>
|
||||
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['PICKLIST_FIELD_ID'] = new Smarty_variable($_tmp2, null, 0);?>
|
||||
<?php }else{ ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getName()=='taskstatus'){?>
|
||||
<?php $_smarty_tpl->tpl_vars["EVENT_STATUS_FIELD_MODEL"] = new Smarty_variable(Vtiger_Field_Model::getInstance('eventstatus',Vtiger_Module_Model::getInstance('Events')), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['EVENT_STATUS_FIELD_MODEL']->value){?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['EVENT_STATUS_FIELD_MODEL']->value->getId();?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['PICKLIST_FIELD_ID'] = new Smarty_variable($_tmp3, null, 0);?>
|
||||
<?php }else{ ?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
<?php $_tmp4=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['PICKLIST_FIELD_ID'] = new Smarty_variable($_tmp4, null, 0);?>
|
||||
<?php }?>
|
||||
<?php }else{ ?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
<?php $_tmp5=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['PICKLIST_FIELD_ID'] = new Smarty_variable($_tmp5, null, 0);?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<span <?php if (!empty($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value)){?> class="picklist-color picklist-<?php echo $_smarty_tpl->tpl_vars['PICKLIST_FIELD_ID']->value;?>
|
||||
-<?php echo Vtiger_Util_Helper::convertSpaceToHyphen($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE']->value);?>
|
||||
" <?php }?>> <?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value;?>
|
||||
</span>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='multipicklist'){?>
|
||||
<?php $_smarty_tpl->tpl_vars['MULTI_RAW_PICKLIST_VALUES'] = new Smarty_variable(explode('|##|',$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRaw($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value)), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['ALL_MULTI_PICKLIST_VALUES'] = new Smarty_variable(array_flip($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getPicklistValues()), null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value = $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->key;
|
||||
?>
|
||||
<span <?php if (!empty($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value)){?> class="picklist-color picklist-<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
-<?php echo Vtiger_Util_Helper::convertSpaceToHyphen(trim($_smarty_tpl->tpl_vars['ALL_MULTI_PICKLIST_VALUES']->value[trim($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->value)]));?>
|
||||
"<?php }?> >
|
||||
<?php if (trim($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES']->value[$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value])==vtranslate('LBL_NOT_ACCESSIBLE',$_smarty_tpl->tpl_vars['MODULE']->value)){?>
|
||||
<font color="red">
|
||||
<?php echo trim($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES']->value[$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value]);?>
|
||||
|
||||
</font>
|
||||
<?php }else{ ?>
|
||||
<?php echo trim($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES']->value[$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value]);?>
|
||||
|
||||
<?php }?>
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES']->value[$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value+1])){?>,<?php }?>
|
||||
</span>
|
||||
<?php } ?>
|
||||
<?php }else{ ?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value;?>
|
||||
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</span>
|
||||
</span>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->isEditable()=='true'&&$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->isAjaxEditable()=='true'){?>
|
||||
<span class="hide edit">
|
||||
</span>
|
||||
<?php }?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?>
|
||||
<tr class="emptyRecordsDiv">
|
||||
<?php ob_start();?><?php echo count($_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value);?>
|
||||
<?php $_tmp6=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['COLSPAN_WIDTH'] = new Smarty_variable($_tmp6+1, null, 0);?>
|
||||
<td colspan="<?php echo $_smarty_tpl->tpl_vars['COLSPAN_WIDTH']->value;?>
|
||||
">
|
||||
<div class="emptyRecordsContent">
|
||||
<?php $_smarty_tpl->tpl_vars['SINGLE_MODULE'] = new Smarty_variable("SINGLE_".($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?>
|
||||
|
||||
<?php echo vtranslate('LBL_NOT_FOUND');?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
.
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_CREATE_PERMITTED']->value){?>
|
||||
<a style="color:blue" href="<?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getCreateRecordUrl();?>
|
||||
"> <?php echo vtranslate('LBL_CREATE');?>
|
||||
</a>
|
||||
<?php if (Users_Privileges_Model::isPermitted($_smarty_tpl->tpl_vars['MODULE']->value,'Import')&&$_smarty_tpl->tpl_vars['LIST_VIEW_MODEL']->value->isImportEnabled()){?>
|
||||
<?php echo vtranslate('LBL_OR',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<a style="color:blue" href="#" onclick="return Vtiger_Import_Js.triggerImportAction()"><?php echo vtranslate('LBL_IMPORT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div id="scroller_wrapper" class="bottom-fixed-scroll">
|
||||
<div id="scroller" class="scroller-div"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ListViewFooter.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:197889784569118247317692-44026592%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3faa3c20af36c1cc993957de3c057aebaf0e505b' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ListViewFooter.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '197889784569118247317692-44026592',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118247317f7',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118247317f7')) {function content_69118247317f7($_smarty_tpl) {?>
|
||||
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-11 18:48:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/ModuleSummaryView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:163385285569135abb71d7d4-53793798%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4295a1a3636aa72eff5c885cf5b9875e83884ffa' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/ModuleSummaryView.tpl',
|
||||
1 => 1711810496,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '163385285569135abb71d7d4-53793798',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69135abb71fae',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69135abb71fae')) {function content_69135abb71fae($_smarty_tpl) {?>
|
||||
|
||||
<div class="recordDetails"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('SummaryViewContents.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,176 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:03:16
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/EditView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:161485395569119c4402f0f9-62466496%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'42b2ceb5acaf363ff32cfe65e09f36debde48b67' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/EditView.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '161485395569119c4402f0f9-62466496',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'LEFTPANELHIDE' => 0,
|
||||
'MODULE' => 0,
|
||||
'RECORD_ID' => 0,
|
||||
'SINGLE_MODULE_NAME' => 0,
|
||||
'RECORD_STRUCTURE_MODEL' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'IS_PARENT_EXISTS' => 0,
|
||||
'SPLITTED_MODULE' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'IS_RELATION_OPERATION' => 0,
|
||||
'SOURCE_MODULE' => 0,
|
||||
'SOURCE_RECORD' => 0,
|
||||
'MODE' => 0,
|
||||
'RETURN_VIEW' => 0,
|
||||
'RETURN_MODULE' => 0,
|
||||
'RETURN_RECORD' => 0,
|
||||
'RETURN_RELATED_TAB' => 0,
|
||||
'RETURN_RELATED_MODULE' => 0,
|
||||
'RETURN_PAGE' => 0,
|
||||
'RETURN_VIEW_NAME' => 0,
|
||||
'RETURN_SEARCH_PARAMS' => 0,
|
||||
'RETURN_SEARCH_KEY' => 0,
|
||||
'RETURN_SEARCH_VALUE' => 0,
|
||||
'RETURN_SEARCH_OPERATOR' => 0,
|
||||
'RETURN_SORTBY' => 0,
|
||||
'RETURN_ORDERBY' => 0,
|
||||
'RETURN_MODE' => 0,
|
||||
'RETURN_RELATION_ID' => 0,
|
||||
'DUPLICATE_RECORDS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119c44047c9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119c44047c9')) {function content_69119c44047c9($_smarty_tpl) {?>
|
||||
|
||||
<div class="main-container clearfix">
|
||||
<div id="modnavigator" class="module-nav editViewModNavigator">
|
||||
<div class="hidden-xs hidden-sm mod-switcher-container">
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Menubar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="editViewPageDiv viewContent">
|
||||
<div class="col-sm-12 col-xs-12 content-area <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> full-width <?php }?>">
|
||||
<form class="form-horizontal recordEditView" id="EditView" name="edit" method="post" action="index.php" enctype="multipart/form-data">
|
||||
<div class="editViewHeader">
|
||||
<div class='row'>
|
||||
<div class="col-lg-12 col-md-12 col-lg-pull-0">
|
||||
<?php $_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME'] = new Smarty_variable(('SINGLE_').($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['RECORD_ID']->value!=''){?>
|
||||
<h4 class="editHeader" style="margin-top:5px;" title="<?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getRecordName();?>
|
||||
"><?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
- <?php echo $_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getRecordName();?>
|
||||
</h4>
|
||||
<?php }else{ ?>
|
||||
<h4 class="editHeader" style="margin-top:5px;"><?php echo vtranslate('LBL_CREATING_NEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="editViewBody">
|
||||
<div class="editViewContents">
|
||||
<?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['QUALIFIED_MODULE_NAME'] = new Smarty_variable($_tmp1, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['IS_PARENT_EXISTS'] = new Smarty_variable(strpos($_smarty_tpl->tpl_vars['MODULE']->value,":"), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_PARENT_EXISTS']->value){?>
|
||||
<?php $_smarty_tpl->tpl_vars['SPLITTED_MODULE'] = new Smarty_variable(explode(":",$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?>
|
||||
<input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['SPLITTED_MODULE']->value[1];?>
|
||||
" />
|
||||
<input type="hidden" name="parent" value="<?php echo $_smarty_tpl->tpl_vars['SPLITTED_MODULE']->value[0];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
<input type="hidden" name="action" value="Save" />
|
||||
<input type="hidden" name="record" id="recordId" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="defaultCallDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('callduration');?>
|
||||
" />
|
||||
<input type="hidden" name="defaultOtherEventDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('othereventduration');?>
|
||||
" />
|
||||
<input type="hidden" name="appName" value="&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
" />
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_RELATION_OPERATION']->value){?>
|
||||
<input type="hidden" name="sourceModule" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="sourceRecord" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_RECORD']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="relationOperation" value="<?php echo $_smarty_tpl->tpl_vars['IS_RELATION_OPERATION']->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
|
||||
<input type="hidden" name="mode" value="<?php echo $_smarty_tpl->tpl_vars['MODE']->value;?>
|
||||
"/>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['RETURN_VIEW']->value){?>
|
||||
<input type="hidden" name="returnmodule" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnview" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_VIEW']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnrecord" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RECORD']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returntab_label" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATED_TAB']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnrelatedModule" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATED_MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnpage" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_PAGE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnviewname" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_VIEW_NAME']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnsearch_params" value='<?php echo Vtiger_Functions::jsonEncode($_smarty_tpl->tpl_vars['RETURN_SEARCH_PARAMS']->value);?>
|
||||
' />
|
||||
<input type="hidden" name="returnsearch_key" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_KEY']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnsearch_value" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_VALUE']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnoperator" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_OPERATOR']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnsortorder" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SORTBY']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnorderby" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_ORDERBY']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnmode" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_MODE']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnrelationId" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATION_ID']->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/EditViewContents.tpl",'Inventory'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-overlay-footer">
|
||||
<div class="row clearfix">
|
||||
<div class='textAlignCenter col-lg-12 col-md-12 col-sm-12 '>
|
||||
|
||||
<button class="btn btn-success saveButton" type="submit"><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button>
|
||||
|
||||
|
||||
<a class="cancelLink" href="javascript:history.<?php if ($_smarty_tpl->tpl_vars['DUPLICATE_RECORDS']->value){?>go(-2)<?php }else{ ?>back()<?php }?>" type="reset"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:16
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-06 17:36:22
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Contacts/DetailViewSummaryContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:20974419356905d0d06bf4a4-29286564%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1301579888690cb26654d912-85119734%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '20974419356905d0d06bf4a4-29286564',
|
||||
'nocache_hash' => '1301579888690cb26654d912-85119734',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,9 +21,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d06c223',
|
||||
'unifunc' => 'content_690cb26654f87',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d06c223')) {function content_6905d0d06c223($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690cb26654f87')) {function content_690cb26654f87($_smarty_tpl) {?>
|
||||
|
||||
<form id="detailView" class="clearfix" method="POST" style="position: relative"><div class="col-lg-12 resizable-summary-view"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('SummaryViewWidgets.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></form><?php }} ?>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:27:33
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/CommentsList.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:40138371269085965dd6c75-84348301%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'43cfee4459d39bdb9d7840c27a4eabc7ebeffa18' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/CommentsList.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '40138371269085965dd6c75-84348301',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'COMMENTS_MODULE_MODEL' => 0,
|
||||
'PARENT_COMMENTS' => 0,
|
||||
'CURRENT_COMMENT' => 0,
|
||||
'CURRENT_COMMENT_PARENT_MODEL' => 0,
|
||||
'TEMP_COMMENT' => 0,
|
||||
'COMMENT' => 0,
|
||||
'CHILDS_ROOT_PARENT_MODEL' => 0,
|
||||
'PARENT_COMMENT_ID' => 0,
|
||||
'CHILD_COMMENTS_MODEL' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69085965de6ed',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69085965de6ed')) {function content_69085965de6ed($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars['IS_CREATABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('CreateView'), null, 0);?><?php $_smarty_tpl->tpl_vars['IS_EDITABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('EditView'), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['PARENT_COMMENTS']->value)){?><ul class="unstyled"><?php if ($_smarty_tpl->tpl_vars['CURRENT_COMMENT']->value){?><?php $_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_COMMENT']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['CURRENT_COMMENT_PARENT_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_COMMENT']->value->getParentCommentModel(), null, 0);?><?php while ($_smarty_tpl->tpl_vars['CURRENT_COMMENT_PARENT_MODEL']->value!=false){?><?php $_smarty_tpl->tpl_vars['TEMP_COMMENT'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_COMMENT_PARENT_MODEL']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['CURRENT_COMMENT_PARENT_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_COMMENT_PARENT_MODEL']->value->getParentCommentModel(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['CURRENT_COMMENT_PARENT_MODEL']->value==false){?><?php $_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['TEMP_COMMENT']->value, null, 0);?><?php }?><?php }?><?php }?><?php if (is_array($_smarty_tpl->tpl_vars['PARENT_COMMENTS']->value)){?><?php $_smarty_tpl->tpl_vars['COMMENT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COMMENT']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['Index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PARENT_COMMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['COMMENT']->key => $_smarty_tpl->tpl_vars['COMMENT']->value){
|
||||
$_smarty_tpl->tpl_vars['COMMENT']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['Index']->value = $_smarty_tpl->tpl_vars['COMMENT']->key;
|
||||
?><?php $_smarty_tpl->tpl_vars['PARENT_COMMENT_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getId(), null, 0);?><li class="commentDetails"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('Comment.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('COMMENT'=>$_smarty_tpl->tpl_vars['COMMENT']->value,'COMMENT_MODULE_MODEL'=>$_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value), 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value){?><?php if ($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value->getId()==$_smarty_tpl->tpl_vars['PARENT_COMMENT_ID']->value){?><?php $_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['CHILDS_ROOT_PARENT_MODEL']->value->getChildComments(), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('CommentsListIteration.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('CHILD_COMMENTS_MODEL'=>$_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value), 0);?>
|
||||
<?php }?><?php }?></li><?php } ?><?php }else{ ?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('Comment.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('COMMENT'=>$_smarty_tpl->tpl_vars['PARENT_COMMENTS']->value), 0);?>
|
||||
<?php }?></ul><?php }else{ ?><div class="noCommentsMsgContainer" style='padding:20px;'><p class="textAlignCenter"><?php echo vtranslate('LBL_NO_COMMENTS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</p></div><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/CronTasks/ListViewRecordActions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:30780665169118247306259-31596750%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4552885f9adc62ba6a442045c0fd20368a8100bf' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/CronTasks/ListViewRecordActions.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '30780665169118247306259-31596750',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'RECORD_LINK' => 0,
|
||||
'RECORD_LINK_URL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911824730da7',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911824730da7')) {function content_6911824730da7($_smarty_tpl) {?>
|
||||
<div class="table-actions"><span><img src="<?php echo vimage_path('drag.png');?>
|
||||
" class="alignTop" title="<?php echo vtranslate('LBL_DRAG',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" /></span><span><?php $_smarty_tpl->tpl_vars['RECORD_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RECORD_LINK']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRecordLinks(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['RECORD_LINK']->total= $_smarty_tpl->_count($_from);
|
||||
$_smarty_tpl->tpl_vars['RECORD_LINK']->iteration=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RECORD_LINK']->key => $_smarty_tpl->tpl_vars['RECORD_LINK']->value){
|
||||
$_smarty_tpl->tpl_vars['RECORD_LINK']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['RECORD_LINK']->iteration++;
|
||||
$_smarty_tpl->tpl_vars['RECORD_LINK']->last = $_smarty_tpl->tpl_vars['RECORD_LINK']->iteration === $_smarty_tpl->tpl_vars['RECORD_LINK']->total;
|
||||
?><?php $_smarty_tpl->tpl_vars["RECORD_LINK_URL"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_LINK']->value->getUrl(), null, 0);?><a <?php if (stripos($_smarty_tpl->tpl_vars['RECORD_LINK_URL']->value,'javascript:')===0){?> onclick="<?php echo substr($_smarty_tpl->tpl_vars['RECORD_LINK_URL']->value,strlen("javascript:"));?>
|
||||
;if(event.stopPropagation){event.stopPropagation();}else{event.cancelBubble=true;}" <?php }else{ ?> href='<?php echo $_smarty_tpl->tpl_vars['RECORD_LINK_URL']->value;?>
|
||||
' <?php }?>><i class="fa fa-pencil" title="<?php echo vtranslate($_smarty_tpl->tpl_vars['RECORD_LINK']->value->getLabel(),$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"></i></a><?php if (!$_smarty_tpl->tpl_vars['RECORD_LINK']->lastui-'sortable'){?> <?php }?><?php } ?></span></div> <?php }} ?>
|
||||
@@ -0,0 +1,140 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 22:07:46
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/helpers/FormGenerator.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:160884121869123802dbd236-81705653%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'480d7bafdb8cc941a7de2b9b431aa1c13f091004' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/helpers/FormGenerator.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '160884121869123802dbd236-81705653',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'field' => 0,
|
||||
'fieldTypes' => 0,
|
||||
'formFields' => 0,
|
||||
'fields' => 0,
|
||||
'fieldConfig' => 0,
|
||||
'config' => 0,
|
||||
'variable' => 0,
|
||||
'width' => 0,
|
||||
'value' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69123802dd3b6',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69123802dd3b6')) {function content_69123802dd3b6($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?><input type="hidden" name="task[<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_version]" value="2" />
|
||||
<div id="formgenerator"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var FGDAT = {};
|
||||
var fieldTypes = <?php echo json_encode($_smarty_tpl->tpl_vars['fieldTypes']->value);?>
|
||||
;
|
||||
|
||||
jQuery(function() {
|
||||
initFormGenerator('formgenerator', '<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
', <?php echo json_encode($_smarty_tpl->tpl_vars['formFields']->value);?>
|
||||
);
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['fieldConfig'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['fieldConfig']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['fieldConfig']->key => $_smarty_tpl->tpl_vars['fieldConfig']->value){
|
||||
$_smarty_tpl->tpl_vars['fieldConfig']->_loop = true;
|
||||
?>
|
||||
<script type="text/template" id="fieldtemplate_<?php echo strtolower($_smarty_tpl->tpl_vars['fieldConfig']->value['id']);?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['config'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['config']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['variable'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['fieldConfig']->value['config']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['config']->key => $_smarty_tpl->tpl_vars['config']->value){
|
||||
$_smarty_tpl->tpl_vars['config']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['variable']->value = $_smarty_tpl->tpl_vars['config']->key;
|
||||
?>
|
||||
<div style="clear:both;">
|
||||
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='checkbox'){?>
|
||||
<div style="float:left;padding-right:10px;">
|
||||
<input class="configField rcSwitch doInit" type="checkbox" data-type="<?php echo $_smarty_tpl->tpl_vars['config']->value['type'];?>
|
||||
" data-variable="<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" name="task[<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
][##FIELDNAME##][config][<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
]" data-id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['value'];?>
|
||||
">
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']!='condition'){?>
|
||||
<div style='padding:0;padding-right:5px;line-height:<?php if ($_smarty_tpl->tpl_vars['config']->value['type']!='checkbox'){?>20<?php }else{ ?>30<?php }?>px;font-size:11px;<?php if ($_smarty_tpl->tpl_vars['config']->value['type']!='label'){?>font-weight:bold;<?php }else{ ?>font-style:italic;<?php }?>'><?php echo vtranslate($_smarty_tpl->tpl_vars['config']->value['label'],'Settings:Workflow2');?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']!='label'){?>
|
||||
<div style="<?php if ($_smarty_tpl->tpl_vars['variable']->value=='mandatory'){?>display:inline;<?php }?>">
|
||||
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='templatefield'){?>
|
||||
<div class="configField insertTextfield" data-style="width:<?php echo $_smarty_tpl->tpl_vars['width']->value;?>
|
||||
px;" data-type="<?php echo $_smarty_tpl->tpl_vars['config']->value['type'];?>
|
||||
" data-name="task[<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
][##FIELDNAME##][config][<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
]" data-id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" data-placeholder="<?php echo $_smarty_tpl->tpl_vars['config']->value['placeholder'];?>
|
||||
"></div>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['config']->value['type']=='templatearea'){?>
|
||||
<div class="configField insertTextarea" data-type="<?php echo $_smarty_tpl->tpl_vars['config']->value['type'];?>
|
||||
" data-name="task[<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
][##FIELDNAME##][config][<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
]" data-placeholder="<?php echo $_smarty_tpl->tpl_vars['config']->value['placeholder'];?>
|
||||
" data-id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" data-options='{"height":"100px"}'><?php echo $_smarty_tpl->tpl_vars['value']->value;?>
|
||||
</div>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['config']->value['type']=='picklist'){?>
|
||||
<select name="task[<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
][##FIELDNAME##][config][<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
]" data-nomodify="<?php echo $_smarty_tpl->tpl_vars['config']->value['nomodify'];?>
|
||||
" data-variable="<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" data-id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" data-type="<?php echo $_smarty_tpl->tpl_vars['config']->value['type'];?>
|
||||
" style="width:100%;height:30px;" class="configField MakeSelect2" >
|
||||
<?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['config']->value['options']),$_smarty_tpl);?>
|
||||
|
||||
</select>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['config']->value['type']=='condition'){?>
|
||||
<input type="hidden" class="configField" name="task[<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
][##FIELDNAME##][config][<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
]" data-variable="<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" data-id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" id="task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
" data-type="hidden" />
|
||||
<button class="btn btn-primary" type="button" onclick="ConditionPopup.open('#task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['variable']->value;?>
|
||||
', '#task_<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
|
||||
_##FIELDNAME##_config_<?php echo $_smarty_tpl->tpl_vars['config']->value['moduleField'];?>
|
||||
', 'LBL_FILTER_RECORDS_2_SELECT');"><?php echo vtranslate($_smarty_tpl->tpl_vars['config']->value['label'],'Settings:Workflow2');?>
|
||||
</button>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</script>
|
||||
<?php } ?><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Project/DetailViewSummaryContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:18012038996905d072747434-63076788%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:2490080690777d82a5a96-19833200%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '18012038996905d072747434-63076788',
|
||||
'nocache_hash' => '2490080690777d82a5a96-19833200',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,8 +21,8 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d072749cc',
|
||||
'unifunc' => 'content_690777d82a83c',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d072749cc')) {function content_6905d072749cc($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d82a83c')) {function content_690777d82a83c($_smarty_tpl) {?>
|
||||
<form id="detailView" method="POST"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('SummaryViewWidgets.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</form><?php }} ?>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-12 14:51:26
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Email.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:380454975691474bee85c60-04255680%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4aad6b007c957abd382b550ff5865206e24a25f6' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Email.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '380454975691474bee85c60-04255680',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'MODE' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691474bee920b',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691474bee920b')) {function content_691474bee920b($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php if ((!$_smarty_tpl->tpl_vars['FIELD_NAME']->value)){?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php }?><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" class="inputElement" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" type="text"value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['MODE']->value=='edit'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='106'){?> readonly <?php }?> <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator="<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
"<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?> data-rule-email="true" data-rule-illegal="true"<?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>/>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,100 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:29:27
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/UploadDocument.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:13091124496911864763a2b8-67929899%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4bc57e97d6866b8631384df5b43216b07f3436ea' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/UploadDocument.tpl',
|
||||
1 => 1711810496,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '13091124496911864763a2b8-67929899',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'HEADER_TITLE' => 0,
|
||||
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
|
||||
'RELATION_OPERATOR' => 0,
|
||||
'PARENT_MODULE' => 0,
|
||||
'PARENT_ID' => 0,
|
||||
'RELATION_FIELD_NAME' => 0,
|
||||
'MAX_UPLOAD_LIMIT_BYTES' => 0,
|
||||
'MAX_UPLOAD_LIMIT_MB' => 0,
|
||||
'FIELD_MODELS' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_VALUE' => 0,
|
||||
'ALLOWED_FIELD_MODELS' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'HARDCODED_FIELDS' => 0,
|
||||
'referenceList' => 0,
|
||||
'COUNTER' => 0,
|
||||
'isReferenceField' => 0,
|
||||
'referenceListCount' => 0,
|
||||
'DISPLAYID' => 0,
|
||||
'REFERENCED_MODULE_STRUCT' => 0,
|
||||
'value' => 0,
|
||||
'REFERENCED_MODULE_NAME' => 0,
|
||||
'TAXCLASS_DETAILS' => 0,
|
||||
'taxCount' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691186476819e',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691186476819e')) {function content_691186476819e($_smarty_tpl) {?>
|
||||
|
||||
<div class="modal-dialog modelContainer"><?php ob_start();?><?php echo vtranslate('LBL_UPLOAD_TO_VTIGER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_tmp1, null, 0);?><div class="modal-content" style="width:675px;"><form class="form-horizontal recordEditView" name="upload" method="post" action="index.php"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
|
||||
<div class="modal-body"><div class="uploadview-content container-fluid"><div class="uploadcontrols row"><div id="upload" data-filelocationtype="I"><?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
|
||||
' /><?php }?><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
" /><input type="hidden" name="action" value="SaveAjax" /><input type="hidden" name="document_source" value="Vtiger" /><?php if ($_smarty_tpl->tpl_vars['RELATION_OPERATOR']->value=='true'){?><input type="hidden" name="relationOperation" value="<?php echo $_smarty_tpl->tpl_vars['RELATION_OPERATOR']->value;?>
|
||||
" /><input type="hidden" name="sourceModule" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_MODULE']->value;?>
|
||||
" /><input type="hidden" name="sourceRecord" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
" /><?php if ($_smarty_tpl->tpl_vars['RELATION_FIELD_NAME']->value){?><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['RELATION_FIELD_NAME']->value;?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_ID']->value;?>
|
||||
" /><?php }?><?php }?><input type="hidden" name="max_upload_limit" value="<?php echo $_smarty_tpl->tpl_vars['MAX_UPLOAD_LIMIT_BYTES']->value;?>
|
||||
" /><input type="hidden" name="max_upload_limit_mb" value="<?php echo $_smarty_tpl->tpl_vars['MAX_UPLOAD_LIMIT_MB']->value;?>
|
||||
" /><div id="dragandrophandler" class="dragdrop-dotted"><div style="font-size:175%;"><span class="fa fa-upload"></span> <?php echo vtranslate('LBL_DRAG_&_DROP_FILE_HERE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="margin-top: 1%;text-transform: uppercase;margin-bottom: 2%;"><?php echo vtranslate('LBL_OR',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div><div class="fileUploadBtn btn btn-primary"><span><i class="fa fa-laptop"></i> <?php echo vtranslate('LBL_SELECT_FILE_FROM_COMPUTER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</span><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['filename'], null, 0);?><input type="file" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
|
||||
" data-rule-required="true" /></div> <i class="fa fa-info-circle cursorPointer" data-toggle="tooltip" title="<?php echo vtranslate('LBL_MAX_UPLOAD_SIZE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['MAX_UPLOAD_LIMIT_MB']->value;?>
|
||||
<?php echo vtranslate('MB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"></i></div><div class="fileDetails"></div></div><table class="massEditTable table no-border"><tr><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['notes_title'], null, 0);?><td class="fieldLabel col-lg-2"><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?><span class="redColor">*</span><?php }?></label></td><td class="fieldValue col-lg-4" colspan="3"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td></tr><tr><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['assigned_user_id'], null, 0);?><td class="fieldLabel col-lg-2"><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?><span class="redColor">*</span><?php }?></label></td><td class="fieldValue col-lg-4"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['folderid'], null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['folderid']){?><td class="fieldLabel col-lg-2"><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?><span class="redColor">*</span><?php }?></label></td><td class="fieldValue col-lg-4"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php }?></tr><tr><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['notecontent'], null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODELS']->value['notecontent']){?><td class="fieldLabel col-lg-2" colspan="1"><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?><span class="redColor">*</span><?php }?></label></td><td class="fieldValue col-lg-4" colspan="3"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php }?></tr><tr><?php $_smarty_tpl->tpl_vars['HARDCODED_FIELDS'] = new Smarty_variable(explode(',',"filename,assigned_user_id,folderid,notecontent,notes_title"), null, 0);?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->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['ALLOWED_FIELD_MODELS']->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;
|
||||
?><?php if (!in_array($_smarty_tpl->tpl_vars['FIELD_NAME']->value,$_smarty_tpl->tpl_vars['HARDCODED_FIELDS']->value)&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isQuickCreateEnabled()){?><?php $_smarty_tpl->tpl_vars["isReferenceField"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?><?php $_smarty_tpl->tpl_vars["referenceList"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getReferenceList(), null, 0);?><?php $_smarty_tpl->tpl_vars["referenceListCount"] = new Smarty_variable(count($_smarty_tpl->tpl_vars['referenceList']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value=='1'){?><td></td><td></td></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?><?php }?><td class='fieldLabel col-lg-2'><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value!="reference"){?><label class="muted pull-right"><?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value=="reference"){?><?php if ($_smarty_tpl->tpl_vars['referenceListCount']->value>1){?><?php $_smarty_tpl->tpl_vars["DISPLAYID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_STRUCT"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getReferenceModule($_smarty_tpl->tpl_vars['DISPLAYID']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value)){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value->get('name'), null, 0);?><?php }?><span class="pull-right"><select style="width:150px;" class="select2 referenceModulesList <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?>reference-mandatory<?php }?>"><?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['referenceList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
|
||||
$_smarty_tpl->tpl_vars['value']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['value']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value){?> selected <?php }?> ><?php echo vtranslate($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl->tpl_vars['value']->value);?>
|
||||
</option><?php } ?></select></span><?php }else{ ?><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?></label><?php }?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='83'){?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('COUNTER'=>$_smarty_tpl->tpl_vars['COUNTER']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE']->value), 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value){?><?php $_smarty_tpl->tpl_vars['taxCount'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value)%2, null, 0);?><?php if ($_smarty_tpl->tpl_vars['taxCount']->value==0){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(2, null, 0);?><?php }?><?php }?><?php }?><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value!="reference"){?></label><?php }?></td><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!='83'){?><td class="fieldValue col-lg-4" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'){?> colspan="3" <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> <?php }?>><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php }?><?php }?><?php } ?></tr></table></div></div></div></div><?php ob_start();?><?php echo vtranslate('LBL_UPLOAD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['BUTTON_NAME'] = new Smarty_variable($_tmp2, null, 0);?><?php $_smarty_tpl->tpl_vars['BUTTON_ID'] = new Smarty_variable("js-upload-document", null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalFooter.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</form></div></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:42:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/IndexViewPreProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10994142646911893c128112-56929684%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4bfefeb2c44a4d992b2448e581c7707d4c6478f7' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/IndexViewPreProcess.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10994142646911893c128112-56929684',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911893c16615',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911893c16615')) {function content_6911893c16615($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
|
||||
<div class="container-fluid app-nav">
|
||||
<div class="row">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-60' tabindex='-1' role='dialog' aria-hidden='true'>
|
||||
<div class="data">
|
||||
</div>
|
||||
<div class="modal-dialog">
|
||||
</div>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:20
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:43:05
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Pagination.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:13903061416905d0d4169863-32819651%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:66916092869077c09945587-82606806%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '13903061416905d0d4169863-32819651',
|
||||
'nocache_hash' => '66916092869077c09945587-82606806',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -30,9 +30,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d417756',
|
||||
'unifunc' => 'content_69077c09952d0',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d417756')) {function content_6905d0d417756($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_69077c09952d0')) {function content_69077c09952d0($_smarty_tpl) {?>
|
||||
<?php if (!$_smarty_tpl->tpl_vars['CLASS_VIEW_ACTION']->value){?>
|
||||
<?php $_smarty_tpl->tpl_vars['CLASS_VIEW_ACTION'] = new Smarty_variable('listViewActions', null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['CLASS_VIEW_PAGING_INPUT'] = new Smarty_variable('listViewPagingInput', null, 0);?>
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 22:07:43
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Config.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:260780014691237fff2ffb4-56114873%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'52f81ea0e581b44f31a0f501a3caef4613886128' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Config.tpl',
|
||||
1 => 1761208151,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '260780014691237fff2ffb4-56114873',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'workflowData' => 0,
|
||||
'WorkflowObjectHTML' => 0,
|
||||
'html' => 0,
|
||||
'workflowID' => 0,
|
||||
'maxConnections' => 0,
|
||||
'COPYHASH' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691237fff3b1c',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691237fff3b1c')) {function content_691237fff3b1c($_smarty_tpl) {?><link rel="stylesheet" href="<?php echo @PATH_CONTEXTMENU;?>
|
||||
/src/jquery.contextMenu.css" type="text/css" media="all" />
|
||||
|
||||
<script type="text/javascript" src="<?php echo @PATH_CONTEXTMENU;?>
|
||||
/src/jquery.contextMenu.js"></script>
|
||||
|
||||
<script type="text/javascript" src="<?php echo @FILE_JSPLUMB;?>
|
||||
"></script>
|
||||
|
||||
<script src="modules/Workflow2/views/resources/js/jscolor/jscolor.js" type="text/javascript"></script>
|
||||
|
||||
<script src="<?php echo @PATH_CKEDITOR;?>
|
||||
/ckeditor.js"></script>
|
||||
<script type="text/javascript">
|
||||
CKEDITOR.disableAutoInline = true;
|
||||
</script>
|
||||
|
||||
<div style="height:1024px;position:relative;" id="mainWfContainer">
|
||||
<input type="text" id="colorPickerElement" style="display:none;">
|
||||
<div id='mainModelWindow' style='position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(modules/Workflow2/icons/modal_white.png);z-index:270;'>
|
||||
<div style="margin:150px auto;text-align:center;font-weight:bold;color:#aaa;font-size:18px;"><<?php ?>?php echo getTranslatedString("LOADING_INDICATOR", "Workflow2"); ?<?php ?>></div>
|
||||
</div>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['workflowData']->value['module_name']==''){?>
|
||||
<div style="position:absolute;left: 50%;margin-left:-200px;top:200px;font-size:20px; color:#bbb;font-weight:bold;width:400px;"><?php echo vtranslate("Please choose a Main module!","Settings:Workflow2");?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div id="workflowDesignContainer" class="workflowDesignContainer noselect contentsDiv" style="<?php if ($_smarty_tpl->tpl_vars['workflowData']->value['module_name']==''){?>display:none;<?php }?>">
|
||||
<div style="position:absolute;width:100%;z-index:1000;" id='workflowObjectsContainer'><?php echo $_smarty_tpl->tpl_vars['WorkflowObjectHTML']->value;?>
|
||||
</div>
|
||||
|
||||
<div style="position:absolute;width:100%;" id="WFTaskContainer" class="noselect">
|
||||
<?php echo $_smarty_tpl->tpl_vars['html']->value;?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var workflow_data = <?php if (isset($_smarty_tpl->tpl_vars['workflowData']->value)&&$_smarty_tpl->tpl_vars['workflowData']->value){?><?php echo json_encode($_smarty_tpl->tpl_vars['workflowData']->value);?>
|
||||
<?php }else{ ?>{}<?php }?>;
|
||||
var workflow_id = <?php echo (($tmp = @$_smarty_tpl->tpl_vars['workflowID']->value)===null||$tmp==='' ? 0 : $tmp);?>
|
||||
;
|
||||
var maxConnections = <?php echo (($tmp = @$_smarty_tpl->tpl_vars['maxConnections']->value)===null||$tmp==='' ? 0 : $tmp);?>
|
||||
;
|
||||
var copyHash = <?php if (!empty($_smarty_tpl->tpl_vars['COPYHASH']->value)){?>'<?php echo $_smarty_tpl->tpl_vars['COPYHASH']->value;?>
|
||||
'<?php }else{ ?>null<?php }?>;
|
||||
|
||||
// Диагностика для отладки
|
||||
if(!workflow_data || typeof workflow_data !== 'object') {
|
||||
console.error('ОШИБКА: workflow_data не является объектом!', workflow_data);
|
||||
workflow_data = {};
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id='modalWindow' style='display:none;'></div><?php }} ?>
|
||||
@@ -0,0 +1,126 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-04 18:39:39
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/History.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1218169379690a1e3b656ea0-04259021%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'541b061e38c8ed5ce7f81547fe4a249b9a1b91fc' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/History.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1218169379690a1e3b656ea0-04259021',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'WIDGET' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'CURRENT_USER' => 0,
|
||||
'ACCESSIBLE_USERS' => 0,
|
||||
'USER_ID' => 0,
|
||||
'CURRENT_USER_ID' => 0,
|
||||
'USER_NAME' => 0,
|
||||
'COMMENTS_MODULE_MODEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690a1e3b668ee',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690a1e3b668ee')) {function content_690a1e3b668ee($_smarty_tpl) {?>
|
||||
<div class="dashboardWidgetHeader clearfix">
|
||||
<div class="title">
|
||||
<div class="dashboardTitle" title="<?php echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
"><b> <?php echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle());?>
|
||||
</b></div>
|
||||
</div>
|
||||
<div class="userList">
|
||||
<?php $_smarty_tpl->tpl_vars['CURRENT_USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER']->value->getId(), null, 0);?>
|
||||
<?php if (count($_smarty_tpl->tpl_vars['ACCESSIBLE_USERS']->value)>1){?>
|
||||
<select class="select2 widgetFilter col-lg-3 reloadOnChange" name="type">
|
||||
<option value="all" selected><?php echo vtranslate('All',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</option>
|
||||
<?php $_smarty_tpl->tpl_vars['USER_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['USER_NAME']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['ACCESSIBLE_USERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['USER_NAME']->key => $_smarty_tpl->tpl_vars['USER_NAME']->value){
|
||||
$_smarty_tpl->tpl_vars['USER_NAME']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['USER_ID']->value = $_smarty_tpl->tpl_vars['USER_NAME']->key;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['USER_ID']->value;?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['USER_ID']->value==$_smarty_tpl->tpl_vars['CURRENT_USER_ID']->value){?>
|
||||
<?php echo vtranslate('LBL_MINE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
|
||||
|
||||
<?php }?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php }else{ ?>
|
||||
<center><?php echo vtranslate('LBL_MY',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo vtranslate('History',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</center>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dashboardWidgetContent" style="padding-top:15px;">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/HistoryContents.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="widgeticons dashBoardWidgetFooter">
|
||||
<div class="filterContainer boxSizingBorderBox">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-sm-12">
|
||||
<div class="col-lg-4">
|
||||
<span><strong><?php echo vtranslate('LBL_SHOW',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong></span>
|
||||
</div>
|
||||
<div class="col-lg-7">
|
||||
<?php if ($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('DetailView')){?>
|
||||
<label class="radio-group cursorPointer">
|
||||
<input type="radio" name="historyType" class="widgetFilter reloadOnChange cursorPointer" value="comments" /> <?php echo vtranslate('LBL_COMMENTS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
|
||||
</label><br>
|
||||
<?php }?>
|
||||
<label class="radio-group cursorPointer">
|
||||
<input type="radio" name="historyType" class="widgetFilter reloadOnChange cursorPointer" value="updates" />
|
||||
<span><?php echo vtranslate('LBL_UPDATES',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</span>
|
||||
</label><br>
|
||||
<label class="radio-group cursorPointer">
|
||||
<input type="radio" name="historyType" class="widgetFilter reloadOnChange cursorPointer" value="all" checked="" /> <?php echo vtranslate('LBL_BOTH',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<span class="col-lg-4">
|
||||
<span>
|
||||
<strong><?php echo vtranslate('LBL_SELECT_DATE_RANGE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</span>
|
||||
</span>
|
||||
<span class="col-lg-7">
|
||||
<div class="input-daterange input-group dateRange widgetFilter" id="datepicker" name="modifiedtime">
|
||||
<input type="text" class="input-sm form-control" name="start" style="height:30px;"/>
|
||||
<span class="input-group-addon">to</span>
|
||||
<input type="text" class="input-sm form-control" name="end" style="height:30px;"/>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footerIcons pull-right">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashboardFooterIcons.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SETTING_EXIST'=>true), 0);?>
|
||||
|
||||
</div>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-04 18:39:39
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/WidgetHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1853930077690a1e3b97ad21-37871155%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'547d2edf7dd9c78740f2abaca7b565d6028c0103' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/dashboards/WidgetHeader.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1853930077690a1e3b97ad21-37871155',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'STYLES' => 0,
|
||||
'cssModel' => 0,
|
||||
'SCRIPTS' => 0,
|
||||
'jsModel' => 0,
|
||||
'WIDGET' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690a1e3b98812',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690a1e3b98812')) {function content_690a1e3b98812($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars['cssModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cssModel']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['STYLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['cssModel']->key => $_smarty_tpl->tpl_vars['cssModel']->value){
|
||||
$_smarty_tpl->tpl_vars['cssModel']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['cssModel']->key;
|
||||
?><link rel="<?php echo $_smarty_tpl->tpl_vars['cssModel']->value->getRel();?>
|
||||
" href="<?php echo $_smarty_tpl->tpl_vars['cssModel']->value->getHref();?>
|
||||
" type="<?php echo $_smarty_tpl->tpl_vars['cssModel']->value->getType();?>
|
||||
" media="<?php echo $_smarty_tpl->tpl_vars['cssModel']->value->getMedia();?>
|
||||
" /><?php } ?><?php $_smarty_tpl->tpl_vars['jsModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['jsModel']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['SCRIPTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['jsModel']->key => $_smarty_tpl->tpl_vars['jsModel']->value){
|
||||
$_smarty_tpl->tpl_vars['jsModel']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['jsModel']->key;
|
||||
?><script type="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getType();?>
|
||||
" src="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getSrc();?>
|
||||
"></script><?php } ?><div class="title clearfix"><div class="dashboardTitle" title="<?php echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
" style="width: 25em;"><b><?php echo htmlspecialchars(vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), ENT_QUOTES, 'UTF-8', true);?>
|
||||
</b></div></div><?php }} ?>
|
||||
@@ -0,0 +1,128 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-04 18:39:42
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/dashboards/TicketsByStatus.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1727977030690a1e3e6b6a93-48365384%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'56b4fb7300e628ca824451f8af4d7c50873a13d7' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/dashboards/TicketsByStatus.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1727977030690a1e3e6b6a93-48365384',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE_NAME' => 0,
|
||||
'CURRENTUSER' => 0,
|
||||
'CURRENT_USER_ID' => 0,
|
||||
'ALL_ACTIVEUSER_LIST' => 0,
|
||||
'OWNER_ID' => 0,
|
||||
'OWNER_NAME' => 0,
|
||||
'ALL_ACTIVEGROUP_LIST' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690a1e3e70f29',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690a1e3e70f29')) {function content_690a1e3e70f29($_smarty_tpl) {?>
|
||||
<script type="text/javascript">
|
||||
Vtiger_Barchat_Widget_Js('Vtiger_TicketsByStatus_Widget_Js',{},{});
|
||||
</script>
|
||||
|
||||
<div class="dashboardWidgetHeader">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/WidgetHeader.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SETTING_EXIST'=>true), 0);?>
|
||||
|
||||
</div>
|
||||
<div class="dashboardWidgetContent">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashBoardWidgetContents.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
<div class="widgeticons dashBoardWidgetFooter">
|
||||
<div class="filterContainer">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<span class="col-lg-4">
|
||||
<span>
|
||||
<strong><?php echo vtranslate('Created Time',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php echo vtranslate('LBL_BETWEEN',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</span>
|
||||
</span>
|
||||
<div class="col-lg-7">
|
||||
<div class="input-daterange input-group dateRange widgetFilter" id="datepicker" name="createdtime">
|
||||
<input type="text" class="input-sm form-control" name="start" style="height:30px;"/>
|
||||
<span class="input-group-addon">to</span>
|
||||
<input type="text" class="input-sm form-control" name="end" style="height:30px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<span class="col-lg-4">
|
||||
<span>
|
||||
<strong><?php echo vtranslate('Assigned To',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</strong>
|
||||
</span>
|
||||
</span>
|
||||
<span class="col-lg-7">
|
||||
<?php $_smarty_tpl->tpl_vars['CURRENT_USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getId(), null, 0);?>
|
||||
<select class="select2 col-sm-12 widgetFilter reloadOnChange" name="owner">
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['CURRENT_USER_ID']->value;?>
|
||||
"><?php echo vtranslate('LBL_MINE');?>
|
||||
</option>
|
||||
<option value=""><?php echo vtranslate('LBL_ALL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</option>
|
||||
<?php $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getAccessibleUsers(), null, 0);?>
|
||||
<?php if (count($_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST']->value)>1){?>
|
||||
<optgroup label="<?php echo vtranslate('LBL_USERS');?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['OWNER_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['OWNER_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['OWNER_NAME']->key => $_smarty_tpl->tpl_vars['OWNER_NAME']->value){
|
||||
$_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['OWNER_ID']->value = $_smarty_tpl->tpl_vars['OWNER_NAME']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['OWNER_ID']->value!=$_smarty_tpl->tpl_vars['CURRENT_USER_ID']->value){?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['OWNER_ID']->value;?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['OWNER_NAME']->value;?>
|
||||
</option>
|
||||
<?php }?>
|
||||
<?php } ?>
|
||||
</optgroup>
|
||||
<?php }?>
|
||||
<?php $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getAccessibleGroups(), null, 0);?>
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST']->value)){?>
|
||||
<optgroup label="<?php echo vtranslate('LBL_GROUPS');?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['OWNER_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['OWNER_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['OWNER_NAME']->key => $_smarty_tpl->tpl_vars['OWNER_NAME']->value){
|
||||
$_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['OWNER_ID']->value = $_smarty_tpl->tpl_vars['OWNER_NAME']->key;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['OWNER_ID']->value;?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['OWNER_NAME']->value;?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</optgroup>
|
||||
<?php }?>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footerIcons pull-right">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashboardFooterIcons.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SETTING_EXIST'=>true), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 19:25:34
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/DetailViewHeaderTitle.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:174820556690785fe0f9bc4-81323586%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5766b3975ed9cf69f01d8fb831a43f9a32f05211' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/DetailViewHeaderTitle.tpl',
|
||||
1 => 1762096901,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '174820556690785fe0f9bc4-81323586',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'RECORD' => 0,
|
||||
'NAME_FIELD' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690785fe1500a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690785fe1500a')) {function content_690785fe1500a($_smarty_tpl) {?>
|
||||
<div class="col-sm-6 col-lg-6 col-md-6"><div class="record-header clearfix"><div class="hidden-sm hidden-xs recordImage bghelpdesk app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><div class="name"><span><strong><?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getModuleIcon();?>
|
||||
</strong></span></div></div><div class="recordBasicInfo"><div class="info-row"><h4><span class="recordLabel pushDown" title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
"><?php $_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value){
|
||||
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()){?><span class="<?php echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value);?>
|
||||
</span> <?php }?><?php } ?></span></h4></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeaderFieldsView.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<div class="info-row" style="margin-top: 10px;"><button type="button" class="btn btn-info btn-sm" onclick="openRecordFolder('HelpDesk', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("ticket_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
')" title="Открыть папку тикета в Nextcloud"><i class="fa fa-folder-open"></i> Папка в Nextcloud</button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('HelpDesk', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("ticket_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'docx')" title="Создать Word документ" style="margin-left: 5px;"><i class="fa fa-file-word-o" style="color: #2b579a;"></i></button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('HelpDesk', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("ticket_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'xlsx')" title="Создать Excel таблицу" style="margin-left: 2px;"><i class="fa fa-file-excel-o" style="color: #217346;"></i></button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('HelpDesk', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("ticket_no"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'pptx')" title="Создать PowerPoint презентацию" style="margin-left: 2px;"><i class="fa fa-file-powerpoint-o" style="color: #d24726;"></i></button></div><script type="text/javascript" src="crm_extensions/nextcloud_editor/js/nextcloud-editor.js?v=20251102c"></script></div></div></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/Topbar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1259268226905d072416912-11969619%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:2068410664690777d7f34e56-78924895%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1259268226905d072416912-11969619',
|
||||
'nocache_hash' => '2068410664690777d7f34e56-78924895',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -38,9 +38,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0724596c',
|
||||
'unifunc' => 'content_690777d803294',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0724596c')) {function content_6905d0724596c($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d803294')) {function content_690777d803294($_smarty_tpl) {?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/Header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['APP_IMAGE_MAP'] = new Smarty_variable(Vtiger_MenuStructure_Model::getAppIcons(), null, 0);?><nav class="navbar navbar-default navbar-fixed-top app-fixed-navbar"><div class="container-fluid global-nav"><div class="row"><div class="col-lg-3 col-md-3 col-sm-3 app-navigator-container"><div class="row"><div id="appnavigator" class="col-sm-2 col-xs-2 cursorPointer app-switcher-container" data-app-class="<?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Home'||!$_smarty_tpl->tpl_vars['MODULE']->value){?>fa-dashboard<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['APP_IMAGE_MAP']->value[$_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value];?>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 19:25:34
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/DetailViewSummaryContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1313896106690785fe2b58c9-42789668%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'59b178fc6d5546cd27d9149072066b795fc26c00' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/DetailViewSummaryContents.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1313896106690785fe2b58c9-42789668',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690785fe2b91b',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690785fe2b91b')) {function content_690785fe2b91b($_smarty_tpl) {?>
|
||||
<form id="detailView" method="POST"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('SummaryViewWidgets.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</form><?php }} ?>
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:49:06
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/PopupContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:25282996069118ae222fd90-27655010%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5aac4b67b593d4384e01fba4de8ebff08f04afa8' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/PopupContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '25282996069118ae222fd90-27655010',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'PAGE_NUMBER' => 0,
|
||||
'PAGING_MODEL' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
'LISTVIEW_COUNT' => 0,
|
||||
'GETURL' => 0,
|
||||
'SEARCH_DETAILS' => 0,
|
||||
'ORDER_BY' => 0,
|
||||
'SORT_ORDER' => 0,
|
||||
'SOURCE_MODULE' => 0,
|
||||
'CURRENT_USER_MODEL' => 0,
|
||||
'MULTI_SELECT' => 0,
|
||||
'WIDTHTYPE' => 0,
|
||||
'LISTVIEW_HEADERS' => 0,
|
||||
'LISTVIEW_HEADER' => 0,
|
||||
'NEXT_SORT_ORDER' => 0,
|
||||
'FASORT_IMAGE' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'FIELD_UI_TYPE_MODEL' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'LISTVIEW_ENTRIES' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'RECORD_DATA' => 0,
|
||||
'LISTVIEW_HEADERNAME' => 0,
|
||||
'CURRENCY_SYMBOL_PLACEMENT' => 0,
|
||||
'LISTVIEW_ENTRY_VALUE' => 0,
|
||||
'MULTI_RAW_PICKLIST_VALUES' => 0,
|
||||
'MULTI_PICKLIST_VALUE' => 0,
|
||||
'MULTI_PICKLIST_INDEX' => 0,
|
||||
'MULTI_PICKLIST_VALUES' => 0,
|
||||
'IS_MODULE_DISABLED' => 0,
|
||||
'RELATED_MODULE' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118ae227b28',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118ae227b28')) {function content_69118ae227b28($_smarty_tpl) {?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("PicklistColorMap.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<div class="row"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('PopupNavigation.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div><div class="row"><div class="col-md-12"><input type='hidden' id='pageNumber' value="<?php echo $_smarty_tpl->tpl_vars['PAGE_NUMBER']->value;?>
|
||||
"><input type='hidden' id='pageLimit' value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getPageLimit();?>
|
||||
"><input type="hidden" id="noOfEntries" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value;?>
|
||||
"><input type="hidden" id="pageStartRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordStartRange();?>
|
||||
" /><input type="hidden" id="pageEndRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordEndRange();?>
|
||||
" /><input type="hidden" id="previousPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isPrevPageExists();?>
|
||||
" /><input type="hidden" id="nextPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isNextPageExists();?>
|
||||
" /><input type="hidden" id="totalCount" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_COUNT']->value;?>
|
||||
" /><?php if ($_smarty_tpl->tpl_vars['GETURL']->value){?><input type="hidden" id="getUrl" value="<?php echo $_smarty_tpl->tpl_vars['GETURL']->value;?>
|
||||
" /><?php }?><input type="hidden" value="<?php echo Vtiger_Util_Helper::toSafeHTML(Zend_JSON::encode($_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value));?>
|
||||
" id="currentSearchParams" /><div class="contents-topscroll"><div class="topscroll-div"> </div></div><div class="popupEntriesDiv relatedContents"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['ORDER_BY']->value;?>
|
||||
" id="orderBy"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['SORT_ORDER']->value;?>
|
||||
" id="sortOrder"><?php if ($_smarty_tpl->tpl_vars['SOURCE_MODULE']->value=="Emails"){?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value!='Documents'){?><input type="hidden" value="Vtiger_EmailsRelatedModule_Popup_Js" id="popUpClassName"/><?php }?><?php }?><?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('rowheight'), null, 0);?><div class="popupEntriesTableContainer <?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='EmailTemplates'){?> emailTemplatesPopupTableContainer<?php }?>"><table class="listview-table table-bordered listViewEntriesTable"><thead><tr class="listViewHeaders"><?php if ($_smarty_tpl->tpl_vars['MULTI_SELECT']->value){?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><input type="checkbox" class="selectAllInCurrentPage" /></th><?php }elseif($_smarty_tpl->tpl_vars['MODULE']->value!='EmailTemplates'){?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"> </th><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><a href="javascript:void(0);" class="listViewContentHeaderValues listViewHeaderValues <?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')=='listprice'){?> noSorting <?php }?>" data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['ORDER_BY']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
|
||||
<?php }else{ ?>ASC<?php }?>" data-columnname="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name');?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['ORDER_BY']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?><i class="fa fa-sort <?php echo $_smarty_tpl->tpl_vars['FASORT_IMAGE']->value;?>
|
||||
"></i><?php }else{ ?><i class="fa fa-sort customsort"></i><?php }?> <?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></th><?php } ?></tr></thead><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value&&$_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isQuickSearchEnabled()){?><tr class="searchRow"><td class="textAlignCenter"><button class="btn btn-success" data-trigger="PopupListSearch"><?php echo vtranslate('LBL_SEARCH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button></td><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?><td><?php $_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getUITypeModel(), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL']->value->getListSearchTemplateName(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value,'SEARCH_INFO'=>$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getName()],'USER_MODEL'=>$_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value), 0);?>
|
||||
</td><?php } ?></tr><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['popupListView']['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->key => $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['popupListView']['index']++;
|
||||
?><?php $_smarty_tpl->tpl_vars["RECORD_DATA"] = new Smarty_variable(($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRawData()), null, 0);?><tr class="listViewEntries" data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='EmailTemplates'){?> data-name="<?php echo $_smarty_tpl->tpl_vars['RECORD_DATA']->value['subject'];?>
|
||||
" data-info="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('body');?>
|
||||
" <?php }else{ ?> data-name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getName();?>
|
||||
" data-info='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRawData()));?>
|
||||
' <?php }?><?php if ($_smarty_tpl->tpl_vars['GETURL']->value!=''){?> data-url='<?php $_tmp1=$_smarty_tpl->tpl_vars['GETURL']->value;?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->$_tmp1();?>
|
||||
' <?php }?> id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_popUpListView_row_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['popupListView']['index']+1;?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['MULTI_SELECT']->value){?><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><input class="entryCheckBox" type="checkbox" /></td><?php }elseif($_smarty_tpl->tpl_vars['MODULE']->value!='EmailTemplates'){?><td></td><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value), null, 0);?><td class="listViewEntryValue value textOverflowEllipsis <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['RECORD_DATA']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value];?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->isNameField()==true||$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='4'){?><a><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
</a><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='72'){?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('currency_symbol_placement');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CURRENCY_SYMBOL_PLACEMENT'] = new Smarty_variable($_tmp2, null, 0);?><?php if ($_smarty_tpl->tpl_vars['CURRENCY_SYMBOL_PLACEMENT']->value=='1.0$'){?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('currencySymbol');?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('currencySymbol');?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php }?><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='listprice'){?><?php echo CurrencyField::convertToUserFormat($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value),null,true,true);?>
|
||||
<?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='picklist'){?><span <?php if (!empty($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value)){?> class="picklist-color picklist-<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
-<?php echo Vtiger_Util_Helper::convertSpaceToHyphen($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRaw($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value));?>
|
||||
" <?php }?>> <?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value;?>
|
||||
</span><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getFieldDataType()=='multipicklist'){?><?php $_smarty_tpl->tpl_vars['MULTI_RAW_PICKLIST_VALUES'] = new Smarty_variable(explode('|##|',$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRaw($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value)), null, 0);?><?php $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['MULTI_RAW_PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value = $_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->key;
|
||||
?><span <?php if (!empty($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value)){?> class="picklist-color picklist-<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getId();?>
|
||||
-<?php echo Vtiger_Util_Helper::convertSpaceToHyphen(trim($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUE']->value));?>
|
||||
" <?php }?>> <?php echo trim($_smarty_tpl->tpl_vars['MULTI_PICKLIST_VALUES']->value[$_smarty_tpl->tpl_vars['MULTI_PICKLIST_INDEX']->value]);?>
|
||||
</span><?php } ?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php }?></td><?php } ?></tr><?php } ?></table></div><!--added this div for Temporarily --><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?><div class="row"><div class="emptyRecordsDiv"><?php if ($_smarty_tpl->tpl_vars['IS_MODULE_DISABLED']->value=='true'){?><?php echo vtranslate($_smarty_tpl->tpl_vars['RELATED_MODULE']->value,$_smarty_tpl->tpl_vars['RELATED_MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_MODULE_DISABLED',$_smarty_tpl->tpl_vars['RELATED_MODULE']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_NO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['RELATED_MODULE']->value,$_smarty_tpl->tpl_vars['RELATED_MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_FOUND',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
.<?php }?></div></div><?php }?><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var popup_uimeta = (function() {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function(name, property) {if(name && property === undefined) {return fieldInfo[name];}if(name && property) {return fieldInfo[name][property]}},isMandatory : function(name){if(fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType : function(name){if(fieldInfo[name]) {return fieldInfo[name].type}return false;}},};})();</script><?php }?></div></div></div>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:49
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:21
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouQuickReminder" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1289842566905d079148a25-01914584%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:283942934690777e1930ef7-57024061%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,12 +11,12 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1289842566905d079148a25-01914584',
|
||||
'nocache_hash' => '283942934690777e1930ef7-57024061',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d079148e9',
|
||||
'unifunc' => 'content_690777e19323a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d079148e9')) {function content_6905d079148e9($_smarty_tpl) {?><?php }} ?>
|
||||
<?php if ($_valid && !is_callable('content_690777e19323a')) {function content_690777e19323a($_smarty_tpl) {?><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10441773636905d072577354-78959006%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1336370837690777d812f435-23206924%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10441773636905d072577354-78959006',
|
||||
'nocache_hash' => '1336370837690777d812f435-23206924',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,9 +21,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d07257a35',
|
||||
'unifunc' => 'content_690777d8132f3',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d07257a35')) {function content_6905d07257a35($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d8132f3')) {function content_690777d8132f3($_smarty_tpl) {?>
|
||||
<div class=" detailview-header-block"><div class="detailview-header"><div class="row"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeaderTitle.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewActions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div><?php }} ?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:49:06
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/FilelocationtypeFieldSearchView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:196431728669118ae22a8031-14082030%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5f4e324d8a614dbb8bc1414bd553aaf8cc08f730' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/FilelocationtypeFieldSearchView.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '196431728669118ae22a8031-14082030',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'SEARCH_INFO' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_KEY' => 0,
|
||||
'SEARCH_VALUES' => 0,
|
||||
'PICKLIST_LABEL' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118ae22b2eb',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118ae22b2eb')) {function content_69118ae22b2eb($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo()), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFileLocationType(), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue']), null, 0);?><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
|
||||
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
|
||||
' style="display:none"><?php $_smarty_tpl->tpl_vars['PICKLIST_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key => $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY']->value = $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_KEY']->value;?>
|
||||
" <?php if (in_array($_smarty_tpl->tpl_vars['PICKLIST_KEY']->value,$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value)&&($_smarty_tpl->tpl_vars['PICKLIST_KEY']->value!='')){?> selected<?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option><?php } ?></select></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:16
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-06 17:36:22
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Contacts/SummaryViewWidgets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:9271755826905d0d06c3833-35008880%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:127679686690cb266551b82-60432040%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '9271755826905d0d06c3833-35008880',
|
||||
'nocache_hash' => '127679686690cb266551b82-60432040',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -29,9 +29,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d06d624',
|
||||
'unifunc' => 'content_690cb26656a53',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d06d624')) {function content_6905d0d06d624($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690cb26656a53')) {function content_690cb26656a53($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEWWIDGET']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->key => $_smarty_tpl->tpl_vars['DETAIL_VIEW_WIDGET']->value){
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ModalHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15607279566905d07261f657-39564432%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1747476693690777d81b3cb2-75117244%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15607279566905d07261f657-39564432',
|
||||
'nocache_hash' => '1747476693690777d81b3cb2-75117244',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,8 +21,8 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d07262090',
|
||||
'unifunc' => 'content_690777d81b561',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d07262090')) {function content_6905d07262090($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d81b561')) {function content_690777d81b561($_smarty_tpl) {?>
|
||||
<div class="modal-header"><div class="clearfix"><div class="pull-right " ><button type="button" class="close" aria-label="Close" data-dismiss="modal"><span aria-hidden="true" class='fa fa-close'></span></button></div><h4 class="pull-left"><?php echo $_smarty_tpl->tpl_vars['TITLE']->value;?>
|
||||
</h4></div></div> <?php }} ?>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/SettingsMenuEnd.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:107610548269118247319489-06054423%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'61cec0bf08d8b5a64c705524198d039d8f6f29ac' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/SettingsMenuEnd.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '107610548269118247319489-06054423',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118247319b6',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118247319b6')) {function content_69118247319b6($_smarty_tpl) {?>
|
||||
</div></div><?php }} ?>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:21:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/partials/SidebarHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:45722360869085801829f40-59223119%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'64fe938e6c62a558ee641c6e2f388e34e57dff2a' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/partials/SidebarHeader.tpl',
|
||||
1 => 1711810496,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '45722360869085801829f40-59223119',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6908580182e91',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6908580182e91')) {function content_6908580182e91($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['APP_IMAGE_MAP'] = new Smarty_variable(Vtiger_MenuStructure_Model::getAppIcons(), null, 0);?>
|
||||
<div class="col-sm-12 col-xs-12 app-indicator-icon-container app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
moduleIcon">
|
||||
<div class="row" title="<?php echo vtranslate("Documents",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
">
|
||||
<span class="app-indicator-icon fa vicon-documents"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/SidebarAppMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:47
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:21
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/File.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:16725136076905d0779c2a15-94647309%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:604144910690777e11c4b70-44203887%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '16725136076905d0779c2a15-94647309',
|
||||
'nocache_hash' => '604144910690777e11c4b70-44203887',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -28,9 +28,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0779da53',
|
||||
'unifunc' => 'content_690777e11d86c',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0779da53')) {function content_6905d0779da53($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777e11d86c')) {function content_690777e11d86c($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><div class="fileUploadContainer text-left"><div class="fileUploadBtn btn btn-sm btn-primary"><span><i class="fa fa-laptop"></i> <?php echo vtranslate('LBL_ATTACH_FILES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</span><input type="file" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:28:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/Login.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2132945674690778842cca69-52638627%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'67c61e3a9bace2508da27932e7c0bac43cec5a9e' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/Login.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2132945674690778842cca69-52638627',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'ERROR' => 0,
|
||||
'MESSAGE' => 0,
|
||||
'MAIL_STATUS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690778842e0b9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690778842e0b9')) {function content_690778842e0b9($_smarty_tpl) {?>
|
||||
|
||||
|
||||
<style>body {background: url(layouts/v7/resources/Images/login-background.jpg);background-position: center;background-size: cover;width: 100%;height: 96%;background-repeat: no-repeat;}hr {margin-top: 15px;background-color: #7C7C7C;height: 2px;border-width: 0;}h3, h4 {margin-top: 0px;}hgroup {text-align:center;margin-top: 4em;}input {font-size: 16px;padding: 10px 10px 10px 0px;-webkit-appearance: none;display: block;color: #636363;width: 100%;border: none;border-radius: 0;border-bottom: 1px solid #757575;}input:focus {outline: none;}label {font-size: 16px;font-weight: normal;position: absolute;pointer-events: none;left: 0px;top: 10px;transition: all 0.2s ease;}input:focus ~ label, input.used ~ label {top: -20px;transform: scale(.75);left: -12px;font-size: 18px;}input:focus ~ .bar:before, input:focus ~ .bar:after {width: 50%;}#page {padding-top: 6%;}.widgetHeight {height: 410px;margin-top: 20px !important;}.loginDiv {width: 380px;margin: 0 auto;border-radius: 4px;box-shadow: 0 0 10px gray;background-color: #FFFFFF;}.marketingDiv {color: #303030;}.separatorDiv {background-color: #7C7C7C;width: 2px;height: 460px;margin-left: 20px;}.user-logo {margin: 0 auto;padding-top: 40px;padding-bottom: 20px;}.blockLink {border: 1px solid #303030;padding: 3px 5px;}.group {position: relative;margin: 20px 20px 40px;}.failureMessage {color: red;display: block;text-align: center;padding: 0px 0px 10px;}.successMessage {color: green;display: block;text-align: center;padding: 0px 0px 10px;}.inActiveImgDiv {padding: 5px;text-align: center;margin: 30px 0px;}.app-footer p {margin-top: 0px;}.footer {background-color: #fbfbfb;height:26px;}.bar {position: relative;display: block;width: 100%;}.bar:before, .bar:after {content: '';width: 0;bottom: 1px;position: absolute;height: 1px;background: #35aa47;transition: all 0.2s ease;}.bar:before {left: 50%;}.bar:after {right: 50%;}.button {position: relative;display: inline-block;padding: 9px;margin: .3em 0 1em 0;width: 100%;vertical-align: middle;color: #fff;font-size: 16px;line-height: 20px;-webkit-font-smoothing: antialiased;text-align: center;letter-spacing: 1px;background: transparent;border: 0;cursor: pointer;transition: all 0.15s ease;}.button:focus {outline: 0;}.buttonBlue {background-image: linear-gradient(to bottom, #35aa47 0px, #35aa47 100%)}.ripples {position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;background: transparent;}.linksNavBar {position: absolute;top: 0px;right: 15px;}.helpLinks{float: right;margin-top: 20px;background: #efefef;border: 1px solid #fff;padding: 5px;border-radius: 5px;box-shadow: -2px 0 3px;}.helpLinks a{padding: 10px;}//Animations@keyframes inputHighlighter {from {background: #4a89dc;}to {width: 0;background: transparent;}}@keyframes ripples {0% {opacity: 0;}25% {opacity: 1;}100% {width: 200%;padding-bottom: 200%;opacity: 0;}}</style><div class="linksNavBar"><div class="helpLinks"><a href="http://community.salesplatform.ru/"><?php echo vtranslate('LBL_COMMUNITY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a> |<a href="http://community.salesplatform.ru/forums/"><?php echo vtranslate('LBL_FORUMS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a> |<a href="http://salesplatform.ru/wiki/index.php/SalesPlatform_vtiger_crm_7"><?php echo vtranslate('LBL_WIKI',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a> |<a href="http://community.salesplatform.ru/blogs/"><?php echo vtranslate('LBL_BLOGS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a> |<a href="http://salesplatform.ru/">SalesPlatform.ru</a></div></div><span class="app-nav"></span><div class="col-lg-12"><div class="loginDiv widgetHeight"><img class="img-responsive user-logo" src="layouts/v7/resources/Images/logo.png"><div><span class="<?php if (!$_smarty_tpl->tpl_vars['ERROR']->value){?>hide<?php }?> failureMessage" id="validationMessage"><?php echo $_smarty_tpl->tpl_vars['MESSAGE']->value;?>
|
||||
</span><span class="<?php if (!$_smarty_tpl->tpl_vars['MAIL_STATUS']->value){?>hide<?php }?> successMessage"><?php echo $_smarty_tpl->tpl_vars['MESSAGE']->value;?>
|
||||
</span></div><div id="loginFormDiv"><form class="form-horizontal" method="POST" action="index.php"><input type="hidden" name="module" value="Users"/><input type="hidden" name="action" value="Login"/><div class="group"><input id="username" type="text" name="username"><span class="bar"></span><label><?php echo vtranslate('User Name',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="group"><input id="password" type="password" name="password"><span class="bar"></span><label><?php echo vtranslate('Password',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="group"><button type="submit" class="button buttonBlue"><?php echo vtranslate('LBL_SING_IN',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button><br><a class="forgotPasswordLink" style="color: #15c;"><?php echo vtranslate('ForgotPassword',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div></form></div><div id="forgotPasswordDiv" class="hide"><form class="form-horizontal" action="forgotPassword.php" method="POST"><div class="group"><input id="username" type="text" name="username"><span class="bar"></span><label><?php echo vtranslate('User Name',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label></div><div class="group"><input id="email" type="email" name="emailId"><span class="bar"></span><label>E-mail</label></div><div class="group"><button type="submit" class="button buttonBlue forgot-submit-btn"><?php echo vtranslate('LBL_SUBMIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button><br><span><?php echo vtranslate('LBL_ENTER_AND_SUBMIT_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<a class="forgotPasswordLink pull-right" style="color: #15c;"><?php echo vtranslate('LBL_BACK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></span></div></form></div></div></div><script>jQuery(document).ready(function () {var validationMessage = jQuery('#validationMessage');var forgotPasswordDiv = jQuery('#forgotPasswordDiv');var loginFormDiv = jQuery('#loginFormDiv');loginFormDiv.find('#password').focus();loginFormDiv.find('a').click(function () {loginFormDiv.toggleClass('hide');forgotPasswordDiv.toggleClass('hide');validationMessage.addClass('hide');});forgotPasswordDiv.find('a').click(function () {loginFormDiv.toggleClass('hide');forgotPasswordDiv.toggleClass('hide');validationMessage.addClass('hide');});loginFormDiv.find('button').on('click', function () {var username = loginFormDiv.find('#username').val();var password = jQuery('#password').val();var result = true;var errorMessage = '';if (username === '') {errorMessage = 'Please enter valid username';result = false;} else if (password === '') {errorMessage = 'Please enter valid password';result = false;}if (errorMessage) {validationMessage.removeClass('hide').text(errorMessage);}return result;});forgotPasswordDiv.find('button').on('click', function () {var username = jQuery('#forgotPasswordDiv #fusername').val();var email = jQuery('#email').val();var email1 = email.replace(/^\s+/, '').replace(/\s+$/, '');var emailFilter = /^[^@]+@[^@.]+\.[^@]*\w\w$/;var illegalChars = /[\(\)\<\>\,\;\:\\\"\[\]]/;var result = true;var errorMessage = '';if (username === '') {errorMessage = 'Please enter valid username';result = false;} else if (!emailFilter.test(email1) || email == '') {errorMessage = 'Please enter valid email address';result = false;} else if (email.match(illegalChars)) {errorMessage = 'The email address contains illegal characters.';result = false;}if (errorMessage) {validationMessage.removeClass('hide').text(errorMessage);}return result;});jQuery('input').blur(function (e) {var currentElement = jQuery(e.currentTarget);if (currentElement.val()) {currentElement.addClass('used');} else {currentElement.removeClass('used');}});var ripples = jQuery('.ripples');ripples.on('click.Ripples', function (e) {jQuery(e.currentTarget).addClass('is-active');});ripples.on('animationend webkitAnimationEnd mozAnimationEnd oanimationend MSAnimationEnd', function (e) {jQuery(e.currentTarget).removeClass('is-active');});loginFormDiv.find('#username').focus();var slider = jQuery('.bxslider').bxSlider({auto: true,pause: 4000,nextText: "",prevText: "",autoHover: true});jQuery('.bx-prev, .bx-next, .bx-pager-item').live('click',function(){ slider.startAuto(); });jQuery('.bx-wrapper .bx-viewport').css('background-color', 'transparent');jQuery('.bx-wrapper .bxslider li').css('text-align', 'left');jQuery('.bx-wrapper .bx-pager').css('bottom', '-15px');var params = {theme : 'dark-thick',setHeight : '100%',advanced : {autoExpandHorizontalScroll:true,setTop: 0}};jQuery('.scrollContainer').mCustomScrollbar(params);});</script></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:16
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:23:07
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/PhoneDetailView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:591202396905d0d05c0ff2-28838392%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:2106290086908585bea5304-40944157%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '591202396905d0d05c0ff2-28838392',
|
||||
'nocache_hash' => '2106290086908585bea5304-40944157',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -28,9 +28,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d05cc38',
|
||||
'unifunc' => 'content_6908585beb960',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d05cc38')) {function content_6905d0d05cc38($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_regex_replace')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/modifier.regex_replace.php';
|
||||
<?php if ($_valid && !is_callable('content_6908585beb960')) {function content_6908585beb960($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_regex_replace')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/modifier.regex_replace.php';
|
||||
?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['MODULE'] = new Smarty_variable('PBXManager', null, 0);?>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 17:08:28
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/RecycleBin/ListViewRecordActions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:258020226911f1dcc77378-63268075%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6e4d3ab34af8c7fdfaf9a2e061de847de3d08a21' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/RecycleBin/ListViewRecordActions.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '258020226911f1dcc77378-63268075',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SEARCH_MODE_RESULTS' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911f1dccaa09',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911f1dccaa09')) {function content_6911f1dccaa09($_smarty_tpl) {?>
|
||||
<!--LIST VIEW RECORD ACTIONS--><div class="table-actions"><?php if (!$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?><span class="input" ><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" class="listViewEntriesCheckBox"/></span><?php }?><span class="restoreRecordButton"><i title="<?php echo vtranslate('LBL_RESTORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="fa fa-refresh alignMiddle"></i></span><span class="deleteRecordButton"><i title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="fa fa-trash alignMiddle"></i></span></div><?php }} ?>
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:12:23
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ListViewContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:181364606691182472e8632-66409912%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6ee43d0397abc421f0eda9060723469ba3e17393' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Vtiger/ListViewContents.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '181364606691182472e8632-66409912',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'PAGING_MODEL' => 0,
|
||||
'LISTVIEW_COUNT' => 0,
|
||||
'ORDER_BY' => 0,
|
||||
'SORT_ORDER' => 0,
|
||||
'PAGE_NUMBER' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
'MODULE' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'CURRENT_USER_MODEL' => 0,
|
||||
'SHOW_LISTVIEW_CHECKBOX' => 0,
|
||||
'LISTVIEW_ACTIONS_ENABLED' => 0,
|
||||
'LISTVIEW_HEADERS' => 0,
|
||||
'LISTVIEW_HEADER' => 0,
|
||||
'COLUMN_NAME' => 0,
|
||||
'NEXT_SORT_ORDER' => 0,
|
||||
'SORT_IMAGE' => 0,
|
||||
'LISTVIEW_ENTRIES' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'WIDTHTYPE' => 0,
|
||||
'WIDTH' => 0,
|
||||
'LISTVIEW_HEADERNAME' => 0,
|
||||
'LAST_COLUMN' => 0,
|
||||
'COLSPAN_WIDTH' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69118247302d6',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69118247302d6')) {function content_69118247302d6($_smarty_tpl) {?>
|
||||
|
||||
<input type="hidden" id="pageStartRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordStartRange();?>
|
||||
" /><input type="hidden" id="pageEndRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordEndRange();?>
|
||||
" /><input type="hidden" id="previousPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isPrevPageExists();?>
|
||||
" /><input type="hidden" id="nextPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isNextPageExists();?>
|
||||
" /><input type="hidden" id="totalCount" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_COUNT']->value;?>
|
||||
" /><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['ORDER_BY']->value;?>
|
||||
" id="orderBy"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['SORT_ORDER']->value;?>
|
||||
" id="sortOrder"><input type="hidden" id="totalCount" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_COUNT']->value;?>
|
||||
" /><input type='hidden' value="<?php echo $_smarty_tpl->tpl_vars['PAGE_NUMBER']->value;?>
|
||||
" id='pageNumber'><input type='hidden' value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getPageLimit();?>
|
||||
" id='pageLimit'><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value;?>
|
||||
" id="noOfEntries"><div class="col-sm-12 col-xs-12 "><div id="listview-actions" class="listview-actions-container"><?php if ($_smarty_tpl->tpl_vars['MODULE']->value!='Currency'&&$_smarty_tpl->tpl_vars['MODULE']->value!='PickListDependency'&&$_smarty_tpl->tpl_vars['MODULE']->value!='CronTasks'){?><div class = "row"><div class='col-md-6'><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Tags'){?><h4 class="pull-left"><?php echo vtranslate('LBL_MY_TAGS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</h4><?php }?></div><div class="col-md-6"><?php $_smarty_tpl->tpl_vars['RECORD_COUNT'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value, null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Pagination.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SHOWPAGEJUMP'=>true), 0);?>
|
||||
</div></div><?php }?><div class="list-content row"><div class="col-sm-12 col-xs-12 "><div id="table-content" class="table-container" style="padding-top:0px !important;"><table id="listview-table" class="table listview-table"><?php $_smarty_tpl->tpl_vars["NAME_FIELDS"] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(), null, 0);?><?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('rowheight'), null, 0);?><thead><tr class="listViewContentHeader"><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Profiles'||$_smarty_tpl->tpl_vars['MODULE']->value=='Groups'||$_smarty_tpl->tpl_vars['MODULE']->value=='Webforms'||$_smarty_tpl->tpl_vars['MODULE']->value=='Currency'||$_smarty_tpl->tpl_vars['MODULE']->value=='SMSNotifier'){?><th style="width:25%"><?php echo vtranslate('LBL_ACTIONS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</th><?php }elseif($_smarty_tpl->tpl_vars['MODULE']->value!='Currency'){?><?php if ($_smarty_tpl->tpl_vars['SHOW_LISTVIEW_CHECKBOX']->value==true){?><th><span class="input"><input class="listViewEntriesMainCheckBox" type="checkbox"></span></th><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Tags'||$_smarty_tpl->tpl_vars['MODULE']->value=='CronTasks'||$_smarty_tpl->tpl_vars['LISTVIEW_ACTIONS_ENABLED']->value==true){?><th><?php echo vtranslate('LBL_ACTIONS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</th><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->total= $_smarty_tpl->_count($_from);
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->iteration=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->iteration++;
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->last = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->iteration === $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->total;
|
||||
?><th nowrap><a <?php if (!($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->has('sort'))){?> class="listViewHeaderValues cursorPointer" data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
|
||||
<?php }else{ ?>ASC<?php }?>" data-columnname="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name');?>
|
||||
" <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name')){?><img class="<?php echo $_smarty_tpl->tpl_vars['SORT_IMAGE']->value;?>
|
||||
icon-white"><?php }?></a> </th><?php } ?></tr></thead><tbody class="overflow-y"><?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->key => $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = true;
|
||||
?><tr class="listViewEntries" data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
"<?php if (method_exists($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value,'getDetailViewUrl')){?>data-recordurl="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDetailViewUrl();?>
|
||||
"<?php }?><?php if (method_exists($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value,'getRowInfo')){?>data-info="<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::Encode($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRowInfo()));?>
|
||||
"<?php }?>><td width="10%"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ListViewRecordActions.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->total= $_smarty_tpl->_count($_from);
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->iteration=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->iteration++;
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->last = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->iteration === $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->total;
|
||||
?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars['LAST_COLUMN'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->last, null, 0);?><td class="listViewEntryValue textOverflowEllipsis <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
" width="<?php echo $_smarty_tpl->tpl_vars['WIDTH']->value;?>
|
||||
%" nowrap><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDisplayValue($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['LAST_COLUMN']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRecordLinks()){?></td><?php }?></td><?php } ?></tr><?php } ?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?><tr class="emptyRecordsDiv"><?php ob_start();?><?php echo count($_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value)+1;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['COLSPAN_WIDTH'] = new Smarty_variable($_tmp1, null, 0);?><td colspan="<?php echo $_smarty_tpl->tpl_vars['COLSPAN_WIDTH']->value;?>
|
||||
" style="vertical-align:inherit !important;"><center><?php echo vtranslate('LBL_NOT_FOUND');?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</center></td></tr><?php }?></tbody></table></div><div id="scroller_wrapper" class="bottom-fixed-scroll"><div id="scroller" class="scroller-div"></div></div></div></div></div></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:42:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/DocumentsFileUpload.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15786162096911893c2b4526-59914417%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'71b4c4144c7ddf70163fb43ac88e0c85c9cb8dc1' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/DocumentsFileUpload.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15786162096911893c2b4526-59914417',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'RECORD_STRUCTURE' => 0,
|
||||
'FILE_LOCATION_TYPE_FIELD' => 0,
|
||||
'DOCUMENTS_MODULE_MODEL' => 0,
|
||||
'IS_EXTERNAL_LOCATION_TYPE' => 0,
|
||||
'FIELD_VALUE' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'MODULE' => 0,
|
||||
'IS_INTERNAL_LOCATION_TYPE' => 0,
|
||||
'MAX_UPLOAD_LIMIT_BYTES' => 0,
|
||||
'MAX_UPLOAD_LIMIT_MB' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911893c2c8f9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911893c2c8f9')) {function content_6911893c2c8f9($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value['LBL_FILE_INFORMATION']['filelocationtype'], null, 0);?><?php if ($_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD']->value==null){?><?php $_smarty_tpl->tpl_vars['DOCUMENTS_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Documents'), null, 0);?><?php $_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['DOCUMENTS_MODULE_MODEL']->value->getField('filelocationtype'), null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['IS_INTERNAL_LOCATION_TYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD']->value->get('fieldvalue')!='E', null, 0);?><?php $_smarty_tpl->tpl_vars['IS_EXTERNAL_LOCATION_TYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FILE_LOCATION_TYPE_FIELD']->value->get('fieldvalue')=='E', null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><div class="fileUploadContainer"><?php if ($_smarty_tpl->tpl_vars['IS_EXTERNAL_LOCATION_TYPE']->value){?><input type="text" class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
"value="<?php if ($_smarty_tpl->tpl_vars['IS_EXTERNAL_LOCATION_TYPE']->value){?><?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
|
||||
<?php }?>" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?> data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
' <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>/><?php }else{ ?><div class="fileUploadBtn btn btn-primary"><span><i class="fa fa-laptop"></i> <?php echo vtranslate('LBL_UPLOAD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</span><input type="file" class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
"value="<?php if ($_smarty_tpl->tpl_vars['IS_INTERNAL_LOCATION_TYPE']->value){?> <?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
|
||||
<?php }?>" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?> <?php if ($_smarty_tpl->tpl_vars['IS_INTERNAL_LOCATION_TYPE']->value&&!empty($_smarty_tpl->tpl_vars['FIELD_VALUE']->value)){?> style="width:86px;" <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>/></div><?php }?><div class="uploadedFileDetails <?php if ($_smarty_tpl->tpl_vars['IS_EXTERNAL_LOCATION_TYPE']->value){?>hide<?php }?>"><div class="uploadedFileSize"></div><div class="uploadedFileName"><?php if ($_smarty_tpl->tpl_vars['IS_INTERNAL_LOCATION_TYPE']->value&&!empty($_smarty_tpl->tpl_vars['FIELD_VALUE']->value)){?>[<?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
|
||||
]<?php }?></div><div class="uploadFileSizeLimit redColor"><?php echo vtranslate('LBL_MAX_UPLOAD_SIZE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<span class="maxUploadSize" data-value="<?php echo $_smarty_tpl->tpl_vars['MAX_UPLOAD_LIMIT_BYTES']->value;?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['MAX_UPLOAD_LIMIT_MB']->value;?>
|
||||
<?php echo vtranslate('MB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</span></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-11 18:48:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/DetailViewHeaderTitle.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:91837146769135abb5a3815-77076015%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7285c236e70982f35aa95ea9470de5c9f3cbec3c' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/DetailViewHeaderTitle.tpl',
|
||||
1 => 1762096901,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '91837146769135abb5a3815-77076015',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'RECORD' => 0,
|
||||
'IMAGE_DETAILS' => 0,
|
||||
'IMAGE_INFO' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'NAME_FIELD' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69135abb604e5',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69135abb604e5')) {function content_69135abb604e5($_smarty_tpl) {?>
|
||||
<div class="col-sm-6"><div class="clearfix record-header "><div class="hidden-sm hidden-xs recordImage bgAccounts app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><?php $_smarty_tpl->tpl_vars['IMAGE_DETAILS'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getImageDetails(), null, 0);?><?php $_smarty_tpl->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;
|
||||
?><?php if (!empty($_smarty_tpl->tpl_vars['IMAGE_INFO']->value['url'])){?><img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['url'];?>
|
||||
" alt="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'];?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'];?>
|
||||
" width="100%" height="100%" align="left"><br><?php }else{ ?><img src="<?php echo vimage_path('summary_organizations.png');?>
|
||||
" class="summaryImg"/><?php }?><?php } ?><?php if (empty($_smarty_tpl->tpl_vars['IMAGE_DETAILS']->value)){?><div class="name"><span><strong><?php echo $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getModuleIcon();?>
|
||||
</strong></span></div><?php }?></div><div class="recordBasicInfo"><div class="info-row" ><h4><span class="recordLabel pushDown" title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
"><?php $_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value){
|
||||
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()){?><span class="<?php echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;?>
|
||||
"><?php echo trim($_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value));?>
|
||||
</span> <?php }?><?php } ?></span></h4></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeaderFieldsView.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<div class="info-row" style="margin-top: 10px;"><button type="button" class="btn btn-info btn-sm" onclick="openAccountFolder('<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("accountname"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
')" title="Открыть папку контрагента в Nextcloud"><i class="fa fa-folder-open"></i> Папка в Nextcloud</button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('Accounts', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("accountname"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'docx')" title="Создать Word документ в Nextcloud" style="margin-left: 5px;"><i class="fa fa-file-word-o" style="color: #2b579a;"></i></button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('Accounts', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("accountname"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'xlsx')" title="Создать Excel таблицу в Nextcloud" style="margin-left: 2px;"><i class="fa fa-file-excel-o" style="color: #217346;"></i></button><button type="button" class="btn btn-default btn-sm" onclick="createFileInNextcloud('Accounts', '<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
', '<?php echo strtr($_smarty_tpl->tpl_vars['RECORD']->value->get("accountname"), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
|
||||
', 'pptx')" title="Создать PowerPoint презентацию в Nextcloud" style="margin-left: 2px;"><i class="fa fa-file-powerpoint-o" style="color: #d24726;"></i></button></div><script type="text/javascript" src="crm_extensions/nextcloud_editor/js/nextcloud-editor.js?v=20251102c"></script><div class="info-row"><i class="fa fa-map-marker"></i> <a class="showMap" href="javascript:void(0);" onclick='Vtiger_Index_Js.showMap(this);' data-module='<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getModule()->getName();?>
|
||||
' data-record='<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
'><?php echo vtranslate('LBL_SHOW_MAP',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></div></div></div></div><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:46
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:19
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/GetPDFButtons.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:14066889746905d0766a5918-10696321%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1789467536690777dfb9f988-60990090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '14066889746905d0766a5918-10696321',
|
||||
'nocache_hash' => '1789467536690777dfb9f988-60990090',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -25,9 +25,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0766add4',
|
||||
'unifunc' => 'content_690777dfbaeff',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0766add4')) {function content_6905d0766add4($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777dfbaeff')) {function content_690777dfbaeff($_smarty_tpl) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ENABLE_PDFMAKER']->value=='true'&&$_smarty_tpl->tpl_vars['CRM_TEMPLATES_EXIST']->value=='0'){?><div class="pull-right" id="PDFMakerContentDiv" style="padding-left: 5px;"><div class="clearfix"><div class="btn-group pull-right"><button class="btn btn-default selectPDFTemplates"><i title="<?php echo vtranslate('LBL_EXPORT_TO_PDF','PDFMaker');?>
|
||||
" class="fa fa-file-pdf-o" aria-hidden="true"></i> <?php echo vtranslate('LBL_EXPORT_TO_PDF','PDFMaker');?>
|
||||
</button><button type="button" class="btn btn-default dropdown-toggle dropdown-toggle-split PDFMoreAction" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo vtranslate('LBL_MORE','PDFMaker');?>
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 09:42:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Date.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:6602291386911893c28c041-61484587%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'741ae882be04b98937eb11e3694d0bd533473b8d' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Date.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '6602291386911893c28c041-61484587',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'IGNOREUIREGISTRATION' => 0,
|
||||
'dateFormat' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'MODE' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6911893c29628',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6911893c29628')) {function content_6911893c29628($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars["dateFormat"] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('date_format'), null, 0);?><?php if ((!$_smarty_tpl->tpl_vars['FIELD_NAME']->value)){?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php }?><div class="input-group inputElement" style="margin-bottom: 3px"><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" type="text" class="dateField form-control <?php if ($_smarty_tpl->tpl_vars['IGNOREUIREGISTRATION']->value){?>ignore-ui-registration<?php }?>" data-fieldname="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" data-fieldtype="date" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['dateFormat']->value;?>
|
||||
"value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'));?>
|
||||
" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?><?php if ($_smarty_tpl->tpl_vars['MODE']->value=='edit'&&$_smarty_tpl->tpl_vars['FIELD_NAME']->value=='due_date'){?> data-user-changed-time="true" <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?> data-rule-date="true" /><span class="input-group-addon"><i class="fa fa-calendar "></i></span></div>
|
||||
<?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/IndexPostProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:8204671066905d0728339e6-37829533%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:394773394690777d8357c57-69762600%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,15 +11,15 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '8204671066905d0728339e6-37829533',
|
||||
'nocache_hash' => '394773394690777d8357c57-69762600',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0728344c',
|
||||
'unifunc' => 'content_690777d835867',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0728344c')) {function content_6905d0728344c($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d835867')) {function content_690777d835867($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:20:21
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-03 10:21:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewFullContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10149667576905d0d55f7506-16941917%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:205358321690858018b6e41-84467699%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10149667576905d0d55f7506-16941917',
|
||||
'nocache_hash' => '205358321690858018b6e41-84467699',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -22,9 +22,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0d55faac',
|
||||
'unifunc' => 'content_690858018b8d5',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0d55faac')) {function content_6905d0d55faac($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690858018b8d5')) {function content_690858018b8d5($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 11:03:11
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Invoice/DetailViewSummaryContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:98501388869119c3f818e07-64229399%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7bc223e2bab1606183a31e0a8bbbecbc60785c95' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Invoice/DetailViewSummaryContents.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '98501388869119c3f818e07-64229399',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69119c3f81b0d',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69119c3f81b0d')) {function content_69119c3f81b0d($_smarty_tpl) {?>
|
||||
<form id="detailView" method="POST"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('SummaryViewWidgets.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</form><?php }} ?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Project/ModuleSummaryView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:5950659976905d0726db974-39326077%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:1761286629690777d825a9f5-16740472%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '5950659976905d0726db974-39326077',
|
||||
'nocache_hash' => '1761286629690777d825a9f5-16740472',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,9 +21,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905d0726ddfd',
|
||||
'unifunc' => 'content_690777d825cd1',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905d0726ddfd')) {function content_6905d0726ddfd($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_690777d825cd1')) {function content_690777d825cd1($_smarty_tpl) {?>
|
||||
<div class="recordDetails"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('SummaryViewContents.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-04 18:39:43
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ExtensionStore/Promotions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1800835918690a1e3f012eb1-96410209%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7fe7110b4701c9e9e29d40c064322b67b616663b' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ExtensionStore/Promotions.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1800835918690a1e3f012eb1-96410209',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'HEADER_SCRIPTS' => 0,
|
||||
'SCRIPT' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_690a1e3f047cf',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_690a1e3f047cf')) {function content_690a1e3f047cf($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['SCRIPT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SCRIPT']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['HEADER_SCRIPTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['SCRIPT']->key => $_smarty_tpl->tpl_vars['SCRIPT']->value){
|
||||
$_smarty_tpl->tpl_vars['SCRIPT']->_loop = true;
|
||||
?><script type="<?php echo $_smarty_tpl->tpl_vars['SCRIPT']->value->getType();?>
|
||||
" src="<?php echo $_smarty_tpl->tpl_vars['SCRIPT']->value->getSrc();?>
|
||||
" /><?php } ?>
|
||||
<?php }} ?>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user