Major CRM updates: AI Assistant, Court Status API, S3 integration improvements, and extensive file storage system

- Added comprehensive AI Assistant system (aiassist/ directory):
  * Vector search and embedding capabilities
  * Typebot proxy integration
  * Elastic search functionality
  * Message classification and chat history
  * MCP proxy for external integrations

- Implemented Court Status API (GetCourtStatus.php):
  * Real-time court document status checking
  * Integration with external court systems
  * Comprehensive error handling and logging

- Enhanced S3 integration:
  * Improved file backup system with metadata
  * Batch processing capabilities
  * Enhanced error logging and recovery
  * Copy operations with URL fixing

- Added Telegram contact creation API
- Improved error logging across all modules
- Enhanced callback system for AI responses
- Extensive backup file storage with timestamps
- Updated documentation and README files

- File storage improvements:
  * Thousands of backup files with proper metadata
  * Fix operations for broken file references
  * Project-specific backup and recovery systems
  * Comprehensive file integrity checking

Total: 26,461+ files added/modified including AWS SDK, vendor dependencies, and extensive backup system.
This commit is contained in:
Fedor
2025-10-16 11:17:21 +03:00
parent dabcd43a00
commit ac7467f0b4
26580 changed files with 50860 additions and 3261 deletions

View File

@@ -0,0 +1,50 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-09 19:00:55
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/PDFPreview.tpl" */ ?>
<?php /*%%SmartyHeaderCode:80700512568e7dc371863c4-73880397%%*/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' => '80700512568e7dc371863c4-73880397',
'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_68e7dc371d5af',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e7dc371d5af')) {function content_68e7dc371d5af($_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>&nbsp;<strong><?php echo vtranslate('LBL_DOWNLOAD_FILE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button>&nbsp;&nbsp;<?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>&nbsp;<strong><?php echo vtranslate('LBL_PRINT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button>&nbsp;&nbsp;<?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>&nbsp;<strong><?php echo vtranslate('LBL_SEND_EMAIL');?>
</strong></button>&nbsp;&nbsp;<?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>&nbsp;<strong><?php echo vtranslate('LBL_EDIT');?>
</strong></button>&nbsp;&nbsp;<?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>&nbsp;<strong><?php echo vtranslate('LBL_SAVEASDOC','PDFMaker');?>
</strong></button>&nbsp;&nbsp;<?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 }} ?>

View File

@@ -0,0 +1,56 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportsStep1.tpl" */ ?>
<?php /*%%SmartyHeaderCode:72841587368e3cc12a60fb0-90411090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'06f101eed336d1db60e3926655a0f808b32b4b5f' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportsStep1.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '72841587368e3cc12a60fb0-90411090',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'REPORTNAME' => 0,
'PRIMARYMODULES' => 0,
'RECORD_MODE' => 0,
'MODE' => 0,
'primarymodulearr' => 0,
'REP_FOLDERS' => 0,
'folder' => 0,
'REPORTDESC' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a6e28',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a6e28')) {function content_68e3cc12a6e28($_smarty_tpl) {?>
<div style="border:1px solid #ccc;padding:4%;"><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_REPORT_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="redColor">*</span></label><div class="col-lg-4"><input type="text" class="inputElement" data-rule-required="true" name="reportname" id="reportname" value="<?php echo $_smarty_tpl->tpl_vars['REPORTNAME']->value;?>
"/></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_PRIMARY_MODULE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="redColor">*</span></label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="primarymodule" id="primarymodule" data-rule-required="true"><?php $_smarty_tpl->tpl_vars['primarymodulearr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['primarymodulearr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['PRIMARYMODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['primarymodulearr']->key => $_smarty_tpl->tpl_vars['primarymodulearr']->value){
$_smarty_tpl->tpl_vars['primarymodulearr']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['RECORD_MODE']->value=="ChangeSteps"||$_smarty_tpl->tpl_vars['MODE']->value=="edit"){?><?php if ($_smarty_tpl->tpl_vars['primarymodulearr']->value['selected']!=''){?><option value="<?php echo $_smarty_tpl->tpl_vars['primarymodulearr']->value['id'];?>
" selected ><?php echo $_smarty_tpl->tpl_vars['primarymodulearr']->value['module'];?>
</option><?php }?><?php }else{ ?><option value="<?php echo $_smarty_tpl->tpl_vars['primarymodulearr']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['primarymodulearr']->value['selected']!=''){?>selected<?php }?> ><?php echo $_smarty_tpl->tpl_vars['primarymodulearr']->value['module'];?>
</option><?php }?><?php } ?></select></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_REP_FOLDER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="redColor">*</span></label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="reportfolder" id="reportfolder" data-rule-required="true"><?php $_smarty_tpl->tpl_vars['folder'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['folder']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['REP_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;
?><option value="<?php echo $_smarty_tpl->tpl_vars['folder']->value['folderid'];?>
" <?php if ($_smarty_tpl->tpl_vars['folder']->value['selected']!=''){?>selected<?php }?> ><?php echo $_smarty_tpl->tpl_vars['folder']->value['foldername'];?>
</option><?php } ?></select></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_DESCRIPTION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4 fieldBlockContainer"><textarea rows="3" class="inputElement textAreaElement col-lg-12" id="reportdesc" name="reportdesc" ><?php echo $_smarty_tpl->tpl_vars['REPORTDESC']->value;?>
</textarea></div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,99 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Properties.tpl" */ ?>
<?php /*%%SmartyHeaderCode:67476537168da79ed6b1766-82735070%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'077276469baad8337c580470829ee4c36a1ebc28' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Properties.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '67476537168da79ed6b1766-82735070',
'function' =>
array (
),
'variables' =>
array (
'THEME_MODE' => 0,
'MODULE' => 0,
'TEMPLATENAME' => 0,
'RECIPIENTMODULENAMES' => 0,
'TEMPLATEID' => 0,
'SELECTMODULE' => 0,
'MODULENAMES' => 0,
'SELECT_MODULE_FIELD' => 0,
'RELATED_MODULES' => 0,
'RelMod' => 0,
'RELATED_BLOCKS' => 0,
'ACCOUNTINFORMATIONS' => 0,
'CUI_BLOCKS' => 0,
'USERINFORMATIONS' => 0,
'MULTICOMPANYINFORMATIONS' => 0,
'LBL_MULTICOMPANY' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed6d745',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed6d745')) {function content_68da79ed6d745($_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';
?>
<div class="tab-pane active" id="pdfContentEdit"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br/><div id="properties_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value=="true"){?><?php echo vtranslate('LBL_THEME_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?><?php echo vtranslate('LBL_EMAIL_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?>:&nbsp;<span class="redColor">*</span></label><div class="controls col-sm-9"><input name="templatename" id="templatename" type="text" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATENAME']->value;?>
" data-rule-required="true" class="inputElement nameField" tabindex="1"></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RECIPIENT_FIELDS','EMAILMaker');?>
:</label><div class="controls col-sm-9"><select name="r_modulename" id="r_modulename" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['RECIPIENTMODULENAMES']->value),$_smarty_tpl);?>
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div class="input-group"><select name="recipientmodulefields" id="recipientmodulefields" class="select2 form-control"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD','EMAILMaker');?>
</option></select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="recipientmodulefields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="recipientmodulefields" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_MODULENAMES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><select name="modulename" id="modulename" class="select2 form-control"><?php if ($_smarty_tpl->tpl_vars['TEMPLATEID']->value!=''||$_smarty_tpl->tpl_vars['SELECTMODULE']->value!=''){?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MODULENAMES']->value,'selected'=>$_smarty_tpl->tpl_vars['SELECTMODULE']->value),$_smarty_tpl);?>
<?php }else{ ?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MODULENAMES']->value),$_smarty_tpl);?>
<?php }?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div class="input-group"><select name="modulefields" id="modulefields" class="select2 form-control"><?php if ($_smarty_tpl->tpl_vars['TEMPLATEID']->value==''&&$_smarty_tpl->tpl_vars['SELECTMODULE']->value==''){?><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php }else{ ?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SELECT_MODULE_FIELD']->value),$_smarty_tpl);?>
<?php }?></select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="modulefields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="modulefields" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><label class="muted pull-right"><?php echo vtranslate('LBL_RELATED_MODULES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label></label><div class="controls col-sm-9"><select name="relatedmodulesorce" id="relatedmodulesorce" class="select2 form-control"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php $_smarty_tpl->tpl_vars['RelMod'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RelMod']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['RELATED_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['RelMod']->key => $_smarty_tpl->tpl_vars['RelMod']->value){
$_smarty_tpl->tpl_vars['RelMod']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[3];?>
|<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[0];?>
" data-module="<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[3];?>
"><?php echo $_smarty_tpl->tpl_vars['RelMod']->value[1];?>
(<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[2];?>
)</option><?php } ?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div class="input-group"><select name="relatedmodulefields" id="relatedmodulefields" class="select2 form-control"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="relatedmodulefields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="relatedmodulefields" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RELATED_BLOCK_TPL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="related_block" id="related_block" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['RELATED_BLOCKS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success marginLeftZero" onclick="EMAILMaker_EditJs.InsertRelatedBlock();" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn addButton marginLeftZero" onclick="EMAILMaker_EditJs.CreateRelatedBlock();" title="<?php echo vtranslate('LBL_CREATE');?>
"><i class="fa fa-plus"></i></button><button type="button" class="btn marginLeftZero" onclick="EMAILMaker_EditJs.EditRelatedBlock();" title="<?php echo vtranslate('LBL_EDIT');?>
"><i class="fa fa-edit"></i></button><button type="button" class="btn btn-danger marginLeftZero" class="crmButton small delete" onclick="EMAILMaker_EditJs.DeleteRelatedBlock();" title="<?php echo vtranslate('LBL_DELETE');?>
"><i class="fa fa-trash"></i></button></div></div></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_COMPANY_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="acc_info" id="acc_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['ACCOUNTINFORMATIONS']->value),$_smarty_tpl);?>
</select><div id="acc_info_div" class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="acc_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="acc_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_SELECT_USER_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><select name="acc_info_type" id="acc_info_type" class="select2 form-control" onChange="EMAILMaker_EditJs.change_acc_info(this)"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['CUI_BLOCKS']->value),$_smarty_tpl);?>
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div id="user_info_div" class="au_info_div"><div class="input-group"><select name="user_info" id="user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['s']),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div><div id="logged_user_info_div" class="au_info_div" style="display:none;"><div class="input-group"><select name="logged_user_info" id="logged_user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['l']),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="logged_user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="logged_user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div><div id="modifiedby_user_info_div" class="au_info_div" style="display:none;"><div class="input-group"><select name="modifiedby_user_info" id="modifiedby_user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['m']),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="modifiedby_user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="modifiedby_user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div><div id="smcreator_user_info_div" class="au_info_div" style="display:none;"><div class="input-group"><select name="smcreator_user_info" id="smcreator_user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['c']),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="smcreator_user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="smcreator_user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div></div><?php if ($_smarty_tpl->tpl_vars['MULTICOMPANYINFORMATIONS']->value!=''){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo $_smarty_tpl->tpl_vars['LBL_MULTICOMPANY']->value;?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="multicomapny" id="multicomapny" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MULTICOMPANYINFORMATIONS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="multicomapny" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><?php }?></div></div></div><?php }} ?>

View File

@@ -0,0 +1,102 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Edit.tpl" */ ?>
<?php /*%%SmartyHeaderCode:60934526468da79ed6863b4-63526868%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'07fbbbc93977d330a0fbb79364812a2c3836ef82' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Edit.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '60934526468da79ed6863b4-63526868',
'function' =>
array (
),
'variables' =>
array (
'PARENTTAB' => 0,
'SAVETEMPLATEID' => 0,
'THEME_MODE' => 0,
'MODULE' => 0,
'EMAIL_TEMPLATE_RESULT' => 0,
'SUBJECT_FIELDS' => 0,
'TEMPLATEID' => 0,
'SELECTMODULE' => 0,
'SELECT_MODULE_FIELD_SUBJECT' => 0,
'ITS4YOUSTYLE_FILES' => 0,
'STYLES_CONTENT' => 0,
'STYLE_DATA' => 0,
'VATBLOCK_TABLE' => 0,
'CHARGESBLOCK_TABLE' => 0,
'COMPANY_HEADER_SIGNATURE' => 0,
'COMPANY_STAMP_SIGNATURE' => 0,
'COMPANYLOGO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed6ad8b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed6ad8b')) {function content_68da79ed6ad8b($_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';
?>
<div class="contents tabbable ui-sortable" style="width: 99%;"><form class="form-horizontal recordEditView" id="EditView" name="EditView" method="post" action="index.php" enctype="multipart/form-data"><input type="hidden" name="module" value="EMAILMaker"><input type="hidden" name="parenttab" value="<?php echo $_smarty_tpl->tpl_vars['PARENTTAB']->value;?>
"><input type="hidden" name="templateid" id="templateid" value="<?php echo $_smarty_tpl->tpl_vars['SAVETEMPLATEID']->value;?>
"><input type="hidden" name="action" value="SaveEMAILTemplate"><input type="hidden" name="redirect" value="true"><input type="hidden" name="return_module" value="<?php echo $_REQUEST['return_module'];?>
"><input type="hidden" name="return_view" value="<?php echo $_REQUEST['return_view'];?>
"><input type="hidden" name="is_theme" value="<?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value=="true"){?>1<?php }else{ ?>0<?php }?>"><input type="hidden" name="selectedTab" id="selectedTab" value="properties"><input type="hidden" name="selectedTab2" id="selectedTab2" value="body"><ul class="nav nav-tabs layoutTabs massEditTabs"><li class="detailviewTab active"><a data-toggle="tab" href="#pdfContentEdit" aria-expanded="true"><strong><?php echo vtranslate('LBL_PROPERTIES_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></a></li><li class="detailviewTab"><a data-toggle="tab" href="#pdfContentOther" aria-expanded="false"><strong><?php echo vtranslate('LBL_OTHER_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></a></li><li class="detailviewTab"><a data-toggle="tab" href="#pdfContentLabels" aria-expanded="false"><strong><?php echo vtranslate('LBL_LABELS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></a></li><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><li class="detailviewTab"><a data-toggle="tab" href="#pdfContentProducts" aria-expanded="false"><strong><?php echo vtranslate('LBL_ARTICLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></a></li><?php }?><li class="detailviewTab"><a data-toggle="tab" href="#editTabSettings" aria-expanded="false"><strong><?php echo vtranslate('LBL_SETTINGS_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></a></li><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><li class="detailviewTab"><a data-toggle="tab" href="#editTabSharing" aria-expanded="false"><strong><?php echo vtranslate('LBL_SHARING_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></a></li><?php }?></ul><div><div><div class="row"><div class="left-block col-xs-4"><div><div class="tab-content layoutContent themeTableColor overflowVisible"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/Properties.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('tabs/Other.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('tabs/Labels.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('tabs/ProductBlock.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('tabs/Settings.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('tabs/Sharing.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div></div></div><div class="middle-block col-xs-8"><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div><table class="table no-border"><tbody id="properties_div"><tr><td class="fieldLabel alignMiddle" nowrap="nowrap"><label class="muted pull-right"><?php echo vtranslate('LBL_EMAIL_SUBJECT','EMAILMaker');?>
:&nbsp;</label></td><td class="fieldValue"><input name="subject" id="subject" type="text" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_RESULT']->value['subject'];?>
" class="inputElement nameField" tabindex="1"></td><td class="fieldValue"><select name="subject_fields" id="subject_fields" class="select2 form-control" onchange="EMAILMaker_EditJs.insertFieldIntoSubject(this.value);"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD','EMAILMaker');?>
</option><optgroup label="<?php echo vtranslate('LBL_COMMON_EMAILINFO','EMAILMaker');?>
"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SUBJECT_FIELDS']->value),$_smarty_tpl);?>
</optgroup><?php if ($_smarty_tpl->tpl_vars['TEMPLATEID']->value!=''||$_smarty_tpl->tpl_vars['SELECTMODULE']->value!=''){?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SELECT_MODULE_FIELD_SUBJECT']->value),$_smarty_tpl);?>
<?php }?></select></td></tr></table></div><?php }?><div class="tab-content"><div class="tab-pane active" id="body_div2" style="margin-bottom: 2em"><textarea name="body" id="body" style="width: 100%; height:700px" class=small tabindex="5"><?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_RESULT']->value['body'];?>
</textarea></div><?php if ($_smarty_tpl->tpl_vars['ITS4YOUSTYLE_FILES']->value!=''){?><div class="tab-pane" id="cssstyle_div2"><?php $_smarty_tpl->tpl_vars['STYLE_DATA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['STYLE_DATA']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['STYLES_CONTENT']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['STYLE_DATA']->key => $_smarty_tpl->tpl_vars['STYLE_DATA']->value){
$_smarty_tpl->tpl_vars['STYLE_DATA']->_loop = true;
?><div class="hide"><textarea class="CodeMirrorContent" id="CodeMirrorContent<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
" style="border: 1px solid black; " class="CodeMirrorTextarea " tabindex="5"><?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['stylecontent'];?>
</textarea></div><table class="table table-bordered"><thead><tr class="listViewHeaders"><th><div class="pull-left"><a href="index.php?module=ITS4YouStyles&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['name'];?>
</a></div><div class="pull-right actions"><a href="index.php?module=ITS4YouStyles&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
" target="_blank"><i title="<?php echo vtranslate('LBL_SHOW_COMPLETE_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" class="icon-th-list alignMiddle"></i></a>&nbsp;<?php if ($_smarty_tpl->tpl_vars['STYLE_DATA']->value['iseditable']=="yes"){?><a href="index.php?module=ITS4YouStyles&view=Edit&record=<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
" target="_blank" class="cursorPointer"><i class="icon-pencil alignMiddle" title="<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></i></a><?php }?></div></th></tr></thead><tbody><tr><td id="CodeMirrorContent<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
Output" class="cm-s-default"></td></tr></tbody></table><br><?php } ?></div><?php }?></div><script type="text/javascript"> jQuery(document).ready(function () {<?php if ($_smarty_tpl->tpl_vars['ITS4YOUSTYLE_FILES']->value!=''){?>//CKEDITOR.config.contentsCss = [<?php echo $_smarty_tpl->tpl_vars['ITS4YOUSTYLE_FILES']->value;?>
];
jQuery('.CodeMirrorContent').each(function (index, Element) {
var stylecontent = jQuery(Element).val();
CKEDITOR.addCss(stylecontent);
});
<?php }?>
CKEDITOR.replace('body', {height: '1000'});
})</script></div></div></div></div><div class="modal-overlay-footer row-fluid"><div class="textAlignCenter "><button class="btn" type="submit" onclick="document.EditView.redirect.value = 'false';"><strong><?php echo vtranslate('LBL_APPLY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button>&nbsp;&nbsp;<button class="btn btn-success" type="submit"><strong><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button><?php if ($_REQUEST['return_view']!=''){?><a class="cancelLink" type="reset" onclick="window.location.href = 'index.php?module=<?php if ($_REQUEST['return_module']!=''){?><?php echo $_REQUEST['return_module'];?>
<?php }else{ ?>EMAILMaker<?php }?>&view=<?php echo $_REQUEST['return_view'];?>
<?php if ($_REQUEST['templateid']!=''&&$_REQUEST['return_view']!="List"){?>&templateid=<?php echo $_REQUEST['templateid'];?>
<?php }?>';"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a><?php }else{ ?><a class="cancelLink" type="reset" onclick="window.history.back();"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a><?php }?></div></div><div class="hide" style="display: none"><div id="div_vat_block_table"><?php echo $_smarty_tpl->tpl_vars['VATBLOCK_TABLE']->value;?>
</div><div id="div_charges_block_table"><?php echo $_smarty_tpl->tpl_vars['CHARGESBLOCK_TABLE']->value;?>
</div><div id="div_company_header_signature"><?php echo $_smarty_tpl->tpl_vars['COMPANY_HEADER_SIGNATURE']->value;?>
</div><div id="div_company_stamp_signature"><?php echo $_smarty_tpl->tpl_vars['COMPANY_STAMP_SIGNATURE']->value;?>
</div><div id="div_company_logo"><?php echo $_smarty_tpl->tpl_vars['COMPANYLOGO']->value;?>
</div></div></form></div><script type="text/javascript">var selectedTab = 'properties';var selectedTab2 = 'body';var module_blocks = [];var selected_module = '<?php echo $_smarty_tpl->tpl_vars['SELECTMODULE']->value;?>
';var constructedOptionValue;var constructedOptionName;jQuery(document).ready(function () {jQuery.fn.scrollBottom = function () {return jQuery(document).height() - this.scrollTop() - this.height();};var $el = jQuery('.edit-template-content');var $window = jQuery(window);var top = 127;$window.bind("scroll resize", function () {var gap = $window.height() - $el.height() - 20;var scrollTop = $window.scrollTop();if (scrollTop < top - 125) {$el.css({top: (top - scrollTop) + "px",bottom: "auto"});} else {$el.css({top: top + "px",bottom: "auto"});}}).scroll();});</script>
<?php }} ?>

View File

@@ -0,0 +1,92 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:34:18
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/ProviderEditor.tpl" */ ?>
<?php /*%%SmartyHeaderCode:35466677468da60aa8f6465-25619924%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'08f3defa2609701c242ae3749f465496721bae44' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/ProviderEditor.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '35466677468da60aa8f6465-25619924',
'function' =>
array (
),
'variables' =>
array (
'requireOAuth' => 0,
'MODULE' => 0,
'HEADER_TITLE' => 0,
'connectionId' => 0,
'connectionType' => 0,
'providerTitle' => 0,
'connectionTitle' => 0,
'OAUTHConfig' => 0,
'configFieldHTML' => 0,
'createMode' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da60aa901fa',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da60aa901fa')) {function content_68da60aa901fa($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['requireOAuth']->value==true){?>
<script type="text/javascript" src="modules/Settings/Workflow2/views/resources/OAuthHandler.js?v=<<?php ?>?php $workflowObj->getVersion() ?<?php ?>>"></script>
<?php }?>
<div class="modal-dialog modelContainer" style="width:600px;">
<?php ob_start();?><?php echo vtranslate("Connection Editor","Settings:Workflow2");?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_tmp1, 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['HEADER_TITLE']->value), 0);?>
<form method="POST" name="form<?php echo rand(10000,99999);?>
" id="WorkflowProviderEditor"
autocomplete="off" action="index.php?module=Workflow2&parent=Settings&action=ProviderSave">
<div class="modal-content">
<div id="resultContainer"></div>
<input type="hidden" name="connectionId" id="connectionId" value="<?php echo $_smarty_tpl->tpl_vars['connectionId']->value;?>
"/>
<input type="hidden" name="type" id="type" value="<?php echo $_smarty_tpl->tpl_vars['connectionType']->value;?>
"/>
<div style="overflow:hidden;padding: 10px;">
<table class="table table-condensed">
<tr>
<th style="width:30%;">Type</th>
<td><strong><?php echo $_smarty_tpl->tpl_vars['providerTitle']->value;?>
</strong></td>
</tr>
<tr>
<th>Title</th>
<td><input type="text" style="width:90%;padding-bottom:0;" name='title' value="<?php echo htmlentities($_smarty_tpl->tpl_vars['connectionTitle']->value);?>
"></td>
</tr>
<?php if ($_smarty_tpl->tpl_vars['requireOAuth']->value==true){?>
<tr>
<th>Permission</th>
<td>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("VT7/ConfigGenerator.tpl",'Settings/Workflow2'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('VALUE'=>"oauth",'config'=>$_smarty_tpl->tpl_vars['OAUTHConfig']->value), 0);?>
</td>
</tr>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['configFieldHTML']->value;?>
</table>
<?php if ($_smarty_tpl->tpl_vars['createMode']->value==false){?>
<span style="display:none;" id="providerTestError"></span>
<div class="pull-left">
<span class="pull-right" style="display:none;" id="providerTestResult"></span>
<input type="button" class="btn btn-info testSettingsBtn" name="test_settings" value="Test settings" />
</div>
<?php }?>
</div>
<?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 }} ?>

View File

@@ -0,0 +1,135 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 20:00:01
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/MergeRecords.tpl" */ ?>
<?php /*%%SmartyHeaderCode:165133703568d6c6912a0685-83805157%%*/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' => '165133703568d6c6912a0685-83805157',
'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_68d6c69130e7b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68d6c69130e7b')) {function content_68d6c69130e7b($_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"/>
&nbsp; <?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());?>
"/>
&nbsp; <?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 }} ?>

View File

@@ -0,0 +1,95 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:35:31
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/SidebarStatistic.tpl" */ ?>
<?php /*%%SmartyHeaderCode:78119960168da60f3e04ba6-16249064%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0990ed4589816a2caa942b1a67559ba3c71cbad1' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/SidebarStatistic.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '78119960168da60f3e04ba6-16249064',
'function' =>
array (
),
'variables' =>
array (
'workflowID' => 0,
'workflowData' => 0,
'STATISTIC_FROM' => 0,
'STATISTIC_TO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da60f3e100b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da60f3e100b')) {function content_68da60f3e100b($_smarty_tpl) {?><div class="WFDSidebar settingsgroup">
<h5>
<?php echo vtranslate("Settings","Settings:Workflow2");?>
</h5>
<div class="panel">
<input type="hidden" name="workflow[id]" value="<?php echo $_smarty_tpl->tpl_vars['workflowID']->value;?>
">
<div><?php echo vtranslate("Main module","Settings:Workflow2");?>
</div>
<div style="text-align:right;font-weight:bold;"><?php echo vtranslate($_smarty_tpl->tpl_vars['workflowData']->value['module_name'],$_smarty_tpl->tpl_vars['workflowData']->value['module_name']);?>
</div>
</div>
<h5>
<?php echo vtranslate("Statistics","Settings:Workflow2");?>
</h5>
<div class="panel">
<label style="overflow:hidden;width:100%;">
<input type='text' class="defaultTextfield pull-right" style="width: 100px;" name='statistik_from' id="statistik_from" value="<?php echo $_smarty_tpl->tpl_vars['STATISTIC_FROM']->value;?>
">
<?php echo vtranslate('statistics_from','Settings:Workflow2');?>
</label>
<label style="overflow:hidden;width:100%;">
<input type='text' class="defaultTextfield pull-right" style="width: 100px;" name='statistik_to' id="statistik_to" value="<?php echo $_smarty_tpl->tpl_vars['STATISTIC_TO']->value;?>
">
<?php echo vtranslate('statistics_to','Settings:Workflow2');?>
</label>
<label style="overflow:hidden;width:100%;">
<input type='text' class="defaultTextfield pull-right" style="width: 100px;" name='statistik_record' id="statistik_record" value="">
<?php echo vtranslate('statistics_record','Settings:Workflow2');?>
</label>
<!--<input type='hidden' name='statistik_to' id="statistik_to" value="<?php echo $_smarty_tpl->tpl_vars['STATISTIC_TO']->value;?>
">-->
<br>
<input type='checkbox' name='show_percents' checked="checked" id="show_percents" onclick="readConnectionStatistik();" value="1"> <?php echo vtranslate("LBL_SHOW_VALUES","Settings:Workflow2");?>
<br/>
<input type='checkbox' name='show_removed' id="show_removed" onclick="readConnectionStatistik();" value="1"> <?php echo vtranslate("LBL_SHOW_REMOVED","Settings:Workflow2");?>
<br/>
<input type='checkbox' name='show_inactive' id="show_inactive" onclick="showInactiveBlocks();" value="1"> <?php echo vtranslate("LBL_SHOW_INACTIVE","Settings:Workflow2");?>
<br/>
<br/>
<input type="button" onclick="refreshData();" class="btn btn-primary" name="load_data" value="<?php echo vtranslate("BTN_LOAD_STATS","Settings:Workflow2");?>
">
</div>
<div class="ConnectionStat">
<h5>
<?php echo vtranslate("CONNECTION_DETAILS","Settings:Workflow2");?>
</h5>
<div class="panel" id="statConnDetails">
<em><?php echo vtranslate("TXT_CLICK_ON_PATH","Settings:Workflow2");?>
</em>
</div>
</div>
</div>
<script type="text/javascript">
var TranslationString = {};
TranslationString['loadData'] = "<?php echo vtranslate('load Data','Settings:Workflow2');?>
";
</script><?php }} ?>

View File

@@ -0,0 +1,128 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 17:13:18
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/helpers/Setter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:198847440668da93fe29d4e0-83093539%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0a15f4d9d2c19ab3875e2a74c2620f8ec5362194' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/helpers/Setter.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '198847440668da93fe29d4e0-83093539',
'function' =>
array (
),
'variables' =>
array (
'fields' => 0,
'label' => 0,
'block' => 0,
'field' => 0,
'setter_blocks' => 0,
'fromFields' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da93fe2de42',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da93fe2de42')) {function content_68da93fe2de42($_smarty_tpl) {?><div id="settings_base" style="display:none;">
<div style="margin:10px;" class="FieldSetterRow" id="setterRow_##SETID##">
<select class="FieldSetterField" style="height:29px;vertical-align:top;" disabled="disabled" name='task[setter][##SETID##][field]' id='setter_##SETID##_field'>
<option value=''><?php echo vtranslate('LBL_CHOOSE','Workflow2');?>
</option>
<option value=';;;delete;;;'><?php echo vtranslate('LBL_DELETE_SET_FIELD','Workflow2');?>
</option>
<?php $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['block']->_loop = false;
$_smarty_tpl->tpl_vars['label'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['block']->key => $_smarty_tpl->tpl_vars['block']->value){
$_smarty_tpl->tpl_vars['block']->_loop = true;
$_smarty_tpl->tpl_vars['label']->value = $_smarty_tpl->tpl_vars['block']->key;
?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['label']->value;?>
">
<?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['block']->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->name!="smownerid"){?>
<option value='<?php echo $_smarty_tpl->tpl_vars['field']->value->name;?>
'><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }else{ ?>
<option value='assigned_user_id'><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }?>
<?php } ?>
</optgroup>
<?php } ?>
</select>
<select class="FieldSetterMode" style="height:29px;vertical-align:top;" disabled="disabled" name="task[setter][##SETID##][mode]" id="setter_##SETID##_mode">
<option value="value"><?php echo vtranslate("LBL_STATIC_VALUE","Settings:Workflow2");?>
</option>
<option value="field"><?php echo vtranslate("LBL_FIELD_VALUE","Settings:Workflow2");?>
</option>
<option value="formula"><?php echo vtranslate("Formula Result","Settings:Workflow2");?>
</option>
<option value="function"><?php echo vtranslate("LBL_FUNCTION_VALUE","Settings:Workflow2");?>
</option>
</select>
<div style="" id='value_##SETID##_container' class="FieldSetterValueContainer">
<input type='text' disabled="disabled" name='task[setter][##SETID##][value]' id='setter_##SETID##_value'>
</div>
</div>
</div>
<button type="button" class="btn btn-primary"onclick="addRow();"><?php echo vtranslate("LBL_ADD_FIELD","Settings:Workflow2");?>
</button>
<?php $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['block']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['setter_blocks']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['block']->key => $_smarty_tpl->tpl_vars['block']->value){
$_smarty_tpl->tpl_vars['block']->_loop = true;
?>
<div class="blockContainer" id="block_<?php echo $_smarty_tpl->tpl_vars['block']->value[0];?>
" style="display: none;" data-block="<?php echo $_smarty_tpl->tpl_vars['block']->value[1];?>
"><p class="title"><?php echo $_smarty_tpl->tpl_vars['block']->value[1];?>
</p></div>
<?php } ?>
<div id='setter_container'><div style="text-align:center;"><img src="modules/Workflow2/loader.gif" /></div></div>
<button type="button" class="btn btn-primary"onclick="addRow();"><?php echo vtranslate("LBL_ADD_FIELD","Settings:Workflow2");?>
</button>
<script type="text/dummy" id='fromFieldsFieldValues'>
<select style="vertical-align:top;width:100%;" class="select2" name='##FIELDNAME##' id='##FIELDID##'>
<option value=''><?php echo vtranslate('LBL_CHOOSE','Workflow2');?>
</option>
<option value=';;;delete;;;' class='deleteRow'><?php echo vtranslate('LBL_DELETE_SET_FIELD','Workflow2');?>
</option>
<?php $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['block']->_loop = false;
$_smarty_tpl->tpl_vars['label'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['fromFields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['block']->key => $_smarty_tpl->tpl_vars['block']->value){
$_smarty_tpl->tpl_vars['block']->_loop = true;
$_smarty_tpl->tpl_vars['label']->value = $_smarty_tpl->tpl_vars['block']->key;
?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['label']->value;?>
">
<?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['block']->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->name!="smownerid"){?>
<option value='$<?php echo $_smarty_tpl->tpl_vars['field']->value->name;?>
'><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }else{ ?>
<option value='$assigned_user_id'><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }?>
<?php } ?>
</optgroup>
<?php } ?>
</select>
</script><?php }} ?>

View File

@@ -0,0 +1,234 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:38:43
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/SettingsScheduler.tpl" */ ?>
<?php /*%%SmartyHeaderCode:93267492968da61b36d7f64-22556629%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0cc4304e31280ae75b39da5a7e3c4f29e461ccb1' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/SettingsScheduler.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '93267492968da61b36d7f64-22556629',
'function' =>
array (
),
'variables' =>
array (
'SHOW_CRON_NOTICE' => 0,
'schedules' => 0,
'modulename' => 0,
'crons' => 0,
'cron' => 0,
'workflow_id' => 0,
'workflows' => 0,
'module_name' => 0,
'module' => 0,
'workflow' => 0,
'currentUTCTime' => 0,
'CURRENT_VERSION' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da61b373a9a',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da61b373a9a')) {function content_68da61b373a9a($_smarty_tpl) {?><div class="container-fluid WorkflowSchedulerContainer" id="moduleManagerContents">
<div class="editViewHeader">
<h4>
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
</a> &raquo;
<?php echo vtranslate('LBL_SETTINGS_SCHEDULER','Workflow2');?>
</h4>
</div>
<hr/>
<div class="listViewActionsDiv">
<div class="alert alert-info">
<?php echo sprintf(vtranslate('To give you the most power, scheduled Workflows are configured like a cronjob in Unix based systems. You found a generator and information here: %s','Settings:Workflow2'),'<a href="http://www.openjs.com/scripts/jslibrary/demos/crontab.php" target="_blank"><strong>http://www.openjs.com/scripts/jslibrary/demos/crontab.php</strong></a>');?>
</div>
<?php if ($_smarty_tpl->tpl_vars['SHOW_CRON_NOTICE']->value==true){?>
<div class="alert alert-danger">
<strong><?php echo vtranslate('Unless you configure Cronjobs of VtigerCRM this feature will NOT work.','Settings:Workflow2');?>
</strong>&nbsp;&nbsp;&nbsp;<a class="btn btn-primary" href="https://wiki.vtiger.com/index.php/Cron" target="_blank"><?php echo ucfirst(vtranslate('open','Settings:Workflow2'));?>
<?php echo vtranslate('Information','Settings:Workflow2');?>
</strong></a>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['schedules']->value)==0){?>
No Schedules configured
<?php }else{ ?>
<table cellspacing="0" class='table'>
<tr class="listViewHeaders">
<th></th>
<th><?php echo vtranslate('Workflow','Settings:Workflow2');?>
</th>
<th style="width:140px;"></th>
<th style="width:100px;"><?php echo vtranslate('Load Preset','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('LBL_MINUTES','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('LBL_HOURS','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('Day of Month','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('Month','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('Day of Week','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('Year','Settings:Workflow2');?>
</th>
<th style="width:100px;"><?php echo vtranslate('Timezone','Settings:Workflow2');?>
</th>
<th></th>
</tr>
<?php $_smarty_tpl->tpl_vars['crons'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['crons']->_loop = false;
$_smarty_tpl->tpl_vars['modulename'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['schedules']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['crons']->key => $_smarty_tpl->tpl_vars['crons']->value){
$_smarty_tpl->tpl_vars['crons']->_loop = true;
$_smarty_tpl->tpl_vars['modulename']->value = $_smarty_tpl->tpl_vars['crons']->key;
?>
<tr>
<th colspan="12"><?php echo vtranslate($_smarty_tpl->tpl_vars['modulename']->value,$_smarty_tpl->tpl_vars['modulename']->value);?>
</th>
</tr>
<?php $_smarty_tpl->tpl_vars['cron'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cron']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['crons']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cron']->key => $_smarty_tpl->tpl_vars['cron']->value){
$_smarty_tpl->tpl_vars['cron']->_loop = true;
?>
<tr class="cronRow cronRow_<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
FirstSchedulerRow <?php if ($_smarty_tpl->tpl_vars['cron']->value['active']=='1'){?>active<?php }else{ ?>inactive<?php }?> <?php if (empty($_smarty_tpl->tpl_vars['cron']->value['workflow_id'])){?>noworkflow<?php }?>" data-id="<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
">
<td style="width: 70px;vertical-align: middle;">
<select data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='active' style="width: 70px;margin: 0;">
<option value='0' <?php if ($_smarty_tpl->tpl_vars['cron']->value['active']=='0'){?>selected="selected"<?php }?>><?php echo vtranslate('LBL_INACTIVE','Settings:Workflow2');?>
</option>
<option value='1' <?php if ($_smarty_tpl->tpl_vars['cron']->value['active']=='1'){?>selected="selected"<?php }?>><?php echo vtranslate('LBL_ACTIVE','Settings:Workflow2');?>
</option>
</select>
</td>
<td style="width: 230px;vertical-align: middle;">
<select data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='workflow_id' class="select2" style="width: 230px;" id="workflowSelection_<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
">
<option value='0' <?php if ($_smarty_tpl->tpl_vars['workflow_id']->value=='0'){?>selected="selected"<?php }?>><?php echo vtranslate('LBL_NO_WORKFLOW','Settings:Workflow2');?>
</option>
<?php $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['module']->_loop = false;
$_smarty_tpl->tpl_vars['module_name'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['workflows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value){
$_smarty_tpl->tpl_vars['module']->_loop = true;
$_smarty_tpl->tpl_vars['module_name']->value = $_smarty_tpl->tpl_vars['module']->key;
?>
<optgroup label='<?php echo $_smarty_tpl->tpl_vars['module_name']->value;?>
'>
<?php $_smarty_tpl->tpl_vars['workflow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflow']->_loop = false;
$_smarty_tpl->tpl_vars['workflow_id'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['module']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workflow']->key => $_smarty_tpl->tpl_vars['workflow']->value){
$_smarty_tpl->tpl_vars['workflow']->_loop = true;
$_smarty_tpl->tpl_vars['workflow_id']->value = $_smarty_tpl->tpl_vars['workflow']->key;
?>
<option data-module="<?php echo $_smarty_tpl->tpl_vars['workflow']->value['module_name'];?>
" value='<?php echo $_smarty_tpl->tpl_vars['workflow_id']->value;?>
' <?php if ($_smarty_tpl->tpl_vars['workflow_id']->value==$_smarty_tpl->tpl_vars['cron']->value['workflow_id']){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['workflow']->value['title'];?>
</option>
<?php } ?>
</optgroup>
<?php } ?>
</select>
</td>
<td>
<input type="checkbox" data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='enable_records' name="choose_records" value="1" <?php if ($_smarty_tpl->tpl_vars['cron']->value['enable_records']==1){?>checked="checked"<?php }?> />
<input type="hidden" class="configField" name="records_<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
" id="records_<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
" data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='condition' value="<?php echo $_smarty_tpl->tpl_vars['cron']->value['condition'];?>
" />
<input type="button" class="btn btn-default RecordChooseBtn" data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' onclick="" value="<?php echo vtranslate('select Records','Settings:Workflow2');?>
" />
</td>
<td style="vertical-align: middle;">
<select class="CronPreset select2" style="width:150px;">
<option value=""></option>
<option value="0;6;*;*;*;*"><?php echo vtranslate('Daily','Settings:Workflow2');?>
</option>
<option value="0;6;*;*;Mon-Fri;*"><?php echo vtranslate('Workdays once','Settings:Workflow2');?>
</option>
<option value="0;*;*;*;Mon-Fri;*"><?php echo vtranslate('Workdays hourly','Settings:Workflow2');?>
</option>
<option value="0;6;*;*;Mon;*"><?php echo vtranslate('Every Monday','Settings:Workflow2');?>
</option>
<option value="0;6;1;*;*;*"><?php echo vtranslate('Monthly first day','Settings:Workflow2');?>
</option>
</select>
</td>
<td style="vertical-align: middle;"><input type="text" class="defaultTextfield" style='width: 100%;margin: 0;' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='minute' value='<?php echo $_smarty_tpl->tpl_vars['cron']->value['minute'];?>
'></td>
<td style="vertical-align: middle;"><input type="text" class="defaultTextfield" style='width: 100%;margin: 0;' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='hour' value='<?php echo $_smarty_tpl->tpl_vars['cron']->value['hour'];?>
'></td>
<td style="vertical-align: middle;"><input type="text" class="defaultTextfield" style='width: 100%;margin: 0;' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='dom' value='<?php echo $_smarty_tpl->tpl_vars['cron']->value['dom'];?>
'></td>
<td style="vertical-align: middle;"><input type="text" class="defaultTextfield" style='width: 100%;margin: 0;' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='month' value='<?php echo $_smarty_tpl->tpl_vars['cron']->value['month'];?>
'></td>
<td style="vertical-align: middle;"><input type="text" class="defaultTextfield" style='width: 100%;margin: 0;' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='dow' value='<?php echo $_smarty_tpl->tpl_vars['cron']->value['dow'];?>
'></td>
<td style="vertical-align: middle;"><input type="text" class="defaultTextfield" style='width: 100%;margin: 0;' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
' data-field='year' value='<?php echo $_smarty_tpl->tpl_vars['cron']->value['year'];?>
'></td>
<td style="vertical-align: middle;">
<select class="select2" style="width:160px"data-field='timezone' data-sid='<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
'>
<option value="UTC">UTC</option>
<option value="default" <?php if ($_smarty_tpl->tpl_vars['cron']->value['timezone']=='default'){?>selected="selected"<?php }?>>CRM Default Timezone</option>
</select>
</td>
<td style="width: 60px;vertical-align: middle;"><a href="#" onclick='Scheduler.delScheduler(<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
);return false;'><?php echo vtranslate('delete','Settings:Workflow2');?>
</a></td>
</tr>
<tr class="cronRow cronRow_<?php echo $_smarty_tpl->tpl_vars['cron']->value['id'];?>
SecondSchedulerRow <?php if ($_smarty_tpl->tpl_vars['cron']->value['active']=='1'){?>active<?php }else{ ?>inactive<?php }?> <?php if (empty($_smarty_tpl->tpl_vars['cron']->value['workflow_id'])){?>noworkflow<?php }?>">
<td colspan="3" style="border-top:none !important;"></td>
<td colspan="9" style="border-top:none !important;"><?php echo vtranslate('Next execution:','Settings:Workflow2');?>
<span class="NextExecutionTimer"><?php echo $_smarty_tpl->tpl_vars['cron']->value['next_execution'];?>
<?php echo $_smarty_tpl->tpl_vars['cron']->value['timezone_display'];?>
</span></td>
</tr>
<?php } ?>
<?php } ?>
</table>
<?php }?>
<strong><?php echo vtranslate('To enter specific hours, you need to use UTC timezone!','Settings:Workflow2');?>
(<?php echo vtranslate('Current time in UTC','Settings:Workflow2');?>
: <?php echo $_smarty_tpl->tpl_vars['currentUTCTime']->value;?>
)</strong>
<br/>
<br/>
<button class='btn btn-primary' type="button" onclick='Scheduler.newScheduler();'><strong><?php echo vtranslate('new Entry','Settings:Workflow2');?>
</strong></button>
</div>
</div>
<script type="text/javascript">
var WFDTexts = {
'Choose Records' : '<?php echo vtranslate('Choose Records','Settings:Workflow2');?>
',
};
</script>
<script type="text/javascript" src="modules/Workflow2/views/resources/js/complexecondition.js?v=<?php echo $_smarty_tpl->tpl_vars['CURRENT_VERSION']->value;?>
"></script><?php }} ?>

View File

@@ -0,0 +1,53 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:02:08
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskExp_cond.tpl" */ ?>
<?php /*%%SmartyHeaderCode:206149699968da7540466e41-41520872%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0e27c8cb0c07f279ab2bf66db93878b3a33fdf01' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskExp_cond.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '206149699968da7540466e41-41520872',
'function' =>
array (
),
'variables' =>
array (
'MOD' => 0,
'task' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da75404a25d',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da75404a25d')) {function content_68da75404a25d($_smarty_tpl) {?><div style="width:80%;margin:auto;border:1px solid #ccc;">
<input type="button" class="btn btn-primary pull-right" style="margin-top:60px;" value="<?php echo vtranslate('insert Fieldcontent','Settings:Workflow2');?>
" id="btn_insert_variable" onclick="insertTemplateField('task_condition', '[source]->[module]->[destination]', false);">
<p style="text-align:left;padding:5px;margin-top:0;"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_EXPCOND_DESCRIPTION'];?>
</p>
<div style="border:2px solid #576873;border-radius:3px;">
<textarea name="task[condition]" id="task_condition" style="height:300px;width: 100%;font-family: 'Courier New';"><?php echo $_smarty_tpl->tpl_vars['task']->value['condition'];?>
</textarea>
<div class="alert alert-info" style="margin-bottom:0;">
<?php echo vtranslate('You also get a list of variables and functions with autocomplete, if you press CTRL-SPACE during writing.','Settings:Workflow2');?>
</div>
</div>
<p>
</p>
</div>
<script type="text/javascript">jQuery(function() { enable_customexpression("task_condition", false, false, workflowModuleName); });</script>
<script type="text/javascript">jQuery("#task_condition").on("insertText", function(e, text) {
customExpressionEditor["task_condition"].replaceSelection(text, "start");
});
</script>
<?php }} ?>

View File

@@ -0,0 +1,96 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportSharing.tpl" */ ?>
<?php /*%%SmartyHeaderCode:42296466868e3cc1158ee56-65467605%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0ffb44428ce415e7f471f7b9240bd2979b2f561c' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportSharing.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '42296466868e3cc1158ee56-65467605',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'TEMPLATE_OWNERS' => 0,
'TEMPLATE_OWNER' => 0,
'SHARINGTYPES' => 0,
'SHARINGTYPE' => 0,
'CURRENT_USER' => 0,
'RECIPIENTS' => 0,
'ALL_ACTIVEUSER_LIST' => 0,
'USER_ID' => 0,
'USERID' => 0,
'recipients' => 0,
'USER_NAME' => 0,
'ALL_ACTIVEGROUP_LIST' => 0,
'GROUP_ID' => 0,
'GROUPID' => 0,
'GROUP_NAME' => 0,
'ROLES' => 0,
'ROLE_ID' => 0,
'ROLEID' => 0,
'ROLE_OBJ' => 0,
'RS_ROLE_ID' => 0,
'RS_ROLEID' => 0,
'RS_ROLE_OBJ' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc115ea78',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc115ea78')) {function content_68e3cc115ea78($_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';
?>
<div style="border:1px solid #ccc;padding:4%;"><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate("LBL_TEMPLATE_OWNER",$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="redColor">*</span></label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="template_owner" id="template_owner" data-rule-required="true"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['TEMPLATE_OWNERS']->value,'selected'=>$_smarty_tpl->tpl_vars['TEMPLATE_OWNER']->value),$_smarty_tpl);?>
</select></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate("LBL_SHARING_TAB",$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="redColor">*</span></label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="sharing" id="sharing" data-rule-required="true" onchange="sharing_changed();"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SHARINGTYPES']->value,'selected'=>$_smarty_tpl->tpl_vars['SHARINGTYPE']->value),$_smarty_tpl);?>
</select></div></div></div><div class="row" id="sharing_share_div"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SHARE_WITH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class='col-lg-4'><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER']->value->getAccessibleUsers(), null, 0);?><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER']->value->getAccessibleGroups(), null, 0);?><?php $_smarty_tpl->tpl_vars['recipients'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECIPIENTS']->value, null, 0);?><input type="hidden" name="recipientsString_v7" /><select multiple class="select2 col-lg-12 inputElement" id='recipients' name='recipients' data-rule-required="true" ><optgroup label="<?php echo vtranslate('LBL_USERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?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['ALL_ACTIVEUSER_LIST']->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;
?><?php $_smarty_tpl->tpl_vars['USERID'] = new Smarty_variable("users::".($_smarty_tpl->tpl_vars['USER_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['USERID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipients']->value)&&in_array($_smarty_tpl->tpl_vars['USERID']->value,$_smarty_tpl->tpl_vars['recipients']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
'> <?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_GROUPS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['GROUP_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['GROUP_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['GROUP_NAME']->key => $_smarty_tpl->tpl_vars['GROUP_NAME']->value){
$_smarty_tpl->tpl_vars['GROUP_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['GROUP_ID']->value = $_smarty_tpl->tpl_vars['GROUP_NAME']->key;
?><?php $_smarty_tpl->tpl_vars['GROUPID'] = new Smarty_variable("groups::".($_smarty_tpl->tpl_vars['GROUP_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['GROUPID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipients']->value)&&in_array($_smarty_tpl->tpl_vars['GROUPID']->value,$_smarty_tpl->tpl_vars['recipients']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['GROUP_NAME']->value;?>
'><?php echo $_smarty_tpl->tpl_vars['GROUP_NAME']->value;?>
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_ROLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['ROLE_OBJ'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ROLE_OBJ']->_loop = false;
$_smarty_tpl->tpl_vars['ROLE_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ROLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ROLE_OBJ']->key => $_smarty_tpl->tpl_vars['ROLE_OBJ']->value){
$_smarty_tpl->tpl_vars['ROLE_OBJ']->_loop = true;
$_smarty_tpl->tpl_vars['ROLE_ID']->value = $_smarty_tpl->tpl_vars['ROLE_OBJ']->key;
?><?php $_smarty_tpl->tpl_vars['ROLEID'] = new Smarty_variable("roles::".($_smarty_tpl->tpl_vars['ROLE_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['ROLEID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipients']->value)&&in_array($_smarty_tpl->tpl_vars['ROLEID']->value,$_smarty_tpl->tpl_vars['recipients']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['ROLE_OBJ']->value->get('rolename');?>
'><?php echo $_smarty_tpl->tpl_vars['ROLE_OBJ']->value->get('rolename');?>
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_ROLES_SUBORDINATES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['RS_ROLE_OBJ'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->_loop = false;
$_smarty_tpl->tpl_vars['RS_ROLE_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ROLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->key => $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->value){
$_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->_loop = true;
$_smarty_tpl->tpl_vars['RS_ROLE_ID']->value = $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->key;
?><?php $_smarty_tpl->tpl_vars['RS_ROLEID'] = new Smarty_variable("rs::".($_smarty_tpl->tpl_vars['RS_ROLE_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['RS_ROLEID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipients']->value)&&in_array($_smarty_tpl->tpl_vars['RS_ROLEID']->value,$_smarty_tpl->tpl_vars['recipients']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->value->get('rolename');?>
'><?php echo $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->value->get('rolename');?>
</option><?php } ?></optgroup></select></div></div></div></div><?php }} ?>

View File

@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-24 18:58:10
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 16:14:14
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/DetailViewActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:42403603968cd45ce086d22-18244131%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'10dad4823495b016c676ca300b06707b11e8f200' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/DetailViewActions.tpl',
1 => 1758729325,
1 => 1759066365,
2 => 'file',
),
),

View File

@@ -0,0 +1,90 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:23
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportFilters.tpl" */ ?>
<?php /*%%SmartyHeaderCode:141383221468e3cbef6a2628-15452488%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'12fc8a5f5653a1bb6de7b45a4b2382af661b0b91' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportFilters.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '141383221468e3cbef6a2628-15452488',
'function' =>
array (
),
'variables' =>
array (
'REL_FIELDS' => 0,
'BLOCKJS_STD' => 0,
'VIEW' => 0,
'MODULE' => 0,
'REPORTTYPE' => 0,
'display_summaries_filter' => 0,
'SUMMARIES_CRITERIA' => 0,
'COLUMN_INDEX' => 0,
'COLUMN_CRITERIA' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbef6c933',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbef6c933')) {function content_68e3cbef6c933($_smarty_tpl) {?>
<script type="text/javascript">
var advft_column_index_count = -1;
var advft_group_index_count = 0;
var column_index_array = [];
var group_index_array = [];
var gf_advft_column_index_count = -1;
var gf_advft_group_index_count = 0;
var gf_column_index_array = [];
var gf_group_index_array = [];
var rel_fields = <?php echo $_smarty_tpl->tpl_vars['REL_FIELDS']->value;?>
;
</script>
<?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/AdvanceFilter.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php echo $_smarty_tpl->tpl_vars['BLOCKJS_STD']->value;?>
<input type="hidden" name="advft_criteria" id="advft_criteria" value="" />
<input type="hidden" name="advft_criteria_groups" id="advft_criteria_groups" value="" />
<input type="hidden" name="groupft_criteria" id="groupft_criteria" value="" />
<input type="hidden" name="quick_filter_criteria" id="quick_filter_criteria" value="" />
<?php if ('Detail'!=$_smarty_tpl->tpl_vars['VIEW']->value){?><div style="border:1px solid #ccc;padding:4%;"><?php }?><div class="row"><div class="form-group"><label class="control-label textAlignLeft col-lg-12"><h4><?php echo vtranslate('LBL_ADVANCED_FILTER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4></label></div></div><div class="row <?php if ('Detail'!=$_smarty_tpl->tpl_vars['VIEW']->value){?>well<?php }?> filterConditionContainer "><div class="form-group"><div class='filterContainer'><div style="display:block" id='adv_filter_div' name='adv_filter_div'><?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/FiltersCriteria.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div><button type='button' class='btn btn-default' style='float:left;' onclick="addNewConditionGroup('adv_filter_div')"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate('LBL_NEW_GROUP',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div></div><?php if ('Detail'!=$_smarty_tpl->tpl_vars['VIEW']->value){?><?php $_smarty_tpl->tpl_vars["display_summaries_filter"] = new Smarty_variable("display:block;", null, 0);?><?php if ($_smarty_tpl->tpl_vars['REPORTTYPE']->value=="tabular"){?><?php $_smarty_tpl->tpl_vars["display_summaries_filter"] = new Smarty_variable("display:none;", null, 0);?><?php }?><div style="width:100%;<?php echo $_smarty_tpl->tpl_vars['display_summaries_filter']->value;?>
" id='group_filter_div' name='group_filter_div' class="paddingTop20"><div class="row"><div class="form-group"><label class="control-label textAlignLeft col-lg-12"><h4><?php echo vtranslate('LBL_GROUP_FILTER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4></label></div></div><div class="row well filterConditionContainer " id='conditiongrouptable_0'><div class="form-group" id='ggroupfooter_0'><button type="button" class="btn btn-default" onclick='addGroupConditionRow("0")'><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate('LBL_NEW_CONDITION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div><div class="row"><div class="form-group" id='groupconditionglue_0'></div></div><?php $_smarty_tpl->tpl_vars['COLUMN_CRITERIA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = false;
$_smarty_tpl->tpl_vars['COLUMN_INDEX'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['SUMMARIES_CRITERIA']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key => $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value){
$_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = true;
$_smarty_tpl->tpl_vars['COLUMN_INDEX']->value = $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key;
?><script type="text/javascript">addGroupConditionRow('0');document.getElementById('ggroupop<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
').value = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['comparator'];?>
';var conditionColumnRowElement = document.getElementById('ggroupcol<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
');conditionColumnRowElement.value = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['columnname'];?>
';addRequiredElements('g', '<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
');var columnvalue = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['value'];?>
';document.getElementById('ggroupval<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
').value = columnvalue;</script><?php } ?><?php $_smarty_tpl->tpl_vars['COLUMN_CRITERIA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = false;
$_smarty_tpl->tpl_vars['COLUMN_INDEX'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['SUMMARIES_CRITERIA']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key => $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value){
$_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = true;
$_smarty_tpl->tpl_vars['COLUMN_INDEX']->value = $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key;
?><script type="text/javascript">if (document.getElementById('gcon<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
'))document.getElementById('gcon<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
').value = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['column_condition'];?>
';</script><?php } ?></div><div style="width:100%;" id='quick_filter_div' name='quick_filter_div' class="paddingTop20"><div class="row"><div class="form-group"><label class="control-label textAlignLeft col-lg-12"><h4><?php echo vtranslate('LBL_QUICK_FILTER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4></label></div></div><div class="row well filterConditionContainer " id='quickfiltertable_0'><div class="form-group" id='quickfilter_0'><input type="hidden" name="quick_filters_save" id="quick_filters_save" value=""><select name="quick_filters" id="quick_filters" multiple class="select2 col-lg-10" ></select></div></div></div><script type="text/javascript">jQuery(document).ready(function () {addQuickFilterBox();});</script><?php }?><?php if ('Detail'!=$_smarty_tpl->tpl_vars['VIEW']->value){?></div><?php }?>
<?php }} ?>

View File

@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-24 13:29:29
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-14 20:32:41
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Comment.tpl" */ ?>
<?php /*%%SmartyHeaderCode:39418628868d0fd6dd14a48-88492850%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'156c95322ad325cf6c9fbe1240c1598ca61408e9' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/Comment.tpl',
1 => 1758709677,
1 => 1760090420,
2 => 'file',
),
),
@@ -58,7 +58,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
&nbsp;<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>&nbsp;&nbsp;<?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 }else{ ?><img src="/storage/images/comment.png"><?php }?>&nbsp;<span class="commentTime text-muted cursorDefault"><small title="<?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['COMMENT']->value->getCommentedTime());?>
</a></span>&nbsp;&nbsp;<?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 }?>&nbsp;<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);?>

View File

@@ -0,0 +1,43 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-01 12:07:32
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/DocumentsFolderFieldSearchView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:72599759568dcef54c0df17-26854551%%*/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' => '72599759568dcef54c0df17-26854551',
'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_68dcef54c6878',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68dcef54c6878')) {function content_68dcef54c6878($_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 }} ?>

View File

@@ -0,0 +1,33 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:52:41
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/ListViewHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:168766053868e8bb497ce5a7-56561440%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'241599cad900ab92efaef3c16d8367c9e4b30299' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/ListViewHeader.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '168766053868e8bb497ce5a7-56561440',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'LISTVIEW_ENTRIES_COUNT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb497d45a',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb497d45a')) {function content_68e8bb497d45a($_smarty_tpl) {?>
<div class="listViewPageDiv" id="listViewContent"><div class="col-sm-12 col-xs-12 full-height"><div id="listview-actions" class="listview-actions-container"><div class = "row"><div class="btn-group col-md-2"></div><div class='col-md-7' style="padding-top: 5px;text-align: center;"><div class="btn-group userFilter" style="text-align: center;"><button class="btn btn-default btn-primary" id="activeUsers" data-searchvalue="Active"><?php echo vtranslate('LBL_ACTIVE_USERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button><button class="btn btn-default" id="inactiveUsers" data-searchvalue="Inactive"><?php echo vtranslate('LBL_INACTIVE_USERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></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><div class="list-content">
<?php }} ?>

View File

@@ -0,0 +1,73 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-30 09:53:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/UserViewHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:53828247668db7e8526ff27-80413180%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'27c650000782b9ee20d015bc7b6b5d117bad7279' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/UserViewHeader.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '53828247668db7e8526ff27-80413180',
'function' =>
array (
),
'variables' =>
array (
'RECORD' => 0,
'IMAGE_INFO' => 0,
'NOIMAGE' => 0,
'DETAILVIEW_LINKS' => 0,
'DETAIL_VIEW_BASIC_LINK' => 0,
'MODULE' => 0,
'DETAIL_VIEW_LINK' => 0,
'CURRENT_USER_MODEL' => 0,
'MODULE_MODEL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68db7e852e325',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68db7e852e325')) {function content_68db7e852e325($_smarty_tpl) {?>
<div class="detailViewContainer"><div class="col-sm-12 col-xs-12"><div class="detailViewTitle" id="userPageHeader"><div class = "row"><div class="col-md-5"><div class="col-md-5 recordImage" style="height: 50px;width: 50px;"><?php $_smarty_tpl->tpl_vars['NOIMAGE'] = new Smarty_variable(0, 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['RECORD']->value->getImageDetails(); 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'])&&!empty($_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'])){?><img height="100%" width="100%" 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'];?>
" data-image-id="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['id'];?>
"><?php }else{ ?><?php $_smarty_tpl->tpl_vars['NOIMAGE'] = new Smarty_variable(1, null, 0);?><?php }?><?php } ?><?php if ($_smarty_tpl->tpl_vars['NOIMAGE']->value==1){?><div class="name"><span style="font-size:24px;"><strong> <?php echo mb_substr($_smarty_tpl->tpl_vars['RECORD']->value->getName(),0,2);?>
</strong></span></div><?php }?></div><span class="font-x-x-large" style="margin:5px;font-size:24px"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
</span></div><div class="pull-right col-md-7 detailViewButtoncontainer"><div class="btn-group pull-right"><?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 <?php if ($_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getLabel()=='LBL_EDIT'){?><?php }?>" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->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();?>
'"<?php }else{ ?>onclick="<?php echo $_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getUrl();?>
"<?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['DETAIL_VIEW_BASIC_LINK']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button><?php } ?><?php if (count($_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value['DETAILVIEW'])>0){?><button class="btn btn-default" data-toggle="dropdown" href="javascript:void(0);"><?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<i class="caret"></i></button><ul class="dropdown-menu pull-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()=="Delete"){?><?php if ($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->isAdminUser()&&$_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->getId()!=$_smarty_tpl->tpl_vars['RECORD']->value->getId()){?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_detailView_moreAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getLabel());?>
"><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']->value);?>
</a><?php }?><?php }else{ ?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_detailView_moreAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['DETAIL_VIEW_LINK']->value->getLabel());?>
"><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']->value);?>
</a></li><?php }?><?php } ?></ul><?php }?></div></div></div></div><hr/><div class="detailview-content userPreferences container-fluid"><?php $_smarty_tpl->tpl_vars["MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->get('name'), null, 0);?><input id="recordId" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
" /><div class="details row"><?php }} ?>

View File

@@ -0,0 +1,82 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/EditView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15045237068e3cc12a29541-89651982%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2ac65dd2499da6de32801f0e6e06e6b23b15d8d9' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/EditView.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '15045237068e3cc12a29541-89651982',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'SEC_MODULE' => 0,
'RECORDID' => 0,
'FOLDERID' => 0,
'relmodulesstring' => 0,
'MODE' => 0,
'isDuplicate' => 0,
'cancel_btn_url' => 0,
'REPORTTYPE' => 0,
'steps_display' => 0,
'REPORT_GROUPING' => 0,
'REPORT_COLUMNS' => 0,
'REPORT_COLUMNS_TOTAL' => 0,
'REPORT_CUSTOM_CALCULATIONS' => 0,
'REPORT_LABELS' => 0,
'REPORT_FILTERS' => 0,
'REPORT_SHARING' => 0,
'REPORT_SCHEDULER' => 0,
'REPORT_GRAPHS' => 0,
'REPORT_DASHBOARDS' => 0,
'REPORT_MAPS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a38c9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a38c9')) {function content_68e3cc12a38c9($_smarty_tpl) {?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("EditHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<form id="EditView"></form><form name="NewReport" id="NewReport" class="form-horizontal recordEditView" action="index.php" method="POST" enctype="multipart/form-data" onsubmit="return changeSteps();"><input type="hidden" name="module" value="ITS4YouReports"><input type="hidden" name='secondarymodule' id='secondarymodule' value="<?php echo $_smarty_tpl->tpl_vars['SEC_MODULE']->value;?>
"/><input type="hidden" name="record" id="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORDID']->value;?>
"><input type="hidden" name='modulesString' id='modulesString' value=''/><input type="hidden" name='reload' id='reload' value='true'/><input type="hidden" name='action' id='action' value='Save'/><input type="hidden" name='file' id='file' value=''/><input type="hidden" name='folder' id='folder' value="<?php echo $_smarty_tpl->tpl_vars['FOLDERID']->value;?>
"/><input type="hidden" name='relatedmodules' id='relatedmodules' value='<?php echo $_smarty_tpl->tpl_vars['relmodulesstring']->value;?>
'/><input type="hidden" name='mode' id='mode' value='<?php echo $_smarty_tpl->tpl_vars['MODE']->value;?>
' /><input type="hidden" name='isDuplicate' id='isDuplicate' value='<?php echo $_smarty_tpl->tpl_vars['isDuplicate']->value;?>
' /><input type="hidden" name='SaveType' id='SaveType_v7' value='' /><input type="hidden" name='actual_step' id='actual_step' value='1' /><input type="hidden" name='cancel_btn_url' id='cancel_btn_url' value='<?php echo $_smarty_tpl->tpl_vars['cancel_btn_url']->value;?>
' /><input type="hidden" name="reporttype" id="reporttype" value="<?php echo $_smarty_tpl->tpl_vars['REPORTTYPE']->value;?>
"><div class="reportTab" id="step1"><?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/ReportsStep1.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step4"><?php echo $_smarty_tpl->tpl_vars['REPORT_GROUPING']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step5"><?php echo $_smarty_tpl->tpl_vars['REPORT_COLUMNS']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step6"><?php echo $_smarty_tpl->tpl_vars['REPORT_COLUMNS_TOTAL']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step61"><?php echo $_smarty_tpl->tpl_vars['REPORT_CUSTOM_CALCULATIONS']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step7"><?php echo $_smarty_tpl->tpl_vars['REPORT_LABELS']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step8"><?php echo $_smarty_tpl->tpl_vars['REPORT_FILTERS']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step9"><?php echo $_smarty_tpl->tpl_vars['REPORT_SHARING']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step10"><?php echo $_smarty_tpl->tpl_vars['REPORT_SCHEDULER']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step11"><?php echo $_smarty_tpl->tpl_vars['REPORT_GRAPHS']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step12"><?php echo $_smarty_tpl->tpl_vars['REPORT_DASHBOARDS']->value;?>
</div><div class="<?php echo $_smarty_tpl->tpl_vars['steps_display']->value;?>
" id="step14"><?php echo $_smarty_tpl->tpl_vars['REPORT_MAPS']->value;?>
</div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Buttons.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</form><?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/EditScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div></div><?php }} ?>

View File

@@ -0,0 +1,36 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-30 09:53:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/DetailViewFullContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:207876663768db7e8531de04-74305079%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2d7c291da3260099a7587e30072765d1b27b80ab' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/DetailViewFullContents.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '207876663768db7e8531de04-74305079',
'function' =>
array (
),
'variables' =>
array (
'MODULE_MODEL' => 0,
'NAME_FIELDS' => 0,
'MODULE_NAME' => 0,
'RECORD_STRUCTURE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68db7e8532d29',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68db7e8532d29')) {function content_68db7e8532d29($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['NAME_FIELDS'] = new Smarty_variable(array('first_name','last_name'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value){?><?php $_smarty_tpl->tpl_vars['NAME_FIELDS'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(), null, 0);?><?php }?><form id="detailView" data-name-fields='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['NAME_FIELDS']->value);?>
' method="POST"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('DetailViewBlockView.tpl',$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('RECORD_STRUCTURE'=>$_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value,'MODULE_NAME'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value), 0);?>
</form>
<?php }} ?>

View File

@@ -0,0 +1,91 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-03 11:08:44
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/PDFMaker/ModalEditAndExport.tpl" */ ?>
<?php /*%%SmartyHeaderCode:63133439768df848c79b851-64169813%%*/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' => '63133439768df848c79b851-64169813',
'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_68df848c802c0',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68df848c802c0')) {function content_68df848c802c0($_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>&nbsp;<?php echo vtranslate('LBL_BODY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;</strong></a></li><li class="" data-type="header"><a data-toggle="tab" href="#pdfheaderTabA" aria-expanded="true"><strong>&nbsp;<?php echo vtranslate('LBL_HEADER_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;</strong></a></li><li class="" data-type="footer"><a data-toggle="tab" href="#pdffooterTabA" aria-expanded="true"><strong>&nbsp;<?php echo vtranslate('LBL_FOOTER_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;</strong></a></li></ul></div><div class="col-xs-6"><?php echo vtranslate('LBL_TEMPLATE','PDFMaker');?>
:&nbsp;<?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>&nbsp;&nbsp;<?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>&nbsp;&nbsp;<?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>&nbsp;&nbsp;<?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>&nbsp;&nbsp;<?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 }} ?>

View File

@@ -0,0 +1,60 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewPreProcess.tpl" */ ?>
<?php /*%%SmartyHeaderCode:66915248368e3cbd8401d41-15215317%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2eb99c07ae66dc414eb65f68f69ad309d1bccc60' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewPreProcess.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '66915248368e3cbd8401d41-15215317',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'CURRENT_USER_MODEL' => 0,
'LEFTPANELHIDE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd84576c',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd84576c')) {function content_68e3cbd84576c($_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">
</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 }} ?>

View File

@@ -0,0 +1,81 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:24
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2160380368e3cbf04ab6c1-98359960%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'31a3a7b4c69f4c31aa2e85b34477ebeb721b58dc' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportContents.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '2160380368e3cbf04ab6c1-98359960',
'function' =>
array (
),
'variables' =>
array (
'NEW_COUNT' => 0,
'DATE_FILTERS' => 0,
'REPORTTYPE' => 0,
'CALCULATION_FIELDS' => 0,
'MODULE' => 0,
'CALCULATION_FIELD' => 0,
'CALCULATION_FIELD_KEYS' => 0,
'ESCAPE_CHAR' => 0,
'FIELD_IMPLODE' => 0,
'FIELD_LABEL' => 0,
'MODULE_NAME' => 0,
'CALCULATION_VALUE' => 0,
'DATA' => 0,
'VALUES' => 0,
'VALUE' => 0,
'LIMIT_EXCEEDED' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbf04cfc9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbf04cfc9')) {function content_68e3cbf04cfc9($_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';
?>
<input type="hidden" id="updatedCount" value="<?php echo $_smarty_tpl->tpl_vars['NEW_COUNT']->value;?>
" /><input type="hidden" name="date_filters" data-value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['DATE_FILTERS']->value);?>
' /><input type="hidden" name="report_filename" id="report_filename" value="" /><input type="hidden" name="export_pdf_format" id="export_pdf_format" value="" /><input type="hidden" name="pdf_file_name" id="pdf_file_name" value="" /><input type="hidden" name="ch_image_name" id="ch_image_name" value="" /><input type="hidden" name="date_filters" data-value='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['DATE_FILTERS']->value));?>
' /><input type="hidden" name="advft_criteria" id="advft_criteria" value='' /><input type="hidden" name="advft_criteria_groups" id="advft_criteria_groups" value='' /><input type="hidden" name="groupft_criteria" id="groupft_criteria" value='' /><input type="hidden" name="quick_filter_criteria" id="quick_filter_criteria" value="" /><input type="hidden" name='reload' id='reload' value='true'/><input type="hidden" name="currentMode" id="currentMode" value='generate' /><input type="hidden" name="reporttype" id="reporttype" value='<?php echo $_smarty_tpl->tpl_vars['REPORTTYPE']->value;?>
' /><div id="reports4you_html" style="width: 100%;"><?php if (!empty($_smarty_tpl->tpl_vars['CALCULATION_FIELDS']->value)){?><table class=" table-bordered table-condensed marginBottom10px" width="100%"><thead><tr class="blockHeader"><th><?php echo vtranslate('LBL_FIELD_NAMES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</th><th><?php echo vtranslate('LBL_SUM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</th><th><?php echo vtranslate('LBL_AVG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</th><th><?php echo vtranslate('LBL_MIN',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</th><th><?php echo vtranslate('LBL_MAX',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</th></tr></thead><?php $_smarty_tpl->tpl_vars['ESCAPE_CHAR'] = new Smarty_variable(array('_SUM','_AVG','_MIN','_MAX'), null, 0);?><?php $_smarty_tpl->tpl_vars['CALCULATION_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->_loop = false;
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CALCULATION_FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->key => $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->value){
$_smarty_tpl->tpl_vars['CALCULATION_FIELD']->_loop = true;
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->key;
?><tr><?php $_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEYS'] = new Smarty_variable(array_keys($_smarty_tpl->tpl_vars['CALCULATION_FIELD']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEYS'] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEYS']->value,$_smarty_tpl->tpl_vars['ESCAPE_CHAR']->value,''), null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_IMPLODE'] = new Smarty_variable(explode('_',$_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEYS']->value['0']), null, 0);?><?php $_smarty_tpl->tpl_vars['MODULE_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_IMPLODE']->value['0'], null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_LABEL'] = new Smarty_variable(implode(" ",$_smarty_tpl->tpl_vars['FIELD_IMPLODE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_LABEL'] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['FIELD_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE_NAME']->value,''), null, 0);?><td><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</td><?php $_smarty_tpl->tpl_vars['CALCULATION_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CALCULATION_VALUE']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['CALCULATION_VALUE']->key => $_smarty_tpl->tpl_vars['CALCULATION_VALUE']->value){
$_smarty_tpl->tpl_vars['CALCULATION_VALUE']->_loop = true;
?><td width="15%"><?php echo $_smarty_tpl->tpl_vars['CALCULATION_VALUE']->value;?>
</td><?php } ?></tr><?php } ?></table><?php }?><?php if ($_smarty_tpl->tpl_vars['DATA']->value!=''){?><?php $_smarty_tpl->tpl_vars['HEADERS'] = new Smarty_variable($_smarty_tpl->tpl_vars['DATA']->value[0], null, 0);?><?php $_smarty_tpl->tpl_vars['VALUES'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['VALUES']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DATA']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['VALUES']->key => $_smarty_tpl->tpl_vars['VALUES']->value){
$_smarty_tpl->tpl_vars['VALUES']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['VALUE']->_loop = false;
$_smarty_tpl->tpl_vars['NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['VALUES']->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['NAME']->value = $_smarty_tpl->tpl_vars['VALUE']->key;
?><span style="background-color:white;"><?php echo $_smarty_tpl->tpl_vars['VALUE']->value;?>
</span><?php } ?><?php } ?><?php if ($_smarty_tpl->tpl_vars['LIMIT_EXCEEDED']->value){?><center><?php echo vtranslate('LBL_LIMIT_EXCEEDED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="pull-right"><a href="#top" ><?php echo vtranslate('LBL_TOP',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></span></center><?php }?><?php }else{ ?><?php echo vtranslate('LBL_NO_DATA_AVAILABLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?></div></div></form><div class="no-print">
<?php }} ?>

View File

@@ -0,0 +1,163 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:53:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/EditView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7876376268e8bb6073d325-24712270%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'321093a500db0ff0afe8a6db09bc46a8305b06d7' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/EditView.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '7876376268e8bb6073d325-24712270',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'RECORD_ID' => 0,
'SINGLE_MODULE_NAME' => 0,
'RECORD_STRUCTURE_MODEL' => 0,
'USER_MODEL' => 0,
'IS_PARENT_EXISTS' => 0,
'SPLITTED_MODULE' => 0,
'IS_PREFERENCE' => 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,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb607a893',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb607a893')) {function content_68e8bb607a893($_smarty_tpl) {?>
<div class="editViewPageDiv detailViewContainer">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<form class="form-horizontal recordEditView" id="EditView" name="EditView" method="post" action="index.php" enctype="multipart/form-data">
<div class="editViewHeader">
<div class='row'>
<div class="col-lg-12 col-md-12 col-sm-12 ">
<?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" 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"><?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>
<hr>
<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="isPreference" value="<?php echo $_smarty_tpl->tpl_vars['IS_PREFERENCE']->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>&nbsp;&nbsp;
<a class='cancelLink' href="javascript:history.back()" type="reset"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div><?php }} ?>

View File

@@ -0,0 +1,52 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:53:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/uitypes/Picklist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:116068991768e8bb60844413-27583923%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'32f99226f22be703c5009c69cbb16c848d584fb2' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/uitypes/Picklist.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '116068991768e8bb60844413-27583923',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'FIELD_INFO' => 0,
'EVENT_MODULE' => 0,
'EVENTSTATUS_FIELD_MODEL' => 0,
'ACTIVITYTYPE_FIELD_MODEL' => 0,
'OCCUPY_COMPLETE_WIDTH' => 0,
'SPECIAL_VALIDATOR' => 0,
'PICKLIST_VALUES' => 0,
'PICKLIST_NAME' => 0,
'MODULE' => 0,
'OPTION_VALUE' => 0,
'PICKLIST_VALUE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb608606b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb608606b')) {function content_68e8bb608606b($_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['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistvalues'], 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_MODEL']->value->getFieldName()=='defaulteventstatus'){?><?php $_smarty_tpl->tpl_vars['EVENT_MODULE'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Events'), null, 0);?><?php $_smarty_tpl->tpl_vars['EVENTSTATUS_FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['EVENT_MODULE']->value->getField('eventstatus'), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['EVENTSTATUS_FIELD_MODEL']->value->getPicklistValues(), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName()=='defaultactivitytype'){?><?php $_smarty_tpl->tpl_vars['EVENT_MODULE'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Events'), null, 0);?><?php $_smarty_tpl->tpl_vars['ACTIVITYTYPE_FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['EVENT_MODULE']->value->getField('activitytype'), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['ACTIVITYTYPE_FIELD_MODEL']->value->getPicklistValues(), null, 0);?><?php }?><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 if ($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value==' '&&($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')=='currency_decimal_separator'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')=='currency_grouping_separator')){?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_variable(vtranslate('Space',$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['OPTION_VALUE'] = new Smarty_variable('&nbsp;', null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['OPTION_VALUE'] = new Smarty_variable(Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value), null, 0);?><?php }?><option value="<?php echo $_smarty_tpl->tpl_vars['OPTION_VALUE']->value;?>
" <?php if (decode_html($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'))==decode_html($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value)){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
</option><?php } ?></select><?php }} ?>

View File

@@ -0,0 +1,120 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-30 09:53:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/DetailViewBlockView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:214649531368db7e8532f7d4-69915681%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'33894b54b7c9f326cf66074e0794d4a435454428' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/DetailViewBlockView.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '214649531368db7e8532f7d4-69915681',
'function' =>
array (
),
'variables' =>
array (
'DAY_STARTS' => 0,
'RECORD_STRUCTURE' => 0,
'BLOCK_LABEL_KEY' => 0,
'BLOCK_LIST' => 0,
'BLOCK' => 0,
'FIELD_MODEL_LIST' => 0,
'USER_MODEL' => 0,
'MODULE_NAME' => 0,
'FIELD_MODEL' => 0,
'TAXCLASS_DETAILS' => 0,
'COUNTER' => 0,
'WIDTHTYPE' => 0,
'tax' => 0,
'MODULE' => 0,
'IMAGE_DETAILS' => 0,
'IMAGE_INFO' => 0,
'fieldDataType' => 0,
'RECORD' => 0,
'BASE_CURRENCY_SYMBOL' => 0,
'IS_AJAX_ENABLED' => 0,
'FIELD_DISPLAY_VALUE' => 0,
'FIELD_VALUE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68db7e8537cca',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68db7e8537cca')) {function content_68db7e8537cca($_smarty_tpl) {?>
<input type=hidden name="timeFormatOptions" data-value='<?php echo $_smarty_tpl->tpl_vars['DAY_STARTS']->value;?>
' /><?php $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->_loop = false;
$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value){
$_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->_loop = true;
$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->key;
?><?php if ($_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value!='LBL_CALENDAR_SETTINGS'){?><?php $_smarty_tpl->tpl_vars['BLOCK'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK_LIST']->value[$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value], null, 0);?><?php if ($_smarty_tpl->tpl_vars['BLOCK']->value==null||count($_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value)<=0){?><?php continue 1?><?php }?><div class="block block_<?php echo $_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value;?>
" data-block="<?php echo $_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value;?>
" data-blockid="<?php echo $_smarty_tpl->tpl_vars['BLOCK_LIST']->value[$_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value]->get('id');?>
"><?php $_smarty_tpl->tpl_vars['IS_HIDDEN'] = new Smarty_variable($_smarty_tpl->tpl_vars['BLOCK']->value->isHidden(), null, 0);?><?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?><div><h4><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['BLOCK_LABEL_KEY']->value;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
<?php $_tmp2=ob_get_clean();?><?php echo vtranslate($_tmp1,$_tmp2);?>
</h4></div><hr><div class="blockData"><table class="table detailview-table no-border"><tbody><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><tr><?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['FIELD_MODEL_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value){
$_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true;
$_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
?><?php $_smarty_tpl->tpl_vars['fieldDataType'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?><?php if (!$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isViewableInDetailView()){?><?php continue 1?><?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='theme'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='rowheight'){?><?php continue 1?><?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="83"){?><?php $_smarty_tpl->tpl_vars['tax'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax']->_loop = false;
$_smarty_tpl->tpl_vars['count'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tax']->key => $_smarty_tpl->tpl_vars['tax']->value){
$_smarty_tpl->tpl_vars['tax']->_loop = true;
$_smarty_tpl->tpl_vars['count']->value = $_smarty_tpl->tpl_vars['tax']->key;
?><?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 <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"><span class='muted'><?php echo vtranslate($_smarty_tpl->tpl_vars['tax']->value['taxlabel'],$_smarty_tpl->tpl_vars['MODULE']->value);?>
(%)</span></td><td class="fieldValue <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"><span class="value textOverflowEllipsis" data-field-type="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType();?>
" ><?php if ($_smarty_tpl->tpl_vars['tax']->value['check_value']==1){?><?php echo $_smarty_tpl->tpl_vars['tax']->value['percentage'];?>
<?php }else{ ?>0<?php }?></span></td><?php } ?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="69"||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="105"){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value!=0){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php }?><?php }?><td class="fieldLabel <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"><span class="muted"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label');?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
<?php $_tmp4=ob_get_clean();?><?php echo vtranslate($_tmp3,$_tmp4);?>
</span></td><td class="fieldValue <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"><div id="imageContainer" width="300" height="200"><?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'];?>
" width="300" height="200"><?php }?><?php } ?></div></td><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?><?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="20"||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"||$_smarty_tpl->tpl_vars['fieldDataType']->value=='reminder'||$_smarty_tpl->tpl_vars['fieldDataType']->value=='recurrence'){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value=='1'){?><td class="fieldLabel <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"></td><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"></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 <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
textOverflowEllipsis" id="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
_detailView_fieldLabel_<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName();?>
" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='description'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='69'){?> style='width:8%'<?php }?>><span class="muted"><?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=='Documents'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label')=="File Name"&&$_smarty_tpl->tpl_vars['RECORD']->value->get('filelocationtype')=='E'){?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
<?php $_tmp5=ob_get_clean();?><?php echo vtranslate("LBL_FILE_URL",$_tmp5);?>
<?php }else{ ?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label');?>
<?php $_tmp6=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
<?php $_tmp7=ob_get_clean();?><?php echo vtranslate($_tmp6,$_tmp7);?>
<?php }?><?php if (($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='72')&&($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='unit_price')){?>(<?php echo $_smarty_tpl->tpl_vars['BASE_CURRENCY_SYMBOL']->value;?>
)<?php }?></span></td><td class="fieldValue <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
_detailView_fieldValue_<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName();?>
" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='20'||$_smarty_tpl->tpl_vars['fieldDataType']->value=='reminder'||$_smarty_tpl->tpl_vars['fieldDataType']->value=='recurrence'){?> colspan="3" <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> <?php }?>><?php $_smarty_tpl->tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['fieldDataType']->value=='multipicklist'){?><?php $_smarty_tpl->tpl_vars['FIELD_DISPLAY_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['FIELD_DISPLAY_VALUE'] = new Smarty_variable(Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'))), null, 0);?><?php }?><span class="value textOverflowEllipsis" data-field-type="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType();?>
" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='20'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='21'){?> style="white-space:normal;" <?php }?> <?php if ($_smarty_tpl->tpl_vars['fieldDataType']->value=='email'){?>title='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
'<?php }?> ><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getDetailViewTemplateName(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value,'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value,'RECORD'=>$_smarty_tpl->tpl_vars['RECORD']->value), 0);?>
</span><?php if ($_smarty_tpl->tpl_vars['IS_AJAX_ENABLED']->value&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()=='true'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isAjaxEditable()=='true'){?><span class="hide edit pull-left"><?php if ($_smarty_tpl->tpl_vars['fieldDataType']->value=='multipicklist'){?><input type="hidden" class="fieldBasicData" data-name='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
[]' data-type="<?php echo $_smarty_tpl->tpl_vars['fieldDataType']->value;?>
" data-displayvalue='<?php echo $_smarty_tpl->tpl_vars['FIELD_DISPLAY_VALUE']->value;?>
' data-value="<?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
" /><?php }else{ ?><input type="hidden" class="fieldBasicData" data-name='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
' data-type="<?php echo $_smarty_tpl->tpl_vars['fieldDataType']->value;?>
" data-displayvalue='<?php echo $_smarty_tpl->tpl_vars['FIELD_DISPLAY_VALUE']->value;?>
' data-value="<?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
" /><?php }?></span><span class="action pull-right"><a href="#" onclick="return false;" class="editAction fa fa-pencil"></a></span><?php }?></td><?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value)==1&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="19"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="20"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="30"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')!="recurringtype"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="69"&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!="105"){?><td class="fieldLabel <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"></td><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"></td><?php }?><?php } ?><?php if (end($_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value)==true&&count($_smarty_tpl->tpl_vars['FIELD_MODEL_LIST']->value)!=1&&$_smarty_tpl->tpl_vars['COUNTER']->value==1){?><td class="fieldLabel <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"></td><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"></td><?php }?></tr></tbody></table></div></div><br><?php }?><?php } ?><?php }} ?>

View File

@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-19 18:03:08
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:48:18
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Project/SummaryViewWidgets.tpl" */ ?>
<?php /*%%SmartyHeaderCode:55852451468cd70ac2f99e4-36671427%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'358deb40a6f14b97efbca345f9978b2b17b57858' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Project/SummaryViewWidgets.tpl',
1 => 1711810495,
1 => 1760082488,
2 => 'file',
),
),
@@ -15,6 +15,8 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'function' =>
array (
),
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68cd70ac34ccd',
'variables' =>
array (
'DETAILVIEW_LINKS' => 0,
@@ -43,8 +45,6 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'STATUS_FIELD_MODEL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68cd70ac34ccd',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68cd70ac34ccd')) {function content_68cd70ac34ccd($_smarty_tpl) {?>

View File

@@ -0,0 +1,36 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewPreProcess.tpl" */ ?>
<?php /*%%SmartyHeaderCode:162821390268e3cbe7649fe8-83658409%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'360fc795e14e13a071b098fb502a6472dc052979' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewPreProcess.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '162821390268e3cbe7649fe8-83658409',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'CURRENT_USER_MODEL' => 0,
'LEFTPANELHIDE' => 0,
'NO_LICENSE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbe7658c2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe7658c2')) {function content_68e3cbe7658c2($_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 <?php if (0==$_smarty_tpl->tpl_vars['NO_LICENSE']->value){?>content-area<?php }?> <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> full-width <?php }?>" id="listViewContent"><?php }} ?>

View File

@@ -0,0 +1,46 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 11:42:45
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Accounts/uitypes/Text.tpl" */ ?>
<?php /*%%SmartyHeaderCode:200928561668e8c705eaba32-92042081%%*/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' => '200928561668e8c705eaba32-92042081',
'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_68e8c705f15cb',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8c705f15cb')) {function content_68e8c705f15cb($_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 }} ?>

View File

@@ -0,0 +1,65 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:53:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/partials/EditViewContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:74966687468e8bb607add18-14602432%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3c26a30c65f61c730d7eaaacc81ec5ef7b7e2155' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/partials/EditViewContents.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '74966687468e8bb607add18-14602432',
'function' =>
array (
),
'variables' =>
array (
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
'RECORD_STRUCTURE' => 0,
'BLOCK_LABEL' => 0,
'BLOCK_FIELDS' => 0,
'MODULE' => 0,
'FIELD_MODEL' => 0,
'refrenceList' => 0,
'COUNTER' => 0,
'isReferenceField' => 0,
'refrenceListCount' => 0,
'value' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb607da44',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb607da44')) {function content_68e8bb607da44($_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 $_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_CALENDAR_SETTINGS'){?><?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;?>
"><div><h4><?php echo vtranslate($_smarty_tpl->tpl_vars['BLOCK_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4></div><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->getName()=='theme'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='rowheight'){?><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName();?>
" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
"/><?php continue 1?><?php }?><?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){?><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 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 }?>&nbsp; <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?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 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><br><?php }?><?php }?><?php } ?></div><?php }} ?>

View File

@@ -0,0 +1,164 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:211811651668e3cbd8555e72-61158242%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3c98f6b3d313a8b82b05eb7bcd33de4bd16354a4' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewContents.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '211811651668e3cbd8555e72-61158242',
'function' =>
array (
),
'variables' =>
array (
'CURRENT_USER_MODEL' => 0,
'LEFTPANELHIDE' => 0,
'VIEW' => 0,
'VIEWID' => 0,
'PAGING_MODEL' => 0,
'OPERATOR' => 0,
'LISTVIEW_COUNT' => 0,
'PAGE_NUMBER' => 0,
'LISTVIEW_ENTRIES_COUNT' => 0,
'SEARCH_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,
'VIEWNAME' => 0,
'SEARCH_MODE_RESULTS' => 0,
'MODULE' => 0,
'LISTVIEW_MODEL' => 0,
'LISTVIEW_HEADERS' => 0,
'COLUMN_NAME' => 0,
'LISTVIEW_HEADER_KEY' => 0,
'NEXT_SORT_ORDER' => 0,
'FASORT_IMAGE' => 0,
'MODULE_MODEL' => 0,
'LISTVIEW_HEADER' => 0,
'DATA_TYPE' => 0,
'FIELD_INFO' => 0,
'PICKLIST_VALUES' => 0,
'PICKLIST_LABEL' => 0,
'PICKLIST_KEY' => 0,
'SEARCH_VALUES' => 0,
'ICON_CLASS' => 0,
'LISTVIEW_ENTRIES' => 0,
'LISTVIEW_ENTRY' => 0,
'LISTVIEW_HEADERNAME' => 0,
'LISTVIEW_ENTRY_RAWVALUE' => 0,
'LISTVIEW_ENTRY_VALUE' => 0,
'COLSPAN_WIDTH' => 0,
'IS_MODULE_EDITABLE' => 0,
'LIST_VIEW_MODEL' => 0,
'SINGLE_MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd859f2a',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd859f2a')) {function content_68e3cbd859f2a($_smarty_tpl) {?>
<div class="col-sm-12 col-xs-12 "><?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><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="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="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="folder" value="<?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
" /><?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;margin-left:6px;"><span class="input dropdown-toggle" title="<?php echo vtranslate('LBL_CLICK_HERE_TO_SELECT_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" data-toggle="dropdown"><input class="listViewEntriesMainCheckBox" type="checkbox"></span></div></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 ob_start();?><?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["LISTVIEW_HEADERS"] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_MODEL']->value->getListViewHeadersForVtiger7($_tmp1), null, 0);?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY'] = new Smarty_Variable;
$_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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key;
?><th <?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?> nowrap="nowrap" <?php }?>><a href="#" class="listViewContentHeaderValues" data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
<?php }else{ ?>ASC<?php }?>" data-columnname="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value;?>
"><?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?><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 }?>&nbsp;<?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['label'],$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;</a><?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?><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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY'] = new Smarty_Variable;
$_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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key;
?><th><?php $_smarty_tpl->tpl_vars["DATA_TYPE"] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value['type'], null, 0);?><?php if ($_smarty_tpl->tpl_vars['DATA_TYPE']->value=='string'){?><div class="row-fluid"><input type="text" name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value;?>
" class="listSearchContributor inputElement" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['searchValue'];?>
" data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
'/></div><?php }elseif($_smarty_tpl->tpl_vars['DATA_TYPE']->value=='picklist'){?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable(Reports_Field_Model::getPicklistValueByField($_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['searchValue']), null, 0);?><div class="row-fluid"><select class="select2 listSearchContributor report-type-select" name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value;?>
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
'><?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;
?><?php if ($_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value=='Chart'){?><?php $_smarty_tpl->tpl_vars["ICON_CLASS"] = new Smarty_variable('fa fa-pie-chart', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value=='Detail'){?><?php $_smarty_tpl->tpl_vars["ICON_CLASS"] = new Smarty_variable('vicon-detailreport', null, 0);?><?php }?><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 if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value=='reporttype'){?>class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
'<?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value;?>
</option><?php } ?></select></div><?php }?><input type="hidden" class="operatorValue" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['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']++;
?><tr class="listViewEntries" data-id='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
' data-recordUrl='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDetailViewUrl();?>
' id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_row_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['listview']['index']+1;?>
"><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 $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY'] = new Smarty_Variable;
$_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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key;
?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value, 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_KEY']->value), 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" data-name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value;?>
" title="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE']->value;?>
" data-rawvalue="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE']->value;?>
" data-field-type=""><span class="fieldValue"><span class="value textOverflowEllipsis"><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='reporttype'){?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value=='summary'||$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value=='tabular'){?><center title="<?php echo vtranslate('LBL_DETAIL_REPORT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><span class='vicon-detailreport' style="font-size:17px;"></span></center><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value=='chart'){?><center title="<?php echo vtranslate('LBL_CHART_REPORT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><span class='fa fa-pie-chart fa-2x' style="font-size:1.7em;"></span></center><?php }?><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='primarymodule'){?><?php echo Vtiger_Util_Helper::tosafeHTML(decode_html(vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value,$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value)));?>
<?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='foldername'){?><?php echo Vtiger_Util_Helper::tosafeHTML(vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value,$_smarty_tpl->tpl_vars['MODULE']->value));?>
<?php }else{ ?><?php echo Vtiger_Util_Helper::tosafeHTML($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value);?>
<?php }?></span></span></span></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 $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['COLSPAN_WIDTH'] = new Smarty_variable($_tmp2+1, null, 0);?><td colspan="<?php echo $_smarty_tpl->tpl_vars['COLSPAN_WIDTH']->value;?>
"><div class="emptyRecordsDiv"><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_NO');?>
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo vtranslate('LBL_FOUND');?>
.<?php if ($_smarty_tpl->tpl_vars['IS_MODULE_EDITABLE']->value){?> <a 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></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 }} ?>

View File

@@ -0,0 +1,45 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:52:41
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/ListViewRecordActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:156055437368e8bb49854f22-22285904%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3df1e8fba774f9121682f66a8fd30f302e728d34' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/ListViewRecordActions.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '156055437368e8bb49854f22-22285904',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'LISTVIEW_ENTRY' => 0,
'IS_MODULE_EDITABLE' => 0,
'IS_MODULE_DELETABLE' => 0,
'USER_MODEL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb4986505',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb4986505')) {function content_68e8bb4986505($_smarty_tpl) {?>
<div class="table-actions"><span class="more dropdown action"><span href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i title="<?php echo vtranslate("LBL_MORE_OPTIONS",$_smarty_tpl->tpl_vars['MODULE']->value);?>
" class="fa fa-ellipsis-v icon"></i></span><ul class="dropdown-menu"><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('status')=='Active'){?><?php if (Users_Privileges_Model::isPermittedToChangeUsername($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId())){?><li><a onclick="Settings_Users_List_Js.triggerChangeUsername('<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getChangeUsernameUrl();?>
');"><?php echo vtranslate('LBL_CHANGE_USERNAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php }?><li><a onclick="Settings_Users_List_Js.triggerChangePassword('<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getChangePwdUrl();?>
');"><?php echo vtranslate('LBL_CHANGE_PASSWORD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php if ($_smarty_tpl->tpl_vars['IS_MODULE_EDITABLE']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('status')=='Active'){?><li><a href="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getEditViewUrl();?>
&parentblock=LBL_USER_MANAGEMENT" name="editlink"><?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['IS_MODULE_DELETABLE']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId()!=$_smarty_tpl->tpl_vars['USER_MODEL']->value->getId()){?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('status')=='Active'){?><li><a href='javascript:Settings_Users_List_Js.triggerDeleteUser("<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDeleteUrl();?>
")'><?php echo vtranslate("LBL_REMOVE_USER",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</i></a></li><?php }else{ ?><li><a onclick="Settings_Users_List_Js.restoreUser(<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
, event);"><?php echo vtranslate("LBL_RESTORE_USER",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><li><a href='javascript:Settings_Users_List_Js.triggerDeleteUser("<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDeleteUrl();?>
", "true")'><?php echo vtranslate("LBL_REMOVE_USER",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</i></a></li><?php }?><?php }?></ul></span></div><?php }} ?>

View File

@@ -0,0 +1,27 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:11:51
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskConditional.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12033154468da77871935c5-38932075%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3f061be49f5bf712fca6d666e11bdda421300edd' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskConditional.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '12033154468da77871935c5-38932075',
'function' =>
array (
),
'variables' =>
array (
'conditionalContent' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da77871cb83',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da77871cb83')) {function content_68da77871cb83($_smarty_tpl) {?><?php echo $_smarty_tpl->tpl_vars['conditionalContent']->value;?>
<?php }} ?>

View File

@@ -0,0 +1,54 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewRecordActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:67782905768e3cbe78974b6-61021895%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4430d7df5d1ac99e15a492ff3f5f7ca89e8e9419' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewRecordActions.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '67782905768e3cbe78974b6-61021895',
'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_68e3cbe78b146',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe78b146')) {function content_68e3cbe78b146($_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->get('starred')=='Yes'){?><?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_STARRED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?> <?php echo vtranslate('LBL_NOT_STARRED',$_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['duplicate']){?><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();?>
&isDuplicate=true&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
" name="editlink"><?php echo vtranslate('LBL_DUPLICATE',$_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 }} ?>

View File

@@ -0,0 +1,58 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Sharing.tpl" */ ?>
<?php /*%%SmartyHeaderCode:104062189868da79ed731482-56094819%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4870107a004b15a5c5d8f5bc6aea6880095d5543' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Sharing.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '104062189868da79ed731482-56094819',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'TEMPLATE_OWNERS' => 0,
'TEMPLATE_OWNER' => 0,
'SHARINGTYPES' => 0,
'SHARINGTYPE' => 0,
'MEMBER_GROUPS' => 0,
'GROUP_LABEL' => 0,
'TRANS_GROUP_LABEL' => 0,
'ALL_GROUP_MEMBERS' => 0,
'MEMBER' => 0,
'SELECTED_MEMBERS_GROUP' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed73ff2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed73ff2')) {function content_68da79ed73ff2($_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';
?>
<div class="tab-pane" id="editTabSharing"><br><div id="sharing_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_TEMPLATE_OWNER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="controls col-sm-9"><select name="template_owner" id="template_owner" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['TEMPLATE_OWNERS']->value,'selected'=>$_smarty_tpl->tpl_vars['TEMPLATE_OWNER']->value),$_smarty_tpl);?>
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_SHARING_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><select name="sharing" id="sharing" data-toogle-members="true" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SHARINGTYPES']->value,'selected'=>$_smarty_tpl->tpl_vars['SHARINGTYPE']->value),$_smarty_tpl);?>
</select><br><div class="memberListContainer <?php if ($_smarty_tpl->tpl_vars['SHARINGTYPE']->value!='share'){?>hide<?php }?>"><select id="memberList" class="select2 form-control members" multiple="true" name="members[]" data-placeholder="<?php echo vtranslate('LBL_ADD_USERS_ROLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" style="margin-bottom: 10px;" data-rule-required="<?php if ($_smarty_tpl->tpl_vars['SHARINGTYPE']->value=="share"){?>true<?php }else{ ?>false<?php }?>"><?php $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->_loop = false;
$_smarty_tpl->tpl_vars['GROUP_LABEL'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['MEMBER_GROUPS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->key => $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->value){
$_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->_loop = true;
$_smarty_tpl->tpl_vars['GROUP_LABEL']->value = $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->key;
?><?php $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['GROUP_LABEL']->value, null, 0);?><?php if ($_smarty_tpl->tpl_vars['GROUP_LABEL']->value=='RoleAndSubordinates'){?><?php $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL'] = new Smarty_variable('LBL_ROLEANDSUBORDINATE', null, 0);?><?php }?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL']->value);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL'] = new Smarty_variable($_tmp1, null, 0);?><optgroup label="<?php echo $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL']->value;?>
"><?php $_smarty_tpl->tpl_vars['MEMBER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MEMBER']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['MEMBER']->key => $_smarty_tpl->tpl_vars['MEMBER']->value){
$_smarty_tpl->tpl_vars['MEMBER']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['MEMBER']->value->getId();?>
" data-member-type="<?php echo $_smarty_tpl->tpl_vars['GROUP_LABEL']->value;?>
" <?php if (isset($_smarty_tpl->tpl_vars['SELECTED_MEMBERS_GROUP']->value[$_smarty_tpl->tpl_vars['GROUP_LABEL']->value][$_smarty_tpl->tpl_vars['MEMBER']->value->getId()])){?>selected="true"<?php }?>><?php echo $_smarty_tpl->tpl_vars['MEMBER']->value->getName();?>
</option><?php } ?></optgroup><?php } ?></select></div></div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,90 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportColumns.tpl" */ ?>
<?php /*%%SmartyHeaderCode:129343420368e3cc1252d8f9-51596465%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'49e473492e588416beff2a368bef0b35e5fe6eb0' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportColumns.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '129343420368e3cc1252d8f9-51596465',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'availModules' => 0,
'modulearr' => 0,
'ALL_FIELDS_STRING' => 0,
'BLOCK1' => 0,
'BLOCK2' => 0,
'scolrow_n' => 0,
'BLOCK3' => 0,
'BLOCKS3' => 0,
'SC_INDEX' => 0,
'sortColumnRowPadding' => 0,
'SC_BLOCK' => 0,
'BLOCKS_ORDER3' => 0,
'COLUMNS_LIMIT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12551b8',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12551b8')) {function content_68e3cc12551b8($_smarty_tpl) {?>
<script>var moveupLinkObj,moveupDisabledObj,movedownLinkObj,movedownDisabledObj;</script><div style="border:1px solid #ccc;padding:4%;"><div class="row"><div class="form-group"><div class="col-lg-2"><label class="control-label textAlignLeft"><?php echo vtranslate('LBL_SELECT_MODULE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div><div class="col-lg-2"><select id="availModules" name="availModules" onchange='defineModuleFields(this)' class="select2 inputElement"><?php $_smarty_tpl->tpl_vars['modulearr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['modulearr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['availModules']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['modulearr']->key => $_smarty_tpl->tpl_vars['modulearr']->value){
$_smarty_tpl->tpl_vars['modulearr']->_loop = true;
?><option value=<?php echo $_smarty_tpl->tpl_vars['modulearr']->value['id'];?>
<?php if ($_smarty_tpl->tpl_vars['modulearr']->value['checked']=="checked"){?>selected="selected"<?php }?> ><?php echo $_smarty_tpl->tpl_vars['modulearr']->value['name'];?>
</option><?php } ?></select></div><div class="col-lg-2"><input type="text" id="search_input" onkeyup="getFieldsOptionsSearch(this)" placeholder="<?php echo vtranslate('LBL_Search_column',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"class="inputElement"></div></div></div><div class="row"><div class="form-group"><div class="col-lg-3"><div id="availModValues" style="display:none;"><?php echo $_smarty_tpl->tpl_vars['ALL_FIELDS_STRING']->value;?>
</div><select id="availList" multiple size="20" name="availList" class="txtBox" ondblclick="addOndblclick(this)" style="width:100%;" ><?php echo $_smarty_tpl->tpl_vars['BLOCK1']->value;?>
</select></div><div class="col-lg-1"><button type='button' class='btn btn-default' onclick="addColumn('selectedColumns');" style="margin-top: 50%;"><?php echo vtranslate('LBL_ADD_ITEM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<i class="fa fa-arrow-right"></i></button></div><div class="col-lg-3"><input type="hidden" name="selectedColumnsString" id="selectedColumnsString"><select id="selectedColumns" size="20" name="selectedColumns" onchange="selectedColumnClick(this);" multiple class="inputElement" style="width:100%;" ><?php echo $_smarty_tpl->tpl_vars['BLOCK2']->value;?>
</select></div><div class="col-lg-1"><button type='button' class='btn btn-default' onclick="moveUp('selectedColumns');" title="<?php echo vtranslate('LBL_MOVE_UP_ITEM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-arrow-circle-up"></i></button><br><button type='button' class='btn btn-default' onclick="delColumn('selectedColumns');" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-times-circle "></i></button><br><button type='button' class='btn btn-default' onclick="moveDown('selectedColumns');" title="<?php echo vtranslate('LBL_MOVE_UP_ITEM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-arrow-circle-down"></i></button></div></div></div><div class="row"><div class="form-group"><div class="col-lg-2"><label class="control-label textAlignLeft"><?php echo vtranslate('LBL_SORT_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div><div class="col-lg-1"><span id="addSortCol1"><button type='button' class='btn btn-default' style='float:left;' onclick="addSortColumnRow()"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate('LBL_ADD_ITEM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></span></div><div class="col-lg-4 fieldBlockContainer"><div id="sortColumnsByDiv"><input id="scolrow_n" name="scolrow_n" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['scolrow_n']->value;?>
"><div id="sortColumnsByDivBase" style="display:none;"><div id="sortColumnRow" style="padding-top:5px;vertical-align: middle;"><select id="SortByColumnIdNr" name="SortByColumnIdNr" class="rep_select2 inputElement" style="margin:auto;" ><option value="none"><?php echo vtranslate('LBL_NONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php echo $_smarty_tpl->tpl_vars['BLOCK3']->value;?>
</select>&nbsp;&nbsp;<input type="radio" name="SortOrderColumnIdNr" value="ASC" checked><?php echo vtranslate('Ascending',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<input type="radio" name="SortOrderColumnIdNr" value="DESC"><?php echo vtranslate('Descending',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<a onclick="deleteSortColumnRow(this);" href="javascript:;"><img src="modules/ITS4YouReports/img/Delete.png" align="absmiddle" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..." border="0" ></a></div></div><?php $_smarty_tpl->tpl_vars["sortColumnRowPadding"] = new Smarty_variable('', null, 0);?><?php $_smarty_tpl->tpl_vars['SC_BLOCK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SC_BLOCK']->_loop = false;
$_smarty_tpl->tpl_vars['SC_INDEX'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['BLOCKS3']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['SC_BLOCK']->key => $_smarty_tpl->tpl_vars['SC_BLOCK']->value){
$_smarty_tpl->tpl_vars['SC_BLOCK']->_loop = true;
$_smarty_tpl->tpl_vars['SC_INDEX']->value = $_smarty_tpl->tpl_vars['SC_BLOCK']->key;
?><?php if ($_smarty_tpl->tpl_vars['SC_INDEX']->value>1){?><?php $_smarty_tpl->tpl_vars["sortColumnRowPadding"] = new Smarty_variable("padding-top:5px;", null, 0);?><?php }?><div id="sortColumnRow" style="<?php echo $_smarty_tpl->tpl_vars['sortColumnRowPadding']->value;?>
vertical-align: middle;"><select id="SortByColumn<?php echo $_smarty_tpl->tpl_vars['SC_INDEX']->value;?>
" name="SortByColumn<?php echo $_smarty_tpl->tpl_vars['SC_INDEX']->value;?>
" class="select2 inputElement" style="margin:auto;" ><option value="none"><?php echo vtranslate('LBL_NONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php echo $_smarty_tpl->tpl_vars['SC_BLOCK']->value;?>
</select>&nbsp;&nbsp;<input type="radio" name="SortOrderColumn<?php echo $_smarty_tpl->tpl_vars['SC_INDEX']->value;?>
" value="ASC" <?php if ($_smarty_tpl->tpl_vars['BLOCKS_ORDER3']->value[$_smarty_tpl->tpl_vars['SC_INDEX']->value]=="ASC"){?>checked<?php }?>><?php echo vtranslate('Ascending',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<input type="radio" name="SortOrderColumn<?php echo $_smarty_tpl->tpl_vars['SC_INDEX']->value;?>
" value="DESC" <?php if ($_smarty_tpl->tpl_vars['BLOCKS_ORDER3']->value[$_smarty_tpl->tpl_vars['SC_INDEX']->value]=="DESC"){?>checked<?php }?>><?php echo vtranslate('Descending',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<a onclick="deleteSortColumnRow(this);" href="javascript:;"><img src="modules/ITS4YouReports/img/Delete.png" align="absmiddle" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..." border="0" ></a></div><?php }
if (!$_smarty_tpl->tpl_vars['SC_BLOCK']->_loop) {
?><div id="sortColumnRow" style="vertical-align: middle;"><select id="SortByColumn1" name="SortByColumn1" class="select2 inputElement" style="margin:auto;" >addSortColumnRow <option value="none"><?php echo vtranslate('LBL_NONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php echo $_smarty_tpl->tpl_vars['BLOCK3']->value;?>
</select>&nbsp;&nbsp;<input type="radio" name="SortOrderColumn1" value="ASC" checked ><?php echo vtranslate('Ascending',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<input type="radio" name="SortOrderColumn1" value="DESC"><?php echo vtranslate('Descending',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<a onclick="deleteSortColumnRow(this);" href="javascript:;"><img src="modules/ITS4YouReports/img/Delete.png" align="absmiddle" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..." border="0" ></a></div><?php } ?></div></div></div></div><div class="row"><div class="form-group"><div class="col-lg-2"><label class="control-label textAlignLeft"><?php echo vtranslate('SET_LIMIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div><div class="col-lg-4 fieldBlockContainer"><input type="text" id="columns_limit" name="columns_limit" value="<?php if ($_smarty_tpl->tpl_vars['COLUMNS_LIMIT']->value!="0"){?><?php echo $_smarty_tpl->tpl_vars['COLUMNS_LIMIT']->value;?>
<?php }?>" class="inputElement" >&nbsp;&nbsp;<small><?php echo vtranslate('SET_EMPTY_FOR_ALL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</small></div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,201 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:23
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/FiltersCriteria.tpl" */ ?>
<?php /*%%SmartyHeaderCode:139399257768e3cbef724dd3-31062802%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4b187bb8283c39a94fc1145fe0286765c9e20728' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/FiltersCriteria.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '139399257768e3cbef724dd3-31062802',
'function' =>
array (
),
'variables' =>
array (
'std_filter_columns' => 0,
'std_filter_criteria' => 0,
'SEL_FIELDS' => 0,
'BLOCKJS_STD' => 0,
'REL_FIELDS' => 0,
'DISPLAY_FILTER_HEADER' => 0,
'MODULE' => 0,
'CRITERIA_GROUPS' => 0,
'GROUP_CRITERIA' => 0,
'GROUP_COLUMNS' => 0,
'GROUP_ID' => 0,
'COLUMN_CRITERIA' => 0,
'FCON_I' => 0,
'COLUMN_INDEX' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbef74419',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbef74419')) {function content_68e3cbef74419($_smarty_tpl) {?>
<script language="JAVASCRIPT" type="text/javascript" src="layouts/v7/modules/ITS4YouReports/resources/ITS4YouReports.js"></script>
<input type="hidden" name="std_filter_columns" id="std_filter_columns" value='<?php echo $_smarty_tpl->tpl_vars['std_filter_columns']->value;?>
' />
<div id="std_filter_criteria" class="hide" ><?php echo $_smarty_tpl->tpl_vars['std_filter_criteria']->value;?>
</div>
<input type="hidden" name="sel_fields" id="sel_fields" value='<?php echo $_smarty_tpl->tpl_vars['SEL_FIELDS']->value;?>
' />
<?php echo $_smarty_tpl->tpl_vars['BLOCKJS_STD']->value;?>
<script type="text/javascript">
var advft_column_index_count = -1;
var advft_group_index_count = 0;
var column_index_array = [];
var group_index_array = [];
var gf_advft_column_index_count = -1;
var gf_advft_group_index_count = 0;
var gf_column_index_array = [];
var gf_group_index_array = [];
var rel_fields = '<?php echo $_smarty_tpl->tpl_vars['REL_FIELDS']->value;?>
';
</script>
<table border=0 cellspacing=0 cellpadding=0 width="100%">
<?php if ($_smarty_tpl->tpl_vars['DISPLAY_FILTER_HEADER']->value===true){?>
<tr>
<td class="detailedViewHeader" nowrap align="left" colspan="8">
<div style="float:left;min-height: 2.3em;vertical-align: middle;padding-top:0.3em;">
<span class="genHeaderGray" style=""><?php echo vtranslate('LBL_ADVANCED_FILTER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span> &nbsp;
</div>
</td>
</tr>
<?php }?>
<tr>
<td class="dvtCellLabel" nowrap align="center" style="padding:0px;" colspan="8" >
<div style="display:block" id='adv_filter_div' name='adv_filter_div'>
<table class="small" border="0" cellpadding="0" cellspacing="0" width="100%">
</table>
<?php $_smarty_tpl->tpl_vars['FCON_I'] = new Smarty_variable("0", null, 0);?>
<script type="text/javascript">var window_onload = "";</script>
<?php $_smarty_tpl->tpl_vars['GROUP_CRITERIA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->_loop = false;
$_smarty_tpl->tpl_vars['GROUP_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CRITERIA_GROUPS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->key => $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->value){
$_smarty_tpl->tpl_vars['GROUP_CRITERIA']->_loop = true;
$_smarty_tpl->tpl_vars['GROUP_ID']->value = $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->key;
?>
<?php $_smarty_tpl->tpl_vars['GROUP_COLUMNS'] = new Smarty_variable($_smarty_tpl->tpl_vars['GROUP_CRITERIA']->value['columns'], null, 0);?>
<script type="text/javascript">
window_onload += addConditionGroup('adv_filter_div');
</script>
<?php $_smarty_tpl->tpl_vars['COLUMN_CRITERIA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = false;
$_smarty_tpl->tpl_vars['COLUMN_INDEX'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['GROUP_COLUMNS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key => $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value){
$_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = true;
$_smarty_tpl->tpl_vars['COLUMN_INDEX']->value = $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key;
?>
<script type="text/javascript">
window_onload +=
addConditionRow('<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
');
document.getElementById('fop' + advft_column_index_count).value = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['comparator'];?>
';
var conditionColumnRowElement = document.getElementById('fcol' + advft_column_index_count);
setSelectedCriteriaValue(conditionColumnRowElement,'<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['columnname'];?>
');
reports4you_updatefOptions(conditionColumnRowElement, 'fop' + advft_column_index_count, '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['comparator'];?>
');
addRequiredElements('f', advft_column_index_count);
updateRelFieldOptions(conditionColumnRowElement, 'fval_' + advft_column_index_count);
var columnvalue = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['value'];?>
';
if ('<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['comparator'];?>
' == 'bw' && columnvalue != '') {
var values = columnvalue.split(",");
document.getElementById('fval' + advft_column_index_count).value = values[0];
if (values.length == 2 && document.getElementById('fval_ext' + advft_column_index_count))
document.getElementById('fval_ext' + advft_column_index_count).value = values[1];
} else {
document.getElementById('fval' + advft_column_index_count).value = columnvalue;
}
<?php if ($_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['value_hdn']!=''){?>
document.getElementById('fvalhdn' + advft_column_index_count).value = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['value_hdn'];?>
';
jQuery('#fval'+ advft_column_index_count).attr("readonly","true");
<?php }?>
</script>
<?php if ($_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['column_condition']!=''){?>
<input type="hidden" name="hfcon_<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['FCON_I']->value;?>
" id="hfcon_<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['FCON_I']->value;?>
" value='<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['column_condition'];?>
' />
<?php }?>
<?php $_smarty_tpl->tpl_vars['FCON_I'] = new Smarty_variable($_smarty_tpl->tpl_vars['FCON_I']->value+1, null, 0);?>
<?php } ?>
<?php $_smarty_tpl->tpl_vars['COLUMN_CRITERIA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = false;
$_smarty_tpl->tpl_vars['COLUMN_INDEX'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['GROUP_COLUMNS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key => $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value){
$_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->_loop = true;
$_smarty_tpl->tpl_vars['COLUMN_INDEX']->value = $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->key;
?>
<script type="text/javascript">
if (document.getElementById('fcon<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
'))
document.getElementById('fcon<?php echo $_smarty_tpl->tpl_vars['COLUMN_INDEX']->value;?>
').value = '<?php echo $_smarty_tpl->tpl_vars['COLUMN_CRITERIA']->value['column_condition'];?>
';
</script>
<?php } ?>
<?php }
if (!$_smarty_tpl->tpl_vars['GROUP_CRITERIA']->_loop) {
?>
<?php } ?>
<?php $_smarty_tpl->tpl_vars['GROUP_CRITERIA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->_loop = false;
$_smarty_tpl->tpl_vars['GROUP_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CRITERIA_GROUPS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->key => $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->value){
$_smarty_tpl->tpl_vars['GROUP_CRITERIA']->_loop = true;
$_smarty_tpl->tpl_vars['GROUP_ID']->value = $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->key;
?>
<script type="text/javascript">
if (document.getElementById('gpcon<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
'))
document.getElementById('gpcon<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
').value = '<?php echo $_smarty_tpl->tpl_vars['GROUP_CRITERIA']->value['condition'];?>
';
</script>
<?php } ?>
</div>
<?php if ($_smarty_tpl->tpl_vars['DISPLAY_FILTER_HEADER']->value==true){?>
<div class="addCondition" style='float:left;'>
<button type='button' class='btn btn-default' style='float:left;' onclick="addNewConditionGroup('adv_filter_div')"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate('LBL_NEW_GROUP',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>
</div>
<?php }?>
</td>
</tr>
</table>
<script type="text/javascript">
window.onload = function(){
window_onload;
};
</script>
<?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/FieldExpressions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>

View File

@@ -0,0 +1,50 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/ProductBlock.tpl" */ ?>
<?php /*%%SmartyHeaderCode:153495064568da79ed7011f0-49465315%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4c4ceea4d825a9312b04f92a489273dd65f72d07' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/ProductBlock.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '153495064568da79ed7011f0-49465315',
'function' =>
array (
),
'variables' =>
array (
'THEME_MODE' => 0,
'MODULE' => 0,
'PRODUCT_BLOC_TPL' => 0,
'ARTICLE_STRINGS' => 0,
'SELECT_PRODUCT_FIELD' => 0,
'PRODUCTS_FIELDS' => 0,
'SERVICES_FIELDS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed70d65',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed70d65')) {function content_68da79ed70d65($_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';
?>
<?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="tab-pane" id="pdfContentProducts"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br><div id="products_div"><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal"><?php echo vtranslate('LBL_PRODUCT_BLOC_TPL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-8"><div class="input-group"><select name="productbloctpl2" id="productbloctpl2" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['PRODUCT_BLOC_TPL']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="productbloctpl2" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal"><?php echo vtranslate('LBL_ARTICLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-8"><div class="input-group"><select name="articelvar" id="articelvar" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['ARTICLE_STRINGS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="articelvar" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal">*<?php echo vtranslate('LBL_PRODUCTS_AVLBL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-8"><div class="input-group"><select name="psfields" id="psfields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SELECT_PRODUCT_FIELD']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="psfields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal">*<?php echo vtranslate('LBL_PRODUCTS_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-8"><div class="input-group"><select name="productfields" id="productfields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['PRODUCTS_FIELDS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="productfields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal">*<?php echo vtranslate('LBL_SERVICES_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-8"><div class="input-group"><select name="servicesfields" id="servicesfields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SERVICES_FIELDS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="servicesfields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><br><label class="muted"><small><?php echo vtranslate('LBL_PRODUCT_FIELD_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</small></label></br></div></div></div><?php }?><?php }} ?>

View File

@@ -0,0 +1,40 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/partials/SidebarHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:182020075068e3cbd84b7323-17979023%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4c5c49a7b2a914c873143ca475ba21cc7664d14a' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/partials/SidebarHeader.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '182020075068e3cbd84b7323-17979023',
'function' =>
array (
),
'variables' =>
array (
'SELECTED_MENU_CATEGORY' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd84bcb2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd84bcb2')) {function content_68e3cbd84bcb2($_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 strtoupper(vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value));?>
">
<span class="app-indicator-icon fa fa-bar-chart"></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 }} ?>

View File

@@ -0,0 +1,181 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:34:18
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/ConfigGenerator.tpl" */ ?>
<?php /*%%SmartyHeaderCode:102000186768da60aa885e20-72243626%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4dcca88c5459bf32f30a59350134f0b4675dbdc2' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/ConfigGenerator.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '102000186768da60aa885e20-72243626',
'function' =>
array (
),
'variables' =>
array (
'fieldname' => 0,
'config' => 0,
'value' => 0,
'key' => 0,
'label' => 0,
'fieldname_template' => 0,
'fieldid' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da60aa8f17b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da60aa8f17b')) {function content_68da60aa8f17b($_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 if (empty($_smarty_tpl->tpl_vars['fieldname']->value)&&!empty($_smarty_tpl->tpl_vars['config']->value['name'])){?>
<?php $_smarty_tpl->tpl_vars["fieldname"] = new Smarty_variable($_smarty_tpl->tpl_vars['config']->value['name'], null, 0);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='text'){?>
<input type="text" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" autocomplete="off" value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
" style="width:90%;" />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='checkbox'){?>
<input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" autocomplete="off" value="1" <?php if ($_smarty_tpl->tpl_vars['value']->value=='1'){?>checked="checked"<?php }?> />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='templatefield'||$_smarty_tpl->tpl_vars['config']->value['type']=='template'){?>
<div class="insertTextfield" data-name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" data-placeholder="<?php echo $_smarty_tpl->tpl_vars['config']->value['placeholder'];?>
" data-id="id<?php echo md5(microtime());?>
" data-options='' style="width:90%;"><?php echo $_smarty_tpl->tpl_vars['value']->value;?>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='templatearea'){?>
<div class="insertTextarea" data-name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" data-placeholder="<?php echo $_smarty_tpl->tpl_vars['config']->value['placeholder'];?>
" data-id="id2<?php echo md5(microtime());?>
" data-options='' style="width:90%;"><?php echo $_smarty_tpl->tpl_vars['value']->value;?>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='textarea'){?>
<textarea style="width:90%;" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['value']->value;?>
</textarea>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='password'){?>
<input type="password" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" autocomplete="off" value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
" style="width:90%;" />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='oauth'){?>
<?php if (Handler_OAuth::isDone($_smarty_tpl->tpl_vars['config']->value['oauth_key'])){?>
<strong><?php echo vtranslate('Done','Settings:Workflow2');?>
</strong>
<?php }else{ ?>
<div id="oauthbtn_<?php echo $_smarty_tpl->tpl_vars['config']->value['oauth_key'];?>
">
<button type="button" class="btn btn-primary" onclick="OAuthHandler.start('<?php echo $_smarty_tpl->tpl_vars['config']->value['oauth_key'];?>
');"><?php echo vtranslate('Authorize Workflow Designer Link','Settings:Workflow2');?>
</button> (<a target="_blank" href="https://support.redoo-networks.com/documentation/oauth-handling/">Info about Request</a>)<br/>
</div>
<div id="oauth_<?php echo $_smarty_tpl->tpl_vars['config']->value['oauth_key'];?>
" data-text1="<?php echo vtranslate('Check authorization','Settings:Workflow2');?>
" data-text2="<?php echo vtranslate('Authorization done successfully!','Settings:Workflow2');?>
" style="font-weight:bold;display:none;"></div>
<?php }?>
<input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['oauth_key'];?>
" />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='picklist'||$_smarty_tpl->tpl_vars['config']->value['type']=='select'){?>
<select name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" style="width:90%;" class="select2">
<?php $_smarty_tpl->tpl_vars['label'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['label']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['config']->value['options']; 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['key']->value = $_smarty_tpl->tpl_vars['label']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" <?php if (!empty($_smarty_tpl->tpl_vars['value']->value)&&($_smarty_tpl->tpl_vars['key']->value==$_smarty_tpl->tpl_vars['value']->value||in_array($_smarty_tpl->tpl_vars['key']->value,$_smarty_tpl->tpl_vars['value']->value))){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['label']->value;?>
</option>
<?php } ?>
</select>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='related_picklist'){?>
<select name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
<?php if (!empty($_smarty_tpl->tpl_vars['config']->value['multiple'])){?>[]<?php }?>" data-name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" style="width:90%;" class="select2" <?php if (!empty($_smarty_tpl->tpl_vars['config']->value['multiple'])){?>multiple="multiple"<?php }?>></select>
<script type="text/javascript">jQuery(function() { WFBackendUtils.fillSelectWithPicklistvalues('[name="<?php echo str_replace('##FIELDNAME##',$_smarty_tpl->tpl_vars['config']->value['src'],$_smarty_tpl->tpl_vars['fieldname_template']->value);?>
"]', '[data-name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
"]', <?php echo json_encode($_smarty_tpl->tpl_vars['value']->value);?>
); });</script>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='simpleselect'){?>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<select name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" style="width:90%;" class="select2">
<?php $_smarty_tpl->tpl_vars['label'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['label']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['config']->value['options']; 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['key']->value = $_smarty_tpl->tpl_vars['label']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['label']->value;?>
" <?php if (!empty($_smarty_tpl->tpl_vars['value']->value)&&$_smarty_tpl->tpl_vars['label']->value==$_smarty_tpl->tpl_vars['value']->value){?>selected="selected"<?php }?>>
<?php if (empty($_smarty_tpl->tpl_vars['config']->value['optionsLabel'])){?>
<?php echo $_smarty_tpl->tpl_vars['label']->value;?>
<?php }else{ ?>
<?php echo htmlentities(smarty_modifier_replace($_smarty_tpl->tpl_vars['config']->value['optionsLabel'],"[value]",$_smarty_tpl->tpl_vars['label']->value));?>
<?php }?>
</option>
<?php } ?>
</select>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='multipicklist'){?>
<select name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
[]" style="width:90%;" class="select2" multiple="multiple">
<?php $_smarty_tpl->tpl_vars['label'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['label']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['config']->value['options']; 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['key']->value = $_smarty_tpl->tpl_vars['label']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" <?php if (!empty($_smarty_tpl->tpl_vars['value']->value)&&in_array($_smarty_tpl->tpl_vars['key']->value,$_smarty_tpl->tpl_vars['value']->value)){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['label']->value;?>
</option>
<?php } ?>
</select>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='field'){?>
<?php $_smarty_tpl->tpl_vars["fieldid"] = new Smarty_variable((md5($_smarty_tpl->tpl_vars['fieldname']->value)), null, 0);?>
<select name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['fieldid']->value;?>
" style="width:90%;" class="select2 AsyncLoaded"></select>
<script type="text/javascript">jQuery(function() { RedooUtils('Workflow2').fillFieldSelect("<?php echo $_smarty_tpl->tpl_vars['fieldid']->value;?>
", "<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
", undefined, <?php if (!empty($_smarty_tpl->tpl_vars['config']->value['fieldtype'])){?>"<?php echo $_smarty_tpl->tpl_vars['config']->value['fieldtype'];?>
"<?php }else{ ?>false<?php }?>); });</script>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='fields'){?>
<?php $_smarty_tpl->tpl_vars["fieldid"] = new Smarty_variable((md5($_smarty_tpl->tpl_vars['fieldname']->value)), null, 0);?>
<select multiple="multiple" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
[]" id="<?php echo $_smarty_tpl->tpl_vars['fieldid']->value;?>
" style="width:90%;" class="select2"></select>
<script type="text/javascript">jQuery(function() { RedooUtils('Workflow2').fillFieldSelect("<?php echo $_smarty_tpl->tpl_vars['fieldid']->value;?>
", <?php echo json_encode($_smarty_tpl->tpl_vars['value']->value);?>
); });</script>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type']=='colorpicker'){?>
<script src="modules/Workflow2/views/resources/js/jscolor/jscolor.js" type="text/javascript"></script>
<input type="text" name="<?php echo $_smarty_tpl->tpl_vars['fieldname']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
" class="color {hash:true}">
<?php }?>
<?php }} ?>

View File

@@ -0,0 +1,123 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:02
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Detail.tpl" */ ?>
<?php /*%%SmartyHeaderCode:159476940368da79ea4ccb77-38845344%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'54c985d94d00b10d6a5d37f4fb1fcdafd17f3689' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Detail.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '159476940368da79ea4ccb77-38845344',
'function' =>
array (
),
'variables' =>
array (
'TEMPLATEID' => 0,
'PARENTTAB' => 0,
'TEMPLATENAME' => 0,
'DESCRIPTION' => 0,
'MODULENAME' => 0,
'IS_ACTIVE' => 0,
'IS_DEFAULT' => 0,
'MODULE' => 0,
'ISSTYLESACTIVE' => 0,
'STYLES_LIST' => 0,
'style_data' => 0,
'ISDOCUMENTSACTIVE' => 0,
'DOCUMENTS_RECORDS' => 0,
'IS_DELETABLE' => 0,
'DOCUMENTS_HEADERS' => 0,
'WIDTHTYPE' => 0,
'HEADER_LABEL' => 0,
'DOCUMENTS_RECORD' => 0,
'HEADER_FIELD' => 0,
'SUBJECT' => 0,
'BODY' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ea50383',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ea50383')) {function content_68da79ea50383($_smarty_tpl) {?>
<div class="detailview-content container-fluid"><div class="details row"><form id="detailView" method="post" action="index.php" name="etemplatedetailview" onsubmit="VtigerJS_DialogBox.block();"><input type="hidden" name="action" value=""><input type="hidden" name="view" value=""><input type="hidden" name="module" value="EMAILMaker"><input type="hidden" name="retur_module" value="EMAILMaker"><input type="hidden" name="return_action" value="EMAILMaker"><input type="hidden" name="return_view" value="Detail"><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
"><input type="hidden" name="templateid" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
"><input type="hidden" name="parenttab" value="<?php echo $_smarty_tpl->tpl_vars['PARENTTAB']->value;?>
"><input type="hidden" name="isDuplicate" value="false"><input type="hidden" name="subjectChanged" value=""><input id="recordId" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
" type="hidden"><div class="col-lg-12"><div class="left-block col-lg-4"><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_TEMPLATE_INFORMATIONS','EMAILMaker');?>
</h4></div><div class="summaryViewFields"><div class="recordDetails"><table class="summary-table no-border"><tbody><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_EMAIL_NAME','EMAILMaker');?>
</label></td><td class="fieldValue"><?php echo $_smarty_tpl->tpl_vars['TEMPLATENAME']->value;?>
</td></tr><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_DESCRIPTION','EMAILMaker');?>
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
</td></tr><?php if ($_smarty_tpl->tpl_vars['MODULENAME']->value!=''){?><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_MODULENAMES','EMAILMaker');?>
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['MODULENAME']->value;?>
</td></tr><?php }?><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('Status');?>
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['IS_ACTIVE']->value;?>
</td></tr><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_SETASDEFAULT','EMAILMaker');?>
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['IS_DEFAULT']->value;?>
</td></tr></tbody></table></div></div></div><br><?php if ($_smarty_tpl->tpl_vars['MODULENAME']->value!=''){?><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_DISPLAY_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4><div class="pull-right"><button type="button" class="btn btn-default editDisplayConditions" data-url="index.php?module=EMAILMaker&view=EditDisplayConditions&record=<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
">&nbsp;<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<?php echo vtranslate('LBL_CONDITIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div><div class="summaryViewFields"><div class="recordDetails"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('DetailDisplayConditions.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div></div></div><br><?php }?><?php if ($_smarty_tpl->tpl_vars['ISSTYLESACTIVE']->value=="yes"){?><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_CSS_STYLE_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4><div class="pull-right"><button type="button" class="btn btn-default addButton addStyleContentBtn" data-modulename="ITS4YouStyles"><?php echo vtranslate('LBL_ADD');?>
&nbsp;<?php echo vtranslate('SINGLE_ITS4YouStyles','ITS4YouStyles');?>
</button>&nbsp;&nbsp;<button type="button" class="btn btn-default addButton selectTemplateRelation" data-modulename="ITS4YouStyles">&nbsp;<?php echo vtranslate('LBL_SELECT');?>
&nbsp;<?php echo vtranslate('SINGLE_ITS4YouStyles','ITS4YouStyles');?>
</button></div></div><br><div class="summaryWidgetContainer noContent"><?php if ($_smarty_tpl->tpl_vars['STYLES_LIST']->value){?><div id="table-content" class="table-container"><table id="listview-table" class="table listview-table"><thead><tr class="listViewContentHeader"><th style="width:55px;"></th><th nowrap><?php echo vtranslate('Name','ITS4YouStyles');?>
</th><th nowrap><?php echo vtranslate('Priority','ITS4YouStyles');?>
</th></tr></thead><tbody class="overflow-y"><?php $_smarty_tpl->tpl_vars['style_data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['style_data']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['STYLES_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['style_data']->key => $_smarty_tpl->tpl_vars['style_data']->value){
$_smarty_tpl->tpl_vars['style_data']->_loop = true;
?><tr class="" data-id="<?php echo $_smarty_tpl->tpl_vars['style_data']->value['id'];?>
" data-module="ITS4YouStyles"><td style="width:55px"><?php if ($_smarty_tpl->tpl_vars['style_data']->value['iseditable']=="yes"){?><span class="actionImages">&nbsp;&nbsp;&nbsp;<a name="styleEdit" data-url="index.php?module=ITS4YouStyles&view=Edit&record=<?php echo $_smarty_tpl->tpl_vars['style_data']->value['id'];?>
"><i title="Edit" class="fa fa-pencil"></i></a> &nbsp;&nbsp;<a class="relationDelete"><i title="<?php echo vtranslate('LBL_UNLINK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" class="vicon-linkopen"></i></a></span><?php }?></td><td class="listViewEntryValue textOverflowEllipsis " width="%" nowrap><a name="styleEdit" data-url="index.php?module=ITS4YouStyles&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['style_data']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['style_data']->value['name'];?>
</a></td><td class="listViewEntryValue textOverflowEllipsis " width="%" nowrap><?php echo $_smarty_tpl->tpl_vars['style_data']->value['priority'];?>
</td></tr><?php } ?></tbody></table></div><?php }else{ ?><p class="textAlignCenter"><?php echo vtranslate('LBL_NO_RELATED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo vtranslate('LBL_STYLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</p><?php }?></div></div><br><?php }?><?php if ($_smarty_tpl->tpl_vars['ISDOCUMENTSACTIVE']->value=="yes"){?><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('Documents',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4><div class="pull-right"><button type="button" class="btn btn-default addButton selectTemplateRelation" data-modulename="Documents">&nbsp;<?php echo vtranslate('LBL_SELECT');?>
&nbsp;<?php echo vtranslate('SINGLE_Documents','Documents');?>
</button></div></div><br><div class="summaryWidgetContainer noContent"><?php if ($_smarty_tpl->tpl_vars['DOCUMENTS_RECORDS']->value!=''){?><div id="table-content" class="table-container"><table id="listview-table" class="table listview-table"><thead><tr class="listViewContentHeader"><?php if ($_smarty_tpl->tpl_vars['IS_DELETABLE']->value){?><th style="width:20px"></th><?php }?><?php $_smarty_tpl->tpl_vars['HEADER_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = false;
$_smarty_tpl->tpl_vars['HEADER_FIELD'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['HEADER_LABEL']->total= $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['HEADER_LABEL']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_LABEL']->key => $_smarty_tpl->tpl_vars['HEADER_LABEL']->value){
$_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = true;
$_smarty_tpl->tpl_vars['HEADER_FIELD']->value = $_smarty_tpl->tpl_vars['HEADER_LABEL']->key;
$_smarty_tpl->tpl_vars['HEADER_LABEL']->iteration++;
$_smarty_tpl->tpl_vars['HEADER_LABEL']->last = $_smarty_tpl->tpl_vars['HEADER_LABEL']->iteration === $_smarty_tpl->tpl_vars['HEADER_LABEL']->total;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["docforeach"]['last'] = $_smarty_tpl->tpl_vars['HEADER_LABEL']->last;
?><th <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['docforeach']['last']){?> colspan="2" <?php }?> nowrap class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
"><?php echo vtranslate($_smarty_tpl->tpl_vars['HEADER_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</th><?php } ?></tr></thead><tbody class="overflow-y"><?php $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_RECORDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->key => $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value){
$_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->_loop = true;
?><tr class="listViewEntries" data-module="Documents" data-id="<?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value['id'];?>
" data-recordurl="index.php?module=Documents&amp;view=Detail&amp;record=<?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value['id'];?>
"><?php if ($_smarty_tpl->tpl_vars['IS_DELETABLE']->value){?><td nowrap style="width:20px"><span class="actionImages"><a class="relationDelete"><i title="<?php echo vtranslate('LBL_UNLINK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" class="vicon-linkopen alignMiddle"></i></a></span></td><?php }?><?php $_smarty_tpl->tpl_vars['HEADER_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = false;
$_smarty_tpl->tpl_vars['HEADER_FIELD'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_LABEL']->key => $_smarty_tpl->tpl_vars['HEADER_LABEL']->value){
$_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = true;
$_smarty_tpl->tpl_vars['HEADER_FIELD']->value = $_smarty_tpl->tpl_vars['HEADER_LABEL']->key;
?><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
" nowrap><?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value[$_smarty_tpl->tpl_vars['HEADER_FIELD']->value];?>
</td><?php } ?></tr><?php } ?></tbody></table></div><?php }else{ ?><p class="textAlignCenter"><?php echo vtranslate('LBL_NO_RELATED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo vtranslate('Documents',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</p><?php }?></div></div><br><?php }?></div><div class="middle-block col-lg-8"><div class="summaryView"><div class="summaryViewFields"><div class="recordDetails"><b><?php echo vtranslate('LBL_EMAIL_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</b>&nbsp;<?php echo $_smarty_tpl->tpl_vars['SUBJECT']->value;?>
</div></div></div><div id="ContentEditorTabs"><ul class="nav nav-pills"><li class="active" data-type="body"><a href="#body_div2" aria-expanded="false" style="margin-right: 5px" data-toggle="tab"><?php echo vtranslate('LBL_BODY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li></ul></div><div class="tab-content"><div class="tab-pane active" id="body_div2"><div id="previewcontent_body" class="hide"><?php echo $_smarty_tpl->tpl_vars['BODY']->value;?>
</div><iframe id="preview_body" class="col-lg-12" style="height:1200px;"></iframe></div></div></div></div></form></div></div><script type="text/javascript">jQuery(document).ready(function () {EMAILMaker_Detail_Js.setPreviewContent('body');});</script><?php }} ?>

View File

@@ -0,0 +1,128 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:40:21
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/dashboards/TicketsByStatus.tpl" */ ?>
<?php /*%%SmartyHeaderCode:138007305268e8b865762e14-68971660%%*/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' => '138007305268e8b865762e14-68971660',
'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_68e8b8657e714',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8b8657e714')) {function content_68e8b8657e714($_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);?>
&nbsp;<?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 }} ?>

View File

@@ -0,0 +1,37 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/partials/SidebarHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:169067817368e3cbe77325c4-05819985%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5a09fbc29b8e39665fcb79febcd895db80e4e1c6' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/partials/SidebarHeader.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '169067817368e3cbe77325c4-05819985',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbe7739a4',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe7739a4')) {function content_68e3cbe7739a4($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars["APP_IMAGE_MAP"] = new Smarty_variable(array('MARKETING'=>'fa-users','SALES'=>'fa-dot-circle-o','SUPPORT'=>'fa-life-ring','INVENTORY'=>'vicon-inventory','PROJECT'=>'fa-briefcase'), null, 0);?>
<div class="col-sm-12 col-xs-12 app-indicator-icon-container app-MARKETING">
<div class="row" title="<?php echo strtoupper(vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value));?>
">
<span class="app-indicator-icon fa fa-bar-chart"></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 }} ?>

View File

@@ -0,0 +1,42 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportCustomCalculations.tpl" */ ?>
<?php /*%%SmartyHeaderCode:43390608668e3cc12645e64-41361216%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5c5d4e32165cafaf06e4a3041d69a46be7b8722c' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportCustomCalculations.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '43390608668e3cc12645e64-41361216',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'CUSTOM_CALCULATIONS_INFO' => 0,
'CUSTOM_CALCULATIONS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc126545e',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc126545e')) {function content_68e3cc126545e($_smarty_tpl) {?>
<br /><div style="border:1px solid #ccc;padding:4%;"><div class="row"><div class="form-group col-lg-12"><label class="control-label textAlignLeft "><h4 style="float:left;"><?php echo vtranslate('LBL_CUSTOM_CALCULATION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4><a href="javascript:;" title="<?php echo $_smarty_tpl->tpl_vars['CUSTOM_CALCULATIONS_INFO']->value;?>
" style="float:left;"><i class="glyphicon glyphicon-info-sign" style="padding-left:0.5em;padding-top:1em;"></i>&nbsp;</a></label></div></div><div class="form-group"><div class="span9"><div class="row-fluid"><div class="col-lg-12 hide"><?php $_smarty_tpl->tpl_vars["cc_i"] = new Smarty_variable("WCCINRW", null, 0);?><?php $_smarty_tpl->tpl_vars["cc_special"] = new Smarty_variable('', null, 0);?><div id="cc_row_base"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('CustomCalculationRow.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div></div><?php $_smarty_tpl->tpl_vars["cc_special"] = new Smarty_variable('', null, 0);?><div class="col-lg-12" id="cc_td_cell"><?php if (empty($_smarty_tpl->tpl_vars['CUSTOM_CALCULATIONS']->value)){?><?php $_smarty_tpl->tpl_vars["cc_i"] = new Smarty_variable("1", null, 0);?><?php $_smarty_tpl->tpl_vars["cc_calculation_arr"] = new Smarty_variable(array(), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('CustomCalculationRow.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }else{ ?><?php $_smarty_tpl->tpl_vars['cc_calculation_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cc_calculation_arr']->_loop = false;
$_smarty_tpl->tpl_vars['cc_i'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CUSTOM_CALCULATIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cc_calculation_arr']->key => $_smarty_tpl->tpl_vars['cc_calculation_arr']->value){
$_smarty_tpl->tpl_vars['cc_calculation_arr']->_loop = true;
$_smarty_tpl->tpl_vars['cc_i']->value = $_smarty_tpl->tpl_vars['cc_calculation_arr']->key;
?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('CustomCalculationRow.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php } ?><?php }?></div><div class="col-lg-12"><br><button type='button' class='btn btn-default' style='float:left;' onclick="addNewCustomCalculation()"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate('LBL_NEW_CUSTOM_CALCULATION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,96 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 17:35:50
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/MailScanner.list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:109095468468d6a4c63c8c89-86486806%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6022515261810ee77dba4b6b6317ab3176944e06' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/MailScanner.list.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '109095468468d6a4c63c8c89-86486806',
'function' =>
array (
),
'variables' =>
array (
'scanner' => 0,
'config' => 0,
'LogFiles' => 0,
'File' => 0,
'Filesize' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68d6a4c6411b9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68d6a4c6411b9')) {function content_68d6a4c6411b9($_smarty_tpl) {?><div class="container-fluid" id="moduleManagerContents">
<div class="editViewHeader">
<h4>
<input type="button" name="createConfig" class="btn btn-primary pull-right createMailscannerConfig" value="<?php echo vtranslate('Create configuration','Settnigs:Workflow2');?>
" />
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
</a> &raquo;
<?php echo vtranslate(' Mailscanner configuration','Settings:Workflow2');?>
</h4>
</div>
<hr/>
<br>
<div class="listViewActionsDiv">
<?php if (!empty($_smarty_tpl->tpl_vars['scanner']->value)){?>
<?php $_smarty_tpl->tpl_vars['config'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['config']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['scanner']->value; 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;
?>
<div class="MailScannerConfiguration" onclick="window.location.href='index.php?module=Workflow2&view=MailscannerEditor&scanner=<?php echo $_smarty_tpl->tpl_vars['config']->value['id'];?>
&parent=Settings';" data-id="<?php echo $_smarty_tpl->tpl_vars['config']->value['id'];?>
">
<span class="MS_TITLE"><i class="icon-inbox" style="margin-top:3px;"></i> <?php echo $_smarty_tpl->tpl_vars['config']->value['title'];?>
</span>
<br/>
</div>
<?php } ?>
<?php }else{ ?>
<h5>
<em><?php echo vtranslate('No MailScanner configured','Settings:Workflow2');?>
</em>
</h5>
<?php }?>
<?php if (!empty($_smarty_tpl->tpl_vars['LogFiles']->value)){?>
<div>
<h3><?php echo vtranslate('Execution log','Settings:Workflow2');?>
</h3>
<table class="table table-condensed table-striped">
<tr>
<th>Execution Time / Filename within <i>test/Workflow2/Mailscanner-Log/</i></th>
</tr>
<?php $_smarty_tpl->tpl_vars['Filesize'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['Filesize']->_loop = false;
$_smarty_tpl->tpl_vars['File'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['LogFiles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['Filesize']->key => $_smarty_tpl->tpl_vars['Filesize']->value){
$_smarty_tpl->tpl_vars['Filesize']->_loop = true;
$_smarty_tpl->tpl_vars['File']->value = $_smarty_tpl->tpl_vars['Filesize']->key;
?>
<tr>
<td><a href="<?php echo vglobal('site_URL');?>
/test/Workflow2/Mailscanner-Log/<?php echo $_smarty_tpl->tpl_vars['File']->value;?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['File']->value;?>
</a></td>
<td><?php echo $_smarty_tpl->tpl_vars['Filesize']->value;?>
Bytes</td>
</tr>
<?php } ?>
</table>
</div>
<?php }?>
</div>
</div><?php }} ?>

View File

@@ -0,0 +1,199 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:18:45
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/ComposeEmailForm.tpl" */ ?>
<?php /*%%SmartyHeaderCode:90138185768da7925a42fc6-96150536%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'607642ef10c5d9b049c25ea898f6dce3ae8fde2b' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/ComposeEmailForm.tpl',
1 => 1738401449,
2 => 'file',
),
),
'nocache_hash' => '90138185768da7925a42fc6-96150536',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'SELECTED_IDS' => 0,
'EXCLUDED_IDS' => 0,
'VIEWNAME' => 0,
'SELECTED_SOURCEID' => 0,
'SOURCE_NAMES' => 0,
'SID' => 0,
'TOMAIL_INFO' => 0,
'CCMAIL_INFO' => 0,
'BCCMAIL_INFO' => 0,
'TOMAIL_NAMES_LIST' => 0,
'CCMAIL_NAMES_LIST' => 0,
'BCCMAIL_NAMES_LIST' => 0,
'TO' => 0,
'CC' => 0,
'BCC' => 0,
'MAX_UPLOAD_SIZE' => 0,
'DOCUMENT_IDS' => 0,
'EMAIL_MODE' => 0,
'SOURCE_MODULE' => 0,
'PARENT_EMAIL_ID' => 0,
'PARENT_RECORD' => 0,
'RECORDID' => 0,
'SEARCH_KEY' => 0,
'OPERATOR' => 0,
'ALPHABET_VALUE' => 0,
'SEARCH_PARAMS' => 0,
'EMAIL_TEMPLATE_IDS' => 0,
'EMAIL_TEMPLATE_LANGUAGE' => 0,
'PDF_TEMPLATE_IDS' => 0,
'PDF_TEMPLATE_LANGUAGE' => 0,
'IS_MERGE_TEMPLATES' => 0,
'FROM_EMAILS' => 0,
'SELECTED_DEFAULT_FROM' => 0,
'SMTP_RECORDS' => 0,
'SMTP_RECORD' => 0,
'SINGLE_RECORD' => 0,
'SOURCEMODULE' => 0,
'TO_EMAILS' => 0,
'RELATED_MODULES' => 0,
'MODULE_NAME' => 0,
'RELATED_MODULE_SELECTED' => 0,
'SUBJECT' => 0,
'FILE_ATTACHED' => 0,
'DOCUMENTS_URL' => 0,
'RECORD_DOCUMENTS_URL' => 0,
'ATTACHMENTS' => 0,
'ATTACHMENT' => 0,
'FILE_TYPE' => 0,
'DOCUMENT_ID' => 0,
'PDF_TEMPLATES' => 0,
'PDF_TEMPLATE_ID' => 0,
'PDF_TEMPLATE_NAME' => 0,
'SOURCERECORD' => 0,
'DESCRIPTION' => 0,
'RELATED_LOAD' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da7925a9df4',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da7925a9df4')) {function content_68da7925a9df4($_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';
?>
<div class="SendEmailFormStep2 modal-dialog" id="composeEmailContainer" style="width: 70vw; height: 80vh;"><div class="modal-content"><form class="form-horizontal" id="massEmailForm" method="post" action="index.php" enctype="multipart/form-data" name="massEmailForm"><?php ob_start();?><?php echo vtranslate('LBL_COMPOSE_EMAIL',$_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"><input type="hidden" name="selected_ids" value=<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['SELECTED_IDS']->value);?>
><input type="hidden" name="excluded_ids" value=<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['EXCLUDED_IDS']->value);?>
><input type="hidden" name="viewname" value="<?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
"/><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
"/><input type="hidden" name="mode" value="massSave"/><input type="hidden" name="view" value="MassSaveAjax"/><input type="hidden" name="selected_sourceid" value="<?php echo $_smarty_tpl->tpl_vars['SELECTED_SOURCEID']->value;?>
"><?php $_smarty_tpl->tpl_vars['source_name'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['source_name']->_loop = false;
$_smarty_tpl->tpl_vars['SID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['SOURCE_NAMES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['source_name']->key => $_smarty_tpl->tpl_vars['source_name']->value){
$_smarty_tpl->tpl_vars['source_name']->_loop = true;
$_smarty_tpl->tpl_vars['SID']->value = $_smarty_tpl->tpl_vars['source_name']->key;
?><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['SID']->value;?>
toemailinfo" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['TOMAIL_INFO']->value[$_smarty_tpl->tpl_vars['SID']->value]);?>
'/><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['SID']->value;?>
ccemailinfo" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['CCMAIL_INFO']->value[$_smarty_tpl->tpl_vars['SID']->value]);?>
'/><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['SID']->value;?>
bccemailinfo" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['BCCMAIL_INFO']->value[$_smarty_tpl->tpl_vars['SID']->value]);?>
'/><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['SID']->value;?>
toMailNamesList" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['TOMAIL_NAMES_LIST']->value[$_smarty_tpl->tpl_vars['SID']->value]);?>
'/><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['SID']->value;?>
ccMailNamesList" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['CCMAIL_NAMES_LIST']->value[$_smarty_tpl->tpl_vars['SID']->value]);?>
'/><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['SID']->value;?>
bccMailNamesList" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['BCCMAIL_NAMES_LIST']->value[$_smarty_tpl->tpl_vars['SID']->value]);?>
'/><?php } ?><input type="hidden" name="to" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['TO']->value);?>
'/><input type="hidden" name="cc" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['CC']->value);?>
'/><input type="hidden" name="bcc" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['BCC']->value);?>
'/><input type="hidden" id="flag" name="flag" value=""/><input type="hidden" id="maxUploadSize" value="<?php echo $_smarty_tpl->tpl_vars['MAX_UPLOAD_SIZE']->value;?>
"/><input type="hidden" id="documentIds" name="documentids" value='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['DOCUMENT_IDS']->value);?>
' /><input type="hidden" name="emailMode" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_MODE']->value;?>
"/><input type="hidden" name="source_module" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_MODULE']->value;?>
"/><?php if (!empty($_smarty_tpl->tpl_vars['PARENT_EMAIL_ID']->value)){?><input type="hidden" name="parent_id" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_EMAIL_ID']->value;?>
"/><input type="hidden" name="parent_record_id" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_RECORD']->value;?>
"/><?php }?><?php if (!empty($_smarty_tpl->tpl_vars['RECORDID']->value)){?><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORDID']->value;?>
"/><?php }?><input type="hidden" name="search_key" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_KEY']->value;?>
"/><input type="hidden" name="operator" value="<?php echo $_smarty_tpl->tpl_vars['OPERATOR']->value;?>
"/><input type="hidden" name="search_value" value="<?php echo $_smarty_tpl->tpl_vars['ALPHABET_VALUE']->value;?>
"/><input type="hidden" name="search_params" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['SEARCH_PARAMS']->value);?>
'/><input type="hidden" name="email_template_ids" value='<?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_IDS']->value;?>
'/><input type="hidden" name="email_template_language" value='<?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_LANGUAGE']->value;?>
'/><input type="hidden" name="pdf_template_ids" value='<?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_IDS']->value;?>
'/><input type="hidden" name="pdf_template_language" value='<?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_LANGUAGE']->value;?>
'/><?php if ($_smarty_tpl->tpl_vars['IS_MERGE_TEMPLATES']->value){?><input type="hidden" name="is_merge_templates" value='<?php echo $_smarty_tpl->tpl_vars['IS_MERGE_TEMPLATES']->value;?>
'/><?php }?><div class="topContent"><div class="row toEmailField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_FROM_EMAIL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp</span></div><div class="col-lg-6"><select name="from_email" class="select2 inputElement"><optgroup label="<?php echo vtranslate('LBL_FROM_EMAIL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['FROM_EMAILS']->value,'selected'=>$_smarty_tpl->tpl_vars['SELECTED_DEFAULT_FROM']->value),$_smarty_tpl);?>
</optgroup><?php if ($_smarty_tpl->tpl_vars['SMTP_RECORDS']->value){?><optgroup label="<?php echo vtranslate('LBL_SMTP',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['SMTP_RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SMTP_RECORD']->_loop = false;
$_smarty_tpl->tpl_vars['SMTP_RECORD_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['SMTP_RECORDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['SMTP_RECORD']->key => $_smarty_tpl->tpl_vars['SMTP_RECORD']->value){
$_smarty_tpl->tpl_vars['SMTP_RECORD']->_loop = true;
$_smarty_tpl->tpl_vars['SMTP_RECORD_ID']->value = $_smarty_tpl->tpl_vars['SMTP_RECORD']->key;
?><?php if (!$_smarty_tpl->tpl_vars['SMTP_RECORD']->value->isEmpty('from_email_field')){?><option value="s::<?php echo $_smarty_tpl->tpl_vars['SMTP_RECORD']->value->getId();?>
"><?php echo $_smarty_tpl->tpl_vars['SMTP_RECORD']->value->get('from_name_field');?>
&lt;<?php echo $_smarty_tpl->tpl_vars['SMTP_RECORD']->value->get('from_email_field');?>
&gt;</option><?php }?><?php } ?></optgroup><?php }?></select></div></div></div><?php if ($_smarty_tpl->tpl_vars['SINGLE_RECORD']->value!='yes'){?><div class="row toEmailField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_RECORDS_LIST',$_smarty_tpl->tpl_vars['SOURCEMODULE']->value);?>
&nbsp</span></div><div class="col-lg-6"><select name="emailSourcesList" class="select2 inputElement emailSourcesList"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SOURCE_NAMES']->value,'selected'=>$_smarty_tpl->tpl_vars['SELECTED_SOURCEID']->value),$_smarty_tpl);?>
</select></div></div></div><?php }?><div class="row toEmailField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_TO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<span class="redColor">*</span></span></div><div class="col-lg-6"><input id="emailField" style="width:100%" name="toEmail" type="text" class="autoComplete sourceField select2" data-rule-required="true" data-rule-multiEmails="true" value="" placeholder="<?php echo vtranslate('LBL_TYPE_AND_SEARCH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><!-- //ITS4You:<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['TO_EMAILS']->value);?>
--></div><div class="col-lg-4 input-group"><select style="width: 140px;" class="select2 emailModulesList pull-right"><?php $_smarty_tpl->tpl_vars['MODULE_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MODULE_NAME']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['RELATED_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['MODULE_NAME']->key => $_smarty_tpl->tpl_vars['MODULE_NAME']->value){
$_smarty_tpl->tpl_vars['MODULE_NAME']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value==$_smarty_tpl->tpl_vars['RELATED_MODULE_SELECTED']->value){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</option><?php } ?></select><a href="#" class="clearReferenceSelection cursorPointer" name="clearToEmailField"> X </a><span class="input-group-addon"><span class="selectEmail cursorPointer"><i class="fa fa-search" title="<?php echo vtranslate('LBL_SELECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></i></span></span></div></div></div><div class="row <?php if (empty($_smarty_tpl->tpl_vars['CC']->value)){?> hide <?php }?> ccContainer ccEmailField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_CC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></div><div class="col-lg-6"><input id="emailccField" style="width:100%" name="ccEmail" type="text" class="autoComplete sourceField select2" data-rule-multiEmails="true" value="" placeholder="<?php echo vtranslate('LBL_TYPE_AND_SEARCH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></div><div class="col-lg-4"></div></div></div><div class="row <?php if (empty($_smarty_tpl->tpl_vars['BCC']->value)){?> hide <?php }?> bccContainer bccEmailField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_BCC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></div><div class="col-lg-6"><input id="emailbccField" style="width:100%" name="bccEmail" type="text" class="autoComplete sourceField select2" data-rule-multiEmails="true" value="" placeholder="<?php echo vtranslate('LBL_TYPE_AND_SEARCH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></div><div class="col-lg-4"></div></div></div><div class="row <?php if ((!empty($_smarty_tpl->tpl_vars['CC']->value))&&(!empty($_smarty_tpl->tpl_vars['BCC']->value))){?> hide <?php }?> "><div class="col-lg-12"><div class="col-lg-2"></div><div class="col-lg-6"><a href="#" class="cursorPointer <?php if ((!empty($_smarty_tpl->tpl_vars['CC']->value))){?>hide<?php }?>" id="ccLink"><?php echo vtranslate('LBL_ADD_CC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a>&nbsp;&nbsp;<a href="#" class="cursorPointer <?php if ((!empty($_smarty_tpl->tpl_vars['BCC']->value))){?>hide<?php }?>" id="bccLink"><?php echo vtranslate('LBL_ADD_BCC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></div><div class="col-lg-4"></div></div></div><div class="row subjectField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<span class="redColor">*</span></span></div><div class="col-lg-6"><input type="text" name="subject" value="<?php echo $_smarty_tpl->tpl_vars['SUBJECT']->value;?>
" data-rule-required="true" id="subject" spellcheck="true" class="inputElement"/></div><div class="col-lg-4"></div></div></div><div class="row attachment"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right"><?php echo vtranslate('LBL_ATTACHMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></div><div class="col-lg-6"><div class="dropdown display-inline-block"><div class="dropdown-toggle btn btn-default" data-toggle="dropdown"><span style="margin-right: 1rem;"><?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span><i class="fa fa-caret-down"></i></div><ul class="dropdown-menu dropdown-menu-right"><li><div class="dropdown-item" style="padding: 4px 6px;"><input type="file" class="<?php if ($_smarty_tpl->tpl_vars['FILE_ATTACHED']->value){?>removeNoFileChosen<?php }?>" id="multiFile" name="file[]" title="<?php echo vtranslate('LBL_UPLOAD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/></div></li><li><a class="dropdown-item" href="#" id="browseCrm" data-url="<?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_URL']->value;?>
" title="<?php echo vtranslate('LBL_BROWSE_CRM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php echo vtranslate('LBL_BROWSE_CRM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php if ($_smarty_tpl->tpl_vars['RECORD_DOCUMENTS_URL']->value){?><li><a class="dropdown-item" href="#" id="browseRecord" data-url="<?php echo $_smarty_tpl->tpl_vars['RECORD_DOCUMENTS_URL']->value;?>
" title="<?php echo vtranslate('LBL_BROWSE_RECORD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php echo vtranslate('LBL_BROWSE_RECORD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php }?></ul></div><div><div id="attachments" style="margin-top: 1rem;"><?php $_smarty_tpl->tpl_vars['ATTACHMENT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ATTACHMENT']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ATTACHMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ATTACHMENT']->key => $_smarty_tpl->tpl_vars['ATTACHMENT']->value){
$_smarty_tpl->tpl_vars['ATTACHMENT']->_loop = true;
?><?php if ((array_key_exists('docid',$_smarty_tpl->tpl_vars['ATTACHMENT']->value))){?><?php $_smarty_tpl->tpl_vars['DOCUMENT_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['ATTACHMENT']->value['docid'], null, 0);?><?php $_smarty_tpl->tpl_vars['FILE_TYPE'] = new Smarty_variable("document", null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['FILE_TYPE'] = new Smarty_variable("file", null, 0);?><?php }?><div class="MultiFile-label customAttachment" data-file-id="<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['fileid'];?>
" data-file-type="<?php echo $_smarty_tpl->tpl_vars['FILE_TYPE']->value;?>
" data-file-size="<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['size'];?>
" <?php if ($_smarty_tpl->tpl_vars['FILE_TYPE']->value=="document"){?> data-document-id="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_ID']->value;?>
"<?php }?>><?php if ($_smarty_tpl->tpl_vars['ATTACHMENT']->value['nondeletable']!=true){?><a name="removeAttachment" class="removeAttachment cursorPointer">x </a><?php }?><span><?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['attachment'];?>
</span></div><?php } ?></div><?php if ($_smarty_tpl->tpl_vars['PDF_TEMPLATES']->value){?><input type="hidden" name="pdftemplateids" value="<?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_IDS']->value;?>
"><input type="hidden" name="pdflanguage" value="<?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_LANGUAGE']->value;?>
"><?php $_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['PDF_TEMPLATES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME']->key => $_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME']->value){
$_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID']->value = $_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME']->key;
?><div class="row"><a href="#" class="generatePreviewPDF cursorPointer" data-templateid="<?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID']->value;?>
"><i class="fa fa-file-pdf-o" aria-hidden="true"></i><span style="margin-left: 1rem"><?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_NAME']->value;?>
</span></a></div><?php } ?><?php }?></div></div><div class="col-lg-4 insertTemplate" style="text-align: right;"><button id="selectEmailTemplate" class="btn btn-success pull-right" data-url="<?php echo ITS4YouEmails_Record_Model::getSelectTemplateUrl($_smarty_tpl->tpl_vars['SOURCERECORD']->value,$_smarty_tpl->tpl_vars['SOURCEMODULE']->value);?>
"><?php echo vtranslate('LBL_SELECT_EMAIL_TEMPLATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div></div><div class="row"><div class="col-lg-12"><button type="button" class="btn btn-default includeSignature"><?php echo vtranslate('LBL_INCLUDE_SIGNATURE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div></div><div class="container-fluid hide" id='emailTemplateWarning'><div class="alert alert-warning fade in"><a href="#" class="close" data-dismiss="alert">&times;</a><p><?php echo vtranslate('LBL_EMAILTEMPLATE_WARNING_CONTENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</p></div></div><div class="row templateContent"><div class="col-lg-12"><textarea style="width:390px;height:200px;" id="description" name="description"><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
</textarea></div></div><?php if ($_smarty_tpl->tpl_vars['RELATED_LOAD']->value==true){?><input type="hidden" name="related_load" value=<?php echo $_smarty_tpl->tpl_vars['RELATED_LOAD']->value;?>
/><?php }?><input type="hidden" name="attachments" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['ATTACHMENTS']->value);?>
'/><div id="emailTemplateWarningContent" style="display: none;"><?php echo vtranslate('LBL_EMAILTEMPLATE_WARNING_CONTENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div></div><div class="modal-footer"><div class="pull-right cancelLinkContainer"><a href="#" class="cancelLink" type="reset" data-dismiss="modal"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></div><button id="sendEmail" name="sendemail" class="btn btn-success" title="<?php echo vtranslate("LBL_SEND_EMAIL",$_smarty_tpl->tpl_vars['MODULE']->value);?>
" type="submit"><strong><?php echo vtranslate("LBL_SEND_EMAIL",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button></div></form></div></div><?php }} ?>

View File

@@ -0,0 +1,54 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewRecordActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:4606224368e3cbd85d7c17-29300446%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'614d2203d3ab8aee98276677dabcbf0257a8d35a' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewRecordActions.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '4606224368e3cbd85d7c17-29300446',
'function' =>
array (
),
'variables' =>
array (
'SEARCH_MODE_RESULTS' => 0,
'LISTVIEW_ENTRY' => 0,
'REPORT_TYPE' => 0,
'MODULE' => 0,
'PINNED' => 0,
'PIN_CLASS' => 0,
'DASHBOARD_TABS' => 0,
'TAB_INFO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd85edba',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd85edba')) {function content_68e3cbd85edba($_smarty_tpl) {?>
<!--LIST VIEW RECORD ACTIONS--><div class="table-actions reportListActions"><?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 $_smarty_tpl->tpl_vars["REPORT_TYPE"] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('reporttype'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['REPORT_TYPE']->value=='chart'){?><span><a class="quickView fa fa-eye icon action" title="<?php echo vtranslate('LBL_QUICK_VIEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></a></span><?php }?><?php $_smarty_tpl->tpl_vars["PINNED"] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('pinned'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['PINNED']->value!=null&&$_smarty_tpl->tpl_vars['REPORT_TYPE']->value=='chart'){?><?php $_smarty_tpl->tpl_vars['PIN_CLASS'] = new Smarty_variable('vicon-unpin', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['REPORT_TYPE']->value=='chart'){?><?php $_smarty_tpl->tpl_vars['PIN_CLASS'] = new Smarty_variable('vicon-pin', null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['REPORT_TYPE']->value=='chart'){?><span class="dropdown"><span style="font-size:13px;" title="<?php if ($_smarty_tpl->tpl_vars['PIN_CLASS']->value=='vicon-pin'){?><?php echo vtranslate('LBL_PIN_CHART_TO_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?><?php echo vtranslate('LBL_UNPIN_CHART_FROM_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?>"class="fa icon action <?php echo $_smarty_tpl->tpl_vars['PIN_CLASS']->value;?>
pinToDashboard " data-recordid="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('reportid');?>
"data-primemodule="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('primarymodule');?>
" <?php if (count($_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value)>1&&$_smarty_tpl->tpl_vars['PIN_CLASS']->value=='vicon-pin'){?> data-toggle='dropdown'<?php }?>data-dashboard-tab-count='<?php echo count($_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value);?>
'></span><ul class='dropdown-menu dashBoardTabMenu'><li class="dropdown-header popover-title"><?php echo vtranslate('LBL_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</li><?php $_smarty_tpl->tpl_vars['TAB_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['TAB_INFO']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['TAB_INFO']->key => $_smarty_tpl->tpl_vars['TAB_INFO']->value){
$_smarty_tpl->tpl_vars['TAB_INFO']->_loop = true;
?><li class='dashBoardTab' data-tab-id='<?php echo $_smarty_tpl->tpl_vars['TAB_INFO']->value['id'];?>
'><a href='javascript:void(0);'><?php echo vtranslate($_smarty_tpl->tpl_vars['TAB_INFO']->value['tabname'],$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php } ?></ul></span><?php }?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->isEditableBySharing()){?><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="javascript:void(0);" data-url="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getEditViewUrl();?>
" name="editlink"><?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
" class="deleteRecordButton" href="javascript:void(0);"><?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li></ul></span><?php }?><div class="btn-group inline-save hide"><button class="button btn-success btn-small save" name="save"><i class="fa fa-check"></i></button><button class="button btn-danger btn-small cancel" name="Cancel"><i class="fa fa-close"></i></button></div></div><?php }} ?>

View File

@@ -0,0 +1,138 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:18:21
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/SelectEmailFields.tpl" */ ?>
<?php /*%%SmartyHeaderCode:60393298168da790da1a1b4-63844607%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'677c9b38be314243e826810d0a0de785e78086be' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/SelectEmailFields.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '60393298168da790da1a1b4-63844607',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'SELECTED_IDS' => 0,
'EXCLUDED_IDS' => 0,
'VIEWNAME' => 0,
'SEARCH_KEY' => 0,
'OPERATOR' => 0,
'ALPHABET_VALUE' => 0,
'SEARCH_PARAMS' => 0,
'SOURCE_MODULE' => 0,
'TO' => 0,
'SELECTED_EMAIL_SOURCE_MODULE' => 0,
'PARENT_MODULE' => 0,
'PARENT_RECORD' => 0,
'RELATED_MODULE' => 0,
'PDFTEMPLATEIDS' => 0,
'PDFTEMPLATEID' => 0,
'FOR_CAMPAIGN' => 0,
'PREF_NEED_TO_UPDATE' => 0,
'EMAIL_FIELDS_COUNT' => 0,
'CRM_TEMPLATES_EXIST' => 0,
'CRM_TEMPLATES' => 0,
'category_name' => 0,
'options' => 0,
'option' => 0,
'DEFAULT_TEMPLATE' => 0,
'TEMPLATE_LANGUAGES' => 0,
'CURRENT_LANGUAGE' => 0,
'lang_key' => 0,
'IS_PDFMAKER' => 0,
'PDF_TEMPLATES' => 0,
'PDF_TEMPLATE_ID' => 0,
'IS_PDF_TEMPLATE_SELECTED' => 0,
'PDF_TEMPLATE_DATA' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da790da4c95',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da790da4c95')) {function content_68da790da4c95($_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';
?>
<div id="sendEmailContainer" class="modal-dialog"><form class="form-horizontal" id="SendEmailFormStep1" method="post" action="index.php"><div class="modal-content"><?php ob_start();?><?php echo vtranslate('LBL_SELECT_EMAIL_IDS',$_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"><input type="hidden" name="selected_ids" value=<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['SELECTED_IDS']->value);?>
><input type="hidden" name="excluded_ids" value=<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['EXCLUDED_IDS']->value);?>
><input type="hidden" name="viewname" value="<?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
"><input type="hidden" name="module" value="ITS4YouEmails"><input type="hidden" name="view" value="ComposeEmail"><input type="hidden" name="search_key" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_KEY']->value;?>
"><input type="hidden" name="operator" value="<?php echo $_smarty_tpl->tpl_vars['OPERATOR']->value;?>
"><input type="hidden" name="search_value" value="<?php echo $_smarty_tpl->tpl_vars['ALPHABET_VALUE']->value;?>
"><?php if ($_smarty_tpl->tpl_vars['SEARCH_PARAMS']->value){?><input type="hidden" name="search_params" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['SEARCH_PARAMS']->value);?>
'><?php }?><input type="hidden" name="fieldModule" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_MODULE']->value;?>
"><input type="hidden" name="to" value='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['TO']->value);?>
'><input type="hidden" name="source_module" value="<?php echo $_smarty_tpl->tpl_vars['SELECTED_EMAIL_SOURCE_MODULE']->value;?>
"><?php if (!empty($_smarty_tpl->tpl_vars['PARENT_MODULE']->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_RECORD']->value;?>
"><input type="hidden" name="parentModule" value="<?php echo $_smarty_tpl->tpl_vars['RELATED_MODULE']->value;?>
"><?php }?><input type="hidden" name="ispdfactive" id="ispdfactive" value="<?php if (!empty($_smarty_tpl->tpl_vars['PDFTEMPLATEIDS']->value)){?>1<?php }else{ ?>0<?php }?>"><input type="hidden" name="pdf_template_ids" id="pdftemplateid" value="<?php echo $_smarty_tpl->tpl_vars['PDFTEMPLATEID']->value;?>
"><?php if (!empty($_smarty_tpl->tpl_vars['FOR_CAMPAIGN']->value)){?><input type="hidden" name="cid" value="<?php echo $_smarty_tpl->tpl_vars['FOR_CAMPAIGN']->value;?>
"><?php }?><input type="hidden" name="prefsNeedToUpdate" id="prefsNeedToUpdate" value="<?php echo $_smarty_tpl->tpl_vars['PREF_NEED_TO_UPDATE']->value;?>
"><div id='multiEmailContainer'><?php $_smarty_tpl->tpl_vars['IS_INPUT_SELECTED_DEFINED'] = new Smarty_variable('0', null, 0);?><div class="modal-body tabbable"><div class="row"><h5><?php echo vtranslate('LBL_TO','EMAILMaker');?>
:</h5></div><div class="row"><div class="emailToFields"><input type="hidden" class="emailFields" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELDS_COUNT']->value;?>
"><select id="emailField" name="toEmail" type="text" class="form-control emailFieldSelects" multiple><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("SelectEmailFieldOptions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('IS_INPUT_SELECTED_ALLOWED'=>true), 0);?>
</select></div></div><div class="ccContent hide"><div class="row"><h5><?php echo vtranslate('LBL_CC','EMAILMaker');?>
:</h5></div><div class="row"><div class="emailToFields"><select id="emailccField" name="toEmailCC" type="text" class="form-control emailFieldSelects" multiple><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("SelectEmailFieldOptions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</select></div></div></div><div class="bccContent hide"><div class="row"><h5><?php echo vtranslate('LBL_BCC','EMAILMaker');?>
:</h5></div><div class="row"><div class="emailToFields"><select id="emailbccField" name="toEmailBCC" type="text" class="form-control emailFieldSelects" multiple><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("SelectEmailFieldOptions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</select></div></div></div><div class="row"><div class="col-lg-12"><span id="ccLinkContent"><a href="#" class="cursorPointer" id="ccLink"><?php echo vtranslate('LBL_ADD_CC','Email');?>
</a>&nbsp;&nbsp;</span><span id="bccLinkContent"><a href="#" class="cursorPointer" id="bccLink"><?php echo vtranslate('LBL_ADD_BCC','Email');?>
</a></span></div></div><br/><?php if ($_smarty_tpl->tpl_vars['CRM_TEMPLATES_EXIST']->value=='0'){?><div class="row"><h5><?php echo vtranslate('LBL_SELECT_EMAIL_TEMPLATE','EMAILMaker');?>
:</h5></div><div class="row"><select id="use_common_email_template" name="email_template_ids" class="form-control"><option value=""><?php echo vtranslate('LBL_NONE','EMAILMaker');?>
</option><?php $_smarty_tpl->tpl_vars["options"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["options"]->_loop = false;
$_smarty_tpl->tpl_vars["category_name"] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CRM_TEMPLATES']->value["1"]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["options"]->key => $_smarty_tpl->tpl_vars["options"]->value){
$_smarty_tpl->tpl_vars["options"]->_loop = true;
$_smarty_tpl->tpl_vars["category_name"]->value = $_smarty_tpl->tpl_vars["options"]->key;
?><optgroup label="<?php echo $_smarty_tpl->tpl_vars['category_name']->value;?>
"><?php $_smarty_tpl->tpl_vars["option"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["option"]->_loop = false;
$_from = $_smarty_tpl->tpl_vars['options']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["option"]->key => $_smarty_tpl->tpl_vars["option"]->value){
$_smarty_tpl->tpl_vars["option"]->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['option']->value['value'];?>
" <?php if ($_smarty_tpl->tpl_vars['option']->value['title']!=''){?>title="<?php echo $_smarty_tpl->tpl_vars['option']->value['title'];?>
"<?php }?> <?php if ($_smarty_tpl->tpl_vars['option']->value['value']==$_smarty_tpl->tpl_vars['DEFAULT_TEMPLATE']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['option']->value['label'];?>
</option><?php } ?></optgroup><?php } ?><?php $_smarty_tpl->tpl_vars["option"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["option"]->_loop = false;
$_from = $_smarty_tpl->tpl_vars['CRM_TEMPLATES']->value["0"]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["option"]->key => $_smarty_tpl->tpl_vars["option"]->value){
$_smarty_tpl->tpl_vars["option"]->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['option']->value['value'];?>
" <?php if ($_smarty_tpl->tpl_vars['option']->value['title']!=''){?>title="<?php echo $_smarty_tpl->tpl_vars['option']->value['title'];?>
"<?php }?> <?php if ($_smarty_tpl->tpl_vars['option']->value['value']==$_smarty_tpl->tpl_vars['DEFAULT_TEMPLATE']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['option']->value['label'];?>
</option><?php } ?></select></div><?php }?><?php if (sizeof($_smarty_tpl->tpl_vars['TEMPLATE_LANGUAGES']->value)>1){?><div class="row"><h5><?php echo vtranslate('LBL_LANGUAGE','EMAILMaker');?>
:</h5></div><div class="row"><select name="email_template_language" id="email_template_language" class="form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['TEMPLATE_LANGUAGES']->value,'selected'=>$_smarty_tpl->tpl_vars['CURRENT_LANGUAGE']->value),$_smarty_tpl);?>
</select></div><?php }else{ ?><?php $_smarty_tpl->tpl_vars["lang"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["lang"]->_loop = false;
$_smarty_tpl->tpl_vars["lang_key"] = new Smarty_Variable;
$_from = ($_smarty_tpl->tpl_vars['TEMPLATE_LANGUAGES']->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["lang"]->key => $_smarty_tpl->tpl_vars["lang"]->value){
$_smarty_tpl->tpl_vars["lang"]->_loop = true;
$_smarty_tpl->tpl_vars["lang_key"]->value = $_smarty_tpl->tpl_vars["lang"]->key;
?><input type="hidden" name="email_template_language" id="email_template_language" value="<?php echo $_smarty_tpl->tpl_vars['lang_key']->value;?>
"/><?php } ?><?php }?><?php if ($_smarty_tpl->tpl_vars['IS_PDFMAKER']->value=='yes'){?><br><div class="<?php if (empty($_smarty_tpl->tpl_vars['PDFTEMPLATEIDS']->value)){?>hide<?php }?>" id="EMAILMakerPDFTemplatesContainer"><div class="row"><h5><?php echo vtranslate('LBL_SELECT_PDF_TEMPLATES','EMAILMaker');?>
:</h5></div><div class="row"><select id="use_common_pdf_template" multiple class="form-control"><?php $_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA']->_loop = false;
$_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['PDF_TEMPLATES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA']->key => $_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA']->value){
$_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA']->_loop = true;
$_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID']->value = $_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA']->key;
?><?php $_smarty_tpl->tpl_vars['IS_PDF_TEMPLATE_SELECTED'] = new Smarty_variable(!empty($_smarty_tpl->tpl_vars['PDFTEMPLATEIDS']->value)&&in_array($_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID']->value,$_smarty_tpl->tpl_vars['PDFTEMPLATEIDS']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_ID']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['IS_PDF_TEMPLATE_SELECTED']->value){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['PDF_TEMPLATE_DATA']->value['templatename'];?>
</option><?php } ?></select></div><div class="row"><h5><?php echo vtranslate('LBL_MERGE_PDF_TEMPLATES','EMAILMaker');?>
:</h5></div><div class="row"><input type="checkbox" value="1" name="is_merge_templates"></div><div class="row"><div class='pull-right paddingTop5'><button type="button" id='removePDFMakerTemplate' class='btn btn-danger' onClick='return false'><i class="fa fa-minus"></i> <?php echo vtranslate('LBL_REMOVE_PDFMAKER_TEMPLATES','EMAILMaker');?>
</button></div></div></div><div class="row"><span class="pull-right <?php if (!empty($_smarty_tpl->tpl_vars['PDFTEMPLATEIDS']->value)){?>hide<?php }?>" id="EMAILMakerPDFTemplatesBtn"><button id="addPDFMakerTemplate" class="btn btn btn-primary" onClick="return false"><i class="fa fa-plus"></i> <?php echo vtranslate('LBL_ADD_PDFMAKER_TEMPLATES','EMAILMaker');?>
</button></span></div><?php }?></div></div></div><?php ob_start();?><?php echo vtranslate('LBL_SELECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp2=ob_get_clean();?><?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('BUTTON_NAME'=>$_tmp2), 0);?>
</div></form></div>
<?php }} ?>

View File

@@ -0,0 +1,62 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:15:18
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSmsnotifier.tpl" */ ?>
<?php /*%%SmartyHeaderCode:126411897268da78568eb198-54472644%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'67c89b7a6d21253f2779b12d2d9ffa356217decc' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSmsnotifier.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '126411897268da78568eb198-54472644',
'function' =>
array (
),
'variables' =>
array (
'task' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da78568f454',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da78568f454')) {function content_68da78568f454($_smarty_tpl) {?><div>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="dvtCellLabel" align="right"><?php echo vtranslate('LBL_PHONE_NUMBER','Settings:Workflow2');?>
</td>
<td class="dvtCellInfo" align="left" style="padding:5px;">
<div class="insertTextfield" data-name="task[number]" data-id="number"><?php echo $_smarty_tpl->tpl_vars['task']->value['number'];?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right"><?php echo vtranslate('LBL_SMS_TEXT','Settings:Workflow2');?>
</td>
<td class="dvtCellInfo" align="left" style="padding:5px;">
<div class="insertTextarea" data-name="task[sms_text]" data-id="sms_text"><?php echo stripslashes($_smarty_tpl->tpl_vars['task']->value['sms_text']);?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right"></td>
<td class="dvtCellInfo" align="left" style="padding:5px;" id="buchstabenCounter">
</td>
</tr>
<script type="text/javascript">
jQuery('body').on('inputFieldsReady', function() {
jQuery("#sms_text").on("keyup", function() {
jQuery("#buchstabenCounter").html(jQuery("#sms_text").val().length + " <?php echo vtranslate('LBL_LETTER','Settings:Workflow2');?>
");
});
jQuery("#buchstabenCounter").html(jQuery("#sms_text").val().length + " <?php echo vtranslate('LBL_LETTER','Settings:Workflow2');?>
");
});
</script>
</table>
</div>
<?php }} ?>

View File

@@ -0,0 +1,123 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:23
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/DetailViewActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:160831576068e3cbef778199-46651650%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'697b6e5c33f184d5794c621d6d65fbbb493fecb4' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/DetailViewActions.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '160831576068e3cbef778199-46651650',
'function' =>
array (
),
'variables' =>
array (
'DETAILVIEW_ACTIONS' => 0,
'DETAILVIEW_LINK' => 0,
'LINK_ICON_CLASS' => 0,
'LINK_URL' => 0,
'DASHBOARD_TABS' => 0,
'REPORT_MODEL' => 0,
'MODULE' => 0,
'BTN_I' => 0,
'LINK_NAME' => 0,
'TAB_INFO' => 0,
'COUNT' => 0,
'COLUMNS_LIMIT' => 0,
'SUMMARIES_LIMIT' => 0,
'PDFMakerActive' => 0,
'IS_TEST_WRITE_ABLE' => 0,
'DETAILVIEW_LINKS' => 0,
'LINKNAME' => 0,
'ICON_CLASS' => 0,
'MODULENAME' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbef7cc01',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbef7cc01')) {function content_68e3cbef7cc01($_smarty_tpl) {?>
<div class="listViewPageDiv"><div class="reportHeader"><div class="row"><div class="col-lg-3"><div class="btn-toolbar"><div class="btn-group"><?php $_smarty_tpl->tpl_vars['BTN_I'] = new Smarty_variable('0', null, 0);?><?php $_smarty_tpl->tpl_vars['DETAILVIEW_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_ACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->key => $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value){
$_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['LINK_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl(), null, 0);?><?php $_smarty_tpl->tpl_vars['LINK_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getLabel(), null, 0);?><?php $_smarty_tpl->tpl_vars['LINK_ICON_CLASS'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkiconclass'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'){?><div class="btn-group"><?php }?><button <?php if ($_smarty_tpl->tpl_vars['LINK_URL']->value){?> onclick='window.location.href = "<?php echo $_smarty_tpl->tpl_vars['LINK_URL']->value;?>
"' <?php }?> type="button"class="cursorPointer btn btn-default <?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('customclass');?>
<?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'&&ITS4YouReports_Functions_Helper::count($_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value)>1){?> dropdown-toggle<?php }?>"title="<?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'){?><?php if ($_smarty_tpl->tpl_vars['REPORT_MODEL']->value->isPinnedToDashboard()){?><?php echo vtranslate('LBL_UNPIN_CHART_FROM_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?><?php echo vtranslate('LBL_PIN_CHART_TO_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linktitle');?>
<?php }?>" <?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'&&ITS4YouReports_Functions_Helper::count($_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value)>1){?>data-toggle="dropdown"<?php }?><?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'){?>data-dashboard-tab-count='<?php echo ITS4YouReports_Functions_Helper::count($_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value);?>
'<?php }?>style="<?php if (0<$_smarty_tpl->tpl_vars['BTN_I']->value){?>margin-left:5px;<?php }?>"><?php if ($_smarty_tpl->tpl_vars['LINK_NAME']->value){?> <?php echo $_smarty_tpl->tpl_vars['LINK_NAME']->value;?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value){?><?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='icon-pencil'){?>&nbsp;&nbsp;&nbsp;<?php }?><i class="fa <?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='icon-pencil'){?>fa-pencil<?php }elseif($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'){?><?php if ($_smarty_tpl->tpl_vars['REPORT_MODEL']->value->isPinnedToDashboard()){?>vicon-unpin<?php }else{ ?>vicon-pin<?php }?><?php }?>" style="font-size: 13px;"></i><?php }?></button><?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'){?><ul class='dropdown-menu dashBoardTabMenu'><li class="dropdown-header popover-title"><?php echo vtranslate('LBL_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</li><?php $_smarty_tpl->tpl_vars['TAB_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['TAB_INFO']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DASHBOARD_TABS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['TAB_INFO']->key => $_smarty_tpl->tpl_vars['TAB_INFO']->value){
$_smarty_tpl->tpl_vars['TAB_INFO']->_loop = true;
?><li class='dashBoardTab' data-tab-id='<?php echo $_smarty_tpl->tpl_vars['TAB_INFO']->value['id'];?>
'><a href='javascript:void(0)'> <?php echo $_smarty_tpl->tpl_vars['TAB_INFO']->value['tabname'];?>
</a></li><?php } ?></ul><?php }?><?php if ($_smarty_tpl->tpl_vars['LINK_ICON_CLASS']->value=='vtGlyph vticon-attach'){?></div><?php }?><?php $_smarty_tpl->tpl_vars['BTN_I'] = new Smarty_variable($_smarty_tpl->tpl_vars['BTN_I']->value+1, null, 0);?><?php } ?></div></div></div><div class="col-lg-6 textAlignCenter"><h3 class="marginTop0px"><?php echo $_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getName();?>
</h3><div id="noOfRecords"><?php echo vtranslate('LBL_NO_OF_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span id="countValue"><?php echo $_smarty_tpl->tpl_vars['COUNT']->value;?>
</span><?php if ($_smarty_tpl->tpl_vars['COUNT']->value>1000){?><span class="redColor" id="moreRecordsText"> (<?php echo vtranslate('LBL_MORE_RECORDS_TXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
)</span><?php }else{ ?><span class="redColor hide" id="moreRecordsText"> (<?php echo vtranslate('LBL_MORE_RECORDS_TXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
)</span><?php }?></div><?php if ('custom_report'!=$_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType()){?><div class="limitsAreaInfoColored" id="limitOfRecords"><?php echo vtranslate('LBL_LIMITED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
: (<?php if ($_smarty_tpl->tpl_vars['COLUMNS_LIMIT']->value>0){?><?php echo vtranslate('SET_LIMIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo $_smarty_tpl->tpl_vars['COLUMNS_LIMIT']->value;?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['COLUMNS_LIMIT']->value>0&&$_smarty_tpl->tpl_vars['SUMMARIES_LIMIT']->value>0){?>, <?php }elseif($_smarty_tpl->tpl_vars['COLUMNS_LIMIT']->value==0&&$_smarty_tpl->tpl_vars['SUMMARIES_LIMIT']->value==0){?><?php echo vtranslate('LBL_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['SUMMARIES_LIMIT']->value>0){?><?php echo vtranslate('SUMMARIES_LIMIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo $_smarty_tpl->tpl_vars['SUMMARIES_LIMIT']->value;?>
<?php }?>)</div><?php }?><div id='activate_pdfmaker' class="fieldValue" style="display:block;"><span class="value"><?php if ($_smarty_tpl->tpl_vars['PDFMakerActive']->value!==true){?><?php echo vtranslate('Please_Install_PDFMaker',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['IS_TEST_WRITE_ABLE']->value!==true){?><?php echo vtranslate('Test_Not_WriteAble',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?></span></div></div><div class='col-lg-3'><span class="pull-right"><div class="btn-toolbar"><div class="btn-group"><?php if ('tabular'==$_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType()){?><?php $_smarty_tpl->tpl_vars['DETAILVIEW_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->key => $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value){
$_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['LINKNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getLabel(), null, 0);?><span class="btn-group"><?php if ('custom_report'==$_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType()){?><button class="btn btn-default reportActions" data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
&source=<?php echo $_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType();?>
"style="margin-left:5px;" type="button" data-toggle="dropdown" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
" ><?php echo $_smarty_tpl->tpl_vars['LINKNAME']->value;?>
</button><?php }else{ ?><ul class="nav navbar-nav navbar-right"><li><button class="btn btn-default dropdown-toggle"style="margin-left:5px;" type="button" data-toggle="dropdown" ><?php echo $_smarty_tpl->tpl_vars['LINKNAME']->value;?>
&nbsp;<span class="caret"></span></button><ul class="dropdown-menu"><li><a href="javascript:void(0);" data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
&data=base" data-type="base" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
" class="reportActions" ><i class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
' style="font-size:13px;"></i>&nbsp; <?php echo vtranslate('LBL_EXPORT_REPORTED_RECORDS','ITS4YouReports');?>
</a></li><li><a href="javascript:void(0);" data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
&data=all" data-type="all" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
" class="reportActions" ><i class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
' style="font-size:13px;"></i>&nbsp; <?php echo vtranslate('LBL_ALL',$_smarty_tpl->tpl_vars['MODULENAME']->value);?>
</a></li><li><a href="javascript:void(0);" data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
" data-type="all" data-background-export="true" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
" class="reportActions" ><i class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
' style="font-size:13px;"></i>&nbsp; <?php echo vtranslate('LBL_BACKGROUND_EXPORT','ITS4YouReports');?>
</a></li></ul></li></ul><?php }?></span><?php } ?><?php }elseif('custom_report'!=$_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType()){?><?php $_smarty_tpl->tpl_vars['DETAILVIEW_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->key => $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value){
$_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['LINKNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getLabel(), null, 0);?><?php if ('generateMap'!=$_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('id')){?><ul class="nav navbar-nav navbar-right"><li><button class="btn btn-default dropdown-toggle"style="margin-left:5px;" type="button" data-toggle="dropdown" ><?php echo $_smarty_tpl->tpl_vars['LINKNAME']->value;?>
&nbsp;<span class="caret"></span></button><ul class="dropdown-menu"><li><a href="javascript:void(0);" data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
&data=base" data-type="base" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
" class="reportActions" ><i class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
' style="font-size:13px;"></i>&nbsp; <?php echo vtranslate('LBL_EXPORT_REPORTED_RECORDS','ITS4YouReports');?>
</a></li><li><a href="javascript:void(0);" data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
" data-type="all" data-background-export="true" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
" class="reportActions" ><i class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
' style="font-size:13px;"></i>&nbsp; <?php echo vtranslate('LBL_BACKGROUND_EXPORT','ITS4YouReports');?>
</a></li></ul></li></ul><?php }else{ ?><?php $_smarty_tpl->tpl_vars['LINKNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getLabel(), null, 0);?><button class="btn btn-default reportActions" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
"data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
&source=<?php echo $_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType();?>
"style="margin-left:5px;"><?php echo $_smarty_tpl->tpl_vars['LINKNAME']->value;?>
</button><?php }?><?php } ?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['DETAILVIEW_LINK'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DETAILVIEW_LINKS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->key => $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value){
$_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['LINKNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getLabel(), null, 0);?><button class="btn btn-default reportActions" name="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->get('linkname');?>
"data-href="<?php echo $_smarty_tpl->tpl_vars['DETAILVIEW_LINK']->value->getUrl();?>
&source=<?php echo $_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType();?>
"style="margin-left:5px;"><?php echo $_smarty_tpl->tpl_vars['LINKNAME']->value;?>
</button><?php } ?><?php }?></div></div></span></div></div></div></div>
<?php }} ?>

View File

@@ -0,0 +1,33 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/EditHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:85316230568e3cc12a3b327-42116736%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6b116496b74c93945931020ab3b45bca0f9ba68e' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/EditHeader.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '85316230568e3cc12a3b327-42116736',
'function' =>
array (
),
'variables' =>
array (
'REPORTTYPE' => 0,
'MODULE' => 0,
'LABELS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a46c1',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a46c1')) {function content_68e3cc12a46c1($_smarty_tpl) {?>
<div class="main-container clearfix"><?php if (file_exists('modules/Vtiger/partials/Menubar.tpl')){?><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><?php }?><div class="editViewPageDiv mailBoxEditDiv viewContent"><div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><div class="editContainer" style="padding-left: 2%;padding-right: 0%; min-height:70em;"><input type="hidden" name="reporttype" id="reporttype" value="<?php echo $_smarty_tpl->tpl_vars['REPORTTYPE']->value;?>
" /><div class="row" style="min-height:10px;"><?php $_smarty_tpl->tpl_vars['LABELS'] = new Smarty_variable(array("1"=>"LBL_REPORT_DETAILS","13"=>"LBL_REPORT_SQL","4"=>"LBL_SPECIFY_GROUPING","5"=>"LBL_SELECT_COLUMNS","6"=>"LBL_CALCULATIONS","7"=>"LBL_LABELS","8"=>"LBL_FILTERS","9"=>"LBL_SHARING","10"=>"LBL_LIMIT_SCHEDULER","11"=>"LBL_GRAPHS","12"=>"LBL_REPORT_DASHBOARDS","14"=>"LBL_REPORT_MAPS"), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("BreadCrumbs.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('ACTIVESTEP'=>1,'BREADCRUMB_LABELS'=>$_smarty_tpl->tpl_vars['LABELS']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE']->value), 0);?>
</div><div class="clearfix"></div><?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/Buttons.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>

View File

@@ -0,0 +1,63 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:20:16
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/ModalSendEmailResult.tpl" */ ?>
<?php /*%%SmartyHeaderCode:186764565268da7980c3f2e7-12599841%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6bfcffe5ca1493d6ec9018d9e3b562b7f23e143d' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/ModalSendEmailResult.tpl',
1 => 1738401449,
2 => 'file',
),
),
'nocache_hash' => '186764565268da7980c3f2e7-12599841',
'function' =>
array (
),
'variables' =>
array (
'TITLE' => 0,
'MODULE' => 0,
'HEADER_TITLE' => 0,
'RESULT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da7980c7d39',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da7980c7d39')) {function content_68da7980c7d39($_smarty_tpl) {?>
<div class="modal-dialog modelContainer mailSentSuccessfully">
<div class="modal-content" style="width:800px;">
<?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['TITLE']->value, 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['HEADER_TITLE']->value), 0);?>
<div class="padding15px">
<div class="widgetContainer_1">
<div class="widget_contents" id="popup_notifi_content">
<?php echo vtranslate('LBL_EMAILS_SENT_RESULT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<hr>
<?php echo vtranslate('LBL_TOTAL_EMAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
: <?php echo $_smarty_tpl->tpl_vars['RESULT']->value['total'];?>
<br>
<?php if ($_smarty_tpl->tpl_vars['RESULT']->value['sent']){?>
<?php echo vtranslate('LBL_SENT_EMAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
: <?php echo $_smarty_tpl->tpl_vars['RESULT']->value['sent'];?>
<br>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['RESULT']->value['error']){?>
<?php echo vtranslate('LBL_ERROR_EMAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
: <?php echo $_smarty_tpl->tpl_vars['RESULT']->value['error'];?>
<br>
<span style="color: red; white-space: pre-line;"><?php echo $_smarty_tpl->tpl_vars['RESULT']->value['error_message'];?>
</span>
<?php }?>
</div>
</div>
</div>
</div>
</div><?php }} ?>

View File

@@ -0,0 +1,50 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/EditScript.tpl" */ ?>
<?php /*%%SmartyHeaderCode:168928117268e3cc12a7ebf4-87122533%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6de27a5180d49b46fdf9b014e6da7e4ce0f38de7' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/EditScript.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '168928117268e3cc12a7ebf4-87122533',
'function' =>
array (
),
'variables' =>
array (
'RECORD_ID' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a8340',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a8340')) {function content_68e3cc12a8340($_smarty_tpl) {?>
<input type="hidden" id="recordId" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
" />
<script>
/*Sharing functions*/
function sharing_changed(){
var selectedValue = jQuery('#sharing').val();
if(selectedValue !== 'share')
{
jQuery('#sharing_share_div').hide();
}
else
{
jQuery('#sharing_share_div').show();
}
}
jQuery( document ).ready(function(){
sharing_changed();
});
/*Sharing Ends*/
</script>
<?php }} ?>

View File

@@ -0,0 +1,23 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-30 09:53:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/SettingsMenuEnd.tpl" */ ?>
<?php /*%%SmartyHeaderCode:192323099368db7e853b63f0-81109493%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6ed7e073ef831cd8acbbdd63ce15e59ff959a340' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/SettingsMenuEnd.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '192323099368db7e853b63f0-81109493',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68db7e853b760',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68db7e853b760')) {function content_68db7e853b760($_smarty_tpl) {?>
</div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,33 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/Buttons.tpl" */ ?>
<?php /*%%SmartyHeaderCode:191631126068e3cc12a5b2c1-98603940%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'70cdd3f3a9e52289fe944221d46532dd1d0af8d2' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/Buttons.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '191631126068e3cc12a5b2c1-98603940',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a5f5f',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a5f5f')) {function content_68e3cc12a5f5f($_smarty_tpl) {?>
<div class="modal-overlay-footer"><div class="row clearfix"><div class='textAlignCenter col-lg-12 col-md-12 col-sm-12 '><button type="button" class="btn btn-default" name="back_rep_top" id="back_rep_top"><i class="fa fa-chevron-left"></i>&nbsp;<?php echo vtranslate('LBL_BACK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>&nbsp;&nbsp;<button class="btn btn-success saveButton" id="savebtn" type="button"><?php echo vtranslate('LBL_SAVE_BUTTON_LABEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>&nbsp;&nbsp;<button class="btn btn-success saveButton" id="saverunbtn" type="button"><?php echo vtranslate('LBL_SAVE_RUN_BUTTON_LABEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>&nbsp;&nbsp;<a class="cancelLink" href="javascript:history.back()" type="reset"><?php echo vtranslate('LBL_CANCEL_BUTTON_LABEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a>&nbsp;&nbsp;<button type="button" class="btn btn-default" name="next" id="next_rep_top"><i class="fa fa-chevron-right"></i>&nbsp;<?php echo vtranslate('LNK_LIST_NEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></div></div></div><?php }} ?>

View File

@@ -0,0 +1,77 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:21:56
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListEMAILActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:111254722068da79e447ecf7-91417690%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'72d64b5fd5375a0dedd4e7c6906ae0732f093604' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListEMAILActions.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '111254722068da79e447ecf7-91417690',
'function' =>
array (
),
'variables' =>
array (
'LISTVIEW_MASSACTIONS' => 0,
'LISTVIEW_LINKS' => 0,
'MODULE' => 0,
'LISTVIEW_MASSACTION' => 0,
'LISTVIEW_ADVANCEDACTIONS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79e448ecb',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79e448ecb')) {function content_68da79e448ecb($_smarty_tpl) {?>
<div id="listview-actions" class="listview-actions-container">
<div class="row">
<div class="col-md-3">
<div class="btn-group listViewMassActions" role="group">
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value)>0||count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW'])>0){?>
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><?php echo vtranslate('LBL_ACTIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;<i class="caret"></i></button>
<ul class="dropdown-menu">
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value)>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_MASSACTIONS']->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;
?>
<li 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());?>
"><a href="javascript:void(0);" <?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 }?> ><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li>
<?php } ?>
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW'])>0){?>
<li class="divider"></li>
<?php }?>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW'])>0){?>
<?php $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->key => $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value){
$_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->_loop = true;
?>
<li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_advancedAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getLabel());?>
"><a <?php if (stripos($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getUrl(),'javascript:')===0){?> href="javascript:void(0);" onclick='<?php echo substr($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getUrl(),strlen("javascript:"));?>
'<?php }else{ ?> href='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getUrl();?>
' <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li>
<?php } ?>
<?php }?>
</ul>
<?php }?>
</div>
</div>
</div>
</div><?php }} ?>

View File

@@ -0,0 +1,98 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ModuleHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:106581185668e3cbe7754158-12502999%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'771116ed665e7d24d34aaf5300b8a5fa0901c7bd' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ModuleHeader.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '106581185668e3cbe7754158-12502999',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'MODULE_MODEL' => 0,
'DEFAULT_FILTER_ID' => 0,
'CVURL' => 0,
'DEFAULT_FILTER_URL' => 0,
'VIEW' => 0,
'REPORT_NAME' => 0,
'KM_ID' => 0,
'KM_NAME' => 0,
'VIEWNAME' => 0,
'FOLDERS' => 0,
'FOLDER' => 0,
'FOLDERNAME' => 0,
'NO_LICENSE' => 0,
'LISTVIEW_LINKS' => 0,
'LISTVIEW_BASICACTION' => 0,
'childLinks' => 0,
'childLink' => 0,
'ICON_CLASS' => 0,
'MODULE_NAME' => 0,
'SETTING' => 0,
'FIELDS_INFO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbe77a0e9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe77a0e9')) {function content_68e3cbe77a0e9($_smarty_tpl) {?>
<div class="col-sm-12 col-xs-12 module-action-bar clearfix coloredBorderTop"><div class="module-action-content clearfix"><span class="col-lg-7 col-md-7"><span><?php $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance($_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?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 }?><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;?>
'><h4 class="module-title pull-left"> <?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4></a></span><span><p class="current-filter-name pull-left">&nbsp;&nbsp;<span class="fa fa-angle-right" aria-hidden="true"></span><?php if ($_smarty_tpl->tpl_vars['VIEW']->value=='Edit'||$_smarty_tpl->tpl_vars['VIEW']->value=='Detail'){?>&nbsp;<span id="reportnameTop"><?php if (''!=$_smarty_tpl->tpl_vars['REPORT_NAME']->value){?><?php echo $_smarty_tpl->tpl_vars['REPORT_NAME']->value;?>
<?php }else{ ?><?php echo vtranslate('LBL_NEW');?>
<?php }?></span>&nbsp;<span class="fa fa-angle-right" aria-hidden="true"></span><?php }?>&nbsp;<?php if ('true'==$_REQUEST['isDuplicate']){?><?php echo vtranslate('Duplicate',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }elseif('KeyMetricsRows'==$_REQUEST['view']||'EditKeyMetricsRow'==$_REQUEST['view']){?><a href="index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
&view=KeyMetricsList" style="vertical-align:bottom;"><?php echo vtranslate('KeyMetricsList',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a>&nbsp;<span class="fa fa-angle-right" aria-hidden="true"></span>&nbsp;<a href="index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
&view=KeyMetricsRows&id=<?php echo $_smarty_tpl->tpl_vars['KM_ID']->value;?>
" style="vertical-align:bottom;"><?php echo $_smarty_tpl->tpl_vars['KM_NAME']->value;?>
</a>&nbsp;<span class="fa fa-angle-right" aria-hidden="true"></span>&nbsp;<?php echo vtranslate($_smarty_tpl->tpl_vars['VIEW']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['VIEW']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?></p></span><?php if ($_smarty_tpl->tpl_vars['VIEWNAME']->value){?><?php if ($_smarty_tpl->tpl_vars['VIEWNAME']->value!='All'){?><?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 if ($_smarty_tpl->tpl_vars['FOLDER']->value->getId()==$_smarty_tpl->tpl_vars['VIEWNAME']->value){?><?php $_smarty_tpl->tpl_vars['FOLDERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FOLDER']->value->getName(), null, 0);?><?php break 1?><?php }?><?php } ?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['FOLDERNAME'] = new Smarty_variable(vtranslate('LBL_ALL_REPORTS',$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php }?><span><p class="current-filter-name filter-name pull-left">&nbsp;&nbsp;<span class="fa fa-angle-right" aria-hidden="true"></span> <?php echo $_smarty_tpl->tpl_vars['FOLDERNAME']->value;?>
</p></span><?php }?></span><span class="col-lg-5 col-md-5 pull-right"><div id="appnav" class="navbar-right"><?php if (0==$_smarty_tpl->tpl_vars['NO_LICENSE']->value){?><?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 $_smarty_tpl->tpl_vars["childLinks"] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getChildLinks(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['childLinks']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->get('linklabel')=='LBL_ADD_RECORD'){?><span class="btn-group"><button class="btn btn-default dropdown-toggle module-buttons" data-toggle="dropdown" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_basicAction_Add"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_BASICACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<i class="caret icon-white"></i></button><ul class="dropdown-menu"><?php $_smarty_tpl->tpl_vars["childLink"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["childLink"]->_loop = false;
$_from = $_smarty_tpl->tpl_vars['childLinks']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["childLink"]->key => $_smarty_tpl->tpl_vars["childLink"]->value){
$_smarty_tpl->tpl_vars["childLink"]->_loop = true;
?><li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_basicAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['childLink']->value->getLabel());?>
" data-edition-disable="<?php echo $_smarty_tpl->tpl_vars['childLink']->value->disabled;?>
" data-edition-message="<?php echo $_smarty_tpl->tpl_vars['childLink']->value->message;?>
"><a <?php if ($_smarty_tpl->tpl_vars['childLink']->value->disabled!='1'){?> <?php if (stripos($_smarty_tpl->tpl_vars['childLink']->value->getUrl(),'javascript:')===0){?> onclick='<?php echo substr($_smarty_tpl->tpl_vars['childLink']->value->getUrl(),strlen("javascript:"));?>
;' <?php }else{ ?> href='<?php echo $_smarty_tpl->tpl_vars['childLink']->value->getUrl();?>
' <?php }?> <?php }else{ ?> href="javascript:void(0);" <?php }?>><i class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
' style="font-size:13px;"></i>&nbsp; <?php echo vtranslate($_smarty_tpl->tpl_vars['childLink']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php } ?></ul></span><?php }?><?php } ?><?php }?><?php if ('KeyMetricsList'===$_REQUEST['view']){?><span class="btn-group"><button class="btn btn-default dropdown-toggle module-buttons" data-toggle="dropdown" id="ITS4YouKeyMetrics_listView_basicAction_LBL_ADD_RECORD"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate("LBL_ADD_ITEM",$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo vtranslate("LBL_KEY_METRICS",$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;</button></span><?php }?><ul class="nav navbar-nav navbar-right"><?php if (ITS4YouReports_Functions_Helper::count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEWSETTING'])>0){?><li><div class="settingsIcon"><button type="button" class="btn btn-default module-buttons dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><span class="fa fa-wrench" aria-hidden="true" title="<?php echo vtranslate('LBL_SETTINGS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></span>&nbsp;<?php echo vtranslate('LBL_CUSTOMIZE','Reports');?>
&nbsp; <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_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 } ?></ul></div></li><?php }?></ul></div></span></div><div class="rssAddFormContainer hide"></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 }} ?>

View File

@@ -0,0 +1,33 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:23
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/FieldExpressions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:111912175468e3cbef749181-97857526%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7960bbdb89b4793a3078596dd77811a96e017dc9' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/FieldExpressions.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '111912175468e3cbef749181-97857526',
'function' =>
array (
),
'variables' =>
array (
'columnIndex' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbef74dbe',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbef74dbe')) {function content_68e3cbef74dbe($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars["columnIndex"] = new Smarty_variable("WCCINRW", null, 0);?><div class="form-group hide" id='fieldExpressionsBase'><div class="fieldExpressionsBase " id='fieldExpressionsBaseWCCINRW' style="position:relative;left:40%;padding-left: 3%;padding-right: 3%"><div class="col-lg-5" data-backdrop="false" style="z-index: 900;min-width: 750px;overflow: visible;border:1px solid #ccc;padding:0px;"><div class="modal-header contentsBackground" style="text-align:left;"><button type="button" class="close" onClick="jQuery('#fieldExpressionsBase<?php echo $_smarty_tpl->tpl_vars['columnIndex']->value;?>
').css('display', 'none');" data-dismiss="modal" aria-hidden="true" style="margin-top:2px; opacity: .9;">&times;</button><h3><?php echo vtranslate('LBL_SET_VALUE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h3></div><div class="modal-body"><div class="row-fluid"><span class="span4" style="text-align:left;"><select name="fc_fval_<?php echo $_smarty_tpl->tpl_vars['columnIndex']->value;?>
" id="fc_fval_<?php echo $_smarty_tpl->tpl_vars['columnIndex']->value;?>
" onChange="AddFieldToFilter('<?php echo $_smarty_tpl->tpl_vars['columnIndex']->value;?>
',this);" class="inputElement"style="margin-top:0.5em;"></select></span></div></div></div><div class="clonedPopUp"></div></div></div><?php }} ?>

View File

@@ -0,0 +1,46 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/generateFor.tpl" */ ?>
<?php /*%%SmartyHeaderCode:46259332968e3cc11c97f14-74021471%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7bb2e6c97240d993a02f2ba539e39f987a6a754c' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/generateFor.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '46259332968e3cc11c97f14-74021471',
'function' =>
array (
),
'variables' =>
array (
'generateForOptionsArray' => 0,
'moduleGroupKey' => 0,
'moduleGroupOpts' => 0,
'optionArray' => 0,
'selectedForOptions' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc11c9e26',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc11c9e26')) {function content_68e3cc11c9e26($_smarty_tpl) {?>
<select multiple class="select2 col-lg-12 inputElement" id='generate_for' name='generate_for' data-rule-required="false" ><?php $_smarty_tpl->tpl_vars['moduleGroupOpts'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['moduleGroupOpts']->_loop = false;
$_smarty_tpl->tpl_vars['moduleGroupKey'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['generateForOptionsArray']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['moduleGroupOpts']->key => $_smarty_tpl->tpl_vars['moduleGroupOpts']->value){
$_smarty_tpl->tpl_vars['moduleGroupOpts']->_loop = true;
$_smarty_tpl->tpl_vars['moduleGroupKey']->value = $_smarty_tpl->tpl_vars['moduleGroupOpts']->key;
?><optgroup label="<?php echo vtranslate($_smarty_tpl->tpl_vars['moduleGroupKey']->value,$_smarty_tpl->tpl_vars['moduleGroupKey']->value);?>
"><?php $_smarty_tpl->tpl_vars['optionArray'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['optionArray']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['moduleGroupOpts']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['optionArray']->key => $_smarty_tpl->tpl_vars['optionArray']->value){
$_smarty_tpl->tpl_vars['optionArray']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['optionArray']->value['value'];?>
" <?php if (in_array($_smarty_tpl->tpl_vars['optionArray']->value['value'],$_smarty_tpl->tpl_vars['selectedForOptions']->value)){?>selected<?php }?> ><?php echo $_smarty_tpl->tpl_vars['optionArray']->value['text'];?>
</option><?php } ?></optgroup><?php } ?></select><?php }} ?>

View File

@@ -0,0 +1,28 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:21:56
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:14227099268da79e4494939-21927702%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7d2cd3fde5d24253e543897bb4fdfc32360ea20e' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Footer.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '14227099268da79e4494939-21927702',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79e4497ff',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79e4497ff')) {function content_68da79e4497ff($_smarty_tpl) {?>
<br><div class="small" style="color: rgb(153, 153, 153);text-align: center;"><?php echo vtranslate('EMAILMaker','EMAILMaker');?>
<?php echo EMAILMaker_Version_Helper::$version;?>
<?php echo vtranslate('COPYRIGHT','EMAILMaker');?>
</div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Footer.tpl",'Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>

View File

@@ -0,0 +1,42 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:53:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/CurrencyList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:124448082268e8bb6086c8c8-84998571%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8322856e48825563de75a3b33e5095b398c501d4' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/CurrencyList.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '124448082268e8bb6086c8c8-84998571',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'CURRENCY_LIST' => 0,
'CURRENCY_ID' => 0,
'CURRENCY_NAME' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb6087389',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb6087389')) {function content_68e8bb6087389($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['CURRENCY_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getCurrencyList(), null, 0);?><select class="select2 inputElement" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
"><?php $_smarty_tpl->tpl_vars['CURRENCY_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CURRENCY_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['CURRENCY_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CURRENCY_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['CURRENCY_NAME']->key => $_smarty_tpl->tpl_vars['CURRENCY_NAME']->value){
$_smarty_tpl->tpl_vars['CURRENCY_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['CURRENCY_ID']->value = $_smarty_tpl->tpl_vars['CURRENCY_NAME']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['CURRENCY_ID']->value;?>
" data-picklistvalue= '<?php echo $_smarty_tpl->tpl_vars['CURRENCY_ID']->value;?>
' <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')==$_smarty_tpl->tpl_vars['CURRENCY_ID']->value){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['CURRENCY_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php } ?></select><?php }} ?>

View File

@@ -0,0 +1,58 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 18:13:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSetentitydata.tpl" */ ?>
<?php /*%%SmartyHeaderCode:192535852368daa200a08a90-58430242%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'837566aafafd9f9b6ac3f471925cc8bed0ac3dbb' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSetentitydata.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '192535852368daa200a08a90-58430242',
'function' =>
array (
),
'variables' =>
array (
'reference' => 0,
'field' => 0,
'task' => 0,
'cols' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68daa200a17e2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68daa200a17e2')) {function content_68daa200a17e2($_smarty_tpl) {?><table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="dvtCellLabel" width="45%" align="right">Write to Record:</td>
<td class="dvtCellInfo" align="left" style="padding:5px;">
<select class="chzn-select" name="task[srcrecord]">
<option value="crmid"><?php echo vtranslate('LBL_ID_OF_CURRENT_RECORD','Settings:Workflow2');?>
</option>
<?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['reference']->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;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['field']->value['fieldname'];?>
" <?php if ($_smarty_tpl->tpl_vars['task']->value['srcrecord']==$_smarty_tpl->tpl_vars['field']->value['fieldname']){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['field']->value['fieldlabel'];?>
</option>
<?php } ?>
</select>
</td>
</tr>
</table>
<br/>
<button type="button" onclick="addCol();" class="btn btn-primary">add Value</button>
<div id="rows"></div>
<script type="text/javascript">
var cols = <?php echo json_encode($_smarty_tpl->tpl_vars['cols']->value);?>
</script><?php }} ?>

View File

@@ -0,0 +1,59 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportDashboards.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19792249268e3cc12a0f3c0-24130268%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'846b0e8d5295cbfd4498efe14e71170eaad63b98' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportDashboards.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '19792249268e3cc12a0f3c0-24130268',
'function' =>
array (
),
'variables' =>
array (
'REPORT_TYPE' => 0,
'MODULE' => 0,
'primary_search_options' => 0,
'primary_search_arr' => 0,
'primary_search' => 0,
'allmodules' => 0,
'moduleName' => 0,
'allowedmodules' => 0,
'moduleLabel' => 0,
'REPORT_DASHBOARD_CHART' => 0,
'REPORT_DASHBOARD_TABLE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a240d',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a240d')) {function content_68e3cc12a240d($_smarty_tpl) {?>
<div style="border:1px solid #ccc;padding:4%;"><div class="form-group"><label class="control-label textAlignLeft col-lg-2 <?php if ('tabular'===$_smarty_tpl->tpl_vars['REPORT_TYPE']->value){?>hide<?php }?>""><?php echo vtranslate('PrimarySearchBy',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4 <?php if ('tabular'===$_smarty_tpl->tpl_vars['REPORT_TYPE']->value){?>hide<?php }?>"><select id="primary_search" name="primary_search" class="select2 inputElement" style="margin:auto;"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['primary_search_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['primary_search_arr']->_loop = false;
$_smarty_tpl->tpl_vars['primary_search_key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['primary_search_options']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['primary_search_arr']->key => $_smarty_tpl->tpl_vars['primary_search_arr']->value){
$_smarty_tpl->tpl_vars['primary_search_arr']->_loop = true;
$_smarty_tpl->tpl_vars['primary_search_key']->value = $_smarty_tpl->tpl_vars['primary_search_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['primary_search_arr']->value['value'];?>
" <?php if ($_smarty_tpl->tpl_vars['primary_search_arr']->value['value']==$_smarty_tpl->tpl_vars['primary_search']->value){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['primary_search_arr']->value['text'];?>
</option><?php } ?></select></div></div><div class="form-group"><label class="control-label textAlignLeft col-lg-2"><?php echo vtranslate('AllowInModules',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input type="hidden" name="allow_in_modules_hidden" id="allow_in_modules_hidden" value=""><select id="allow_in_modules" multiple name="allow_in_modules" class="select2 inputElement" style="margin:auto;"><?php $_smarty_tpl->tpl_vars['moduleLabel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['moduleLabel']->_loop = false;
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['allmodules']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['moduleLabel']->key => $_smarty_tpl->tpl_vars['moduleLabel']->value){
$_smarty_tpl->tpl_vars['moduleLabel']->_loop = true;
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['moduleLabel']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
"<?php if (is_array($_smarty_tpl->tpl_vars['allowedmodules']->value)&&in_array($_smarty_tpl->tpl_vars['moduleName']->value,$_smarty_tpl->tpl_vars['allowedmodules']->value)){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['moduleLabel']->value;?>
</option><?php } ?></select></div><div class="control-label textAlignLeft"><label class="checkbox <?php if ('tabular'===$_smarty_tpl->tpl_vars['REPORT_TYPE']->value){?>hide<?php }?>" style="margin-left: 30px;display: inline;"><input name="dashboard_chart"id="dashboard_chart" <?php if ($_smarty_tpl->tpl_vars['REPORT_DASHBOARD_CHART']->value=='true'&&'tabular'!==$_smarty_tpl->tpl_vars['REPORT_TYPE']->value){?> checked <?php }?>type="checkbox"/>&nbsp;<?php echo vtranslate('REPORT_DASHBOARD_CHART',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="dashboard_table"id="dashboard_table" <?php if ($_smarty_tpl->tpl_vars['REPORT_DASHBOARD_TABLE']->value=='true'){?> checked <?php }?>type="checkbox"/>&nbsp;<?php echo vtranslate($_smarty_tpl->tpl_vars['REPORT_TYPE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div></div></div><?php }} ?>

View File

@@ -0,0 +1,54 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:36:43
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/StatistikPopup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:45411434368da613b88f008-79716508%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8485da01fcdebbbe9ed530f8d3c662b6bec0a514' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/StatistikPopup.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '45411434368da613b88f008-79716508',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'HEADER_TITLE' => 0,
'durations' => 0,
'maxValue' => 0,
'LogInformation' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da613b8c985',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da613b8c985')) {function content_68da613b8c985($_smarty_tpl) {?><div class="modal-dialog modelContainer" style="width:600px;">
<?php ob_start();?><?php echo vtranslate("Reporting for this block","Settings:Workflow2");?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_tmp1, 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['HEADER_TITLE']->value), 0);?>
<div class="modal-content">
<div style='height:160px;margin:auto;' id="durationBlock"></div>
<script type="text/javascript">
var durations = <?php echo json_encode($_smarty_tpl->tpl_vars['durations']->value);?>
;
var maxValue = <?php echo $_smarty_tpl->tpl_vars['maxValue']->value;?>
;
</script>
<div style='height:160px;margin:auto;' id="extraLogInformation">
<?php echo $_smarty_tpl->tpl_vars['LogInformation']->value;?>
</div>
</div>
</div>
<?php }} ?>

View File

@@ -0,0 +1,28 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 17:13:18
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSetter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:143846945068da93fe2efe28-37192127%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8698a8d3c5bdd09198b77b363ddd0ff66a889992' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSetter.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '143846945068da93fe2efe28-37192127',
'function' =>
array (
),
'variables' =>
array (
'setterContent' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da93fe2f0e9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da93fe2f0e9')) {function content_68da93fe2f0e9($_smarty_tpl) {?>
<?php echo $_smarty_tpl->tpl_vars['setterContent']->value;?>
<?php }} ?>

View File

@@ -0,0 +1,84 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:20:52
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/DetailViewAttachments.tpl" */ ?>
<?php /*%%SmartyHeaderCode:169209489268da79a4446722-79467124%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'87606a36ab9a385afd9cf67fadaf6f896521c503' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/DetailViewAttachments.tpl',
1 => 1738401449,
2 => 'file',
),
),
'nocache_hash' => '169209489268da79a4446722-79467124',
'function' =>
array (
),
'variables' =>
array (
'ATTACHMENTS' => 0,
'QUALIFIED_MODULE' => 0,
'ATTACHMENT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79a4455d7',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79a4455d7')) {function content_68da79a4455d7($_smarty_tpl) {?>
<?php if ($_smarty_tpl->tpl_vars['ATTACHMENTS']->value){?>
<div class="block">
<div>
<h4 class="textOverflowEllipsis maxWidth50"><?php echo vtranslate('LBL_ATTACHMENTS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</h4>
</div>
<hr>
<div class="padding20px">
<table class="table no-border">
<thead>
<tr>
<th><?php echo vtranslate('File Name',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</th>
<th><?php echo vtranslate('Actions',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</th>
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['ATTACHMENT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ATTACHMENT']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ATTACHMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ATTACHMENT']->key => $_smarty_tpl->tpl_vars['ATTACHMENT']->value){
$_smarty_tpl->tpl_vars['ATTACHMENT']->_loop = true;
?>
<tr>
<td>
<a target="_blank" href="<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['filenamewithpath'];?>
">
<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['attachment'];?>
</a>
</td>
<td>
<a title="<?php echo vtranslate('Download',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
" href="index.php?module=Emails&action=DownloadFile&attachment_id=<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['fileid'];?>
&name=<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['attachment'];?>
">
<i class="fa fa-download"></i>
</a>
<?php if (!empty($_smarty_tpl->tpl_vars['ATTACHMENT']->value['docid'])){?>
&nbsp;&nbsp;
<a title="<?php echo vtranslate('Preview',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
" href="javascript:void(0)" onclick="Vtiger_Header_Js.previewFile(event,<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['docid'];?>
)" data-filelocationtype="I" data-filename="<?php echo $_smarty_tpl->tpl_vars['ATTACHMENT']->value['attachment'];?>
">
<i class="fa fa-eye"></i>
</a>
<?php }?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<br>
<?php }?><?php }} ?>

View File

@@ -0,0 +1,80 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/CustomCalculationRow.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19849678868e3cc12656c33-23626419%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'87ae487922354c7ba65eaf1e49905080e5de460b' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/CustomCalculationRow.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '19849678868e3cc12656c33-23626419',
'function' =>
array (
),
'variables' =>
array (
'cc_i' => 0,
'cc_calculation_arr' => 0,
'MODULE' => 0,
'cc_special' => 0,
'COLUMNS_OPTIONS' => 0,
'optName' => 0,
'all_columns_array' => 0,
'column_array' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc126715a',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc126715a')) {function content_68e3cc126715a($_smarty_tpl) {?>
<div id="cc_row_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" class="cc_row_class col-lg-12" style="padding:5px 0px 5px 0px;"><div class="col-lg-3"><input type="hidden" id="cc_id_val" value="<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" ><input type="text" name="cc_name_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" id="cc_name_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" class="inputElement col-lg-2 cc_row_name" value="<?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)){?><?php echo $_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_name'];?>
<?php }?>" placeholder="<?php echo vtranslate('LBL_CUSTOM_CALCULATION_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" ></div><div class="col-lg-2"><select name="cc_options_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" id="cc_options_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" class=" <?php echo $_smarty_tpl->tpl_vars['cc_special']->value;?>
inputElement cc-new-select" onChange="addCustomCalculationValue(this,'cc_calculation_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
')"><option value="" selected ><?php echo vtranslate('LBL_NONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php $_smarty_tpl->tpl_vars['all_columns_array'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['all_columns_array']->_loop = false;
$_smarty_tpl->tpl_vars['optName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['COLUMNS_OPTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['all_columns_array']->key => $_smarty_tpl->tpl_vars['all_columns_array']->value){
$_smarty_tpl->tpl_vars['all_columns_array']->_loop = true;
$_smarty_tpl->tpl_vars['optName']->value = $_smarty_tpl->tpl_vars['all_columns_array']->key;
?><optgroup label='<?php echo $_smarty_tpl->tpl_vars['optName']->value;?>
'><?php $_smarty_tpl->tpl_vars['column_array'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column_array']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['all_columns_array']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column_array']->key => $_smarty_tpl->tpl_vars['column_array']->value){
$_smarty_tpl->tpl_vars['column_array']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['column_array']->value['value'];?>
" ><?php echo $_smarty_tpl->tpl_vars['column_array']->value['text'];?>
</option><?php } ?></optgroup><?php } ?></select></div><div class="col-lg-3"><textarea name="cc_calculation_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" id="cc_calculation_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" class="form-control col-sm-6 resize-vertical cc-new-textarea" style="margin:auto;height:28px;" value="" placeholder="<?php echo vtranslate('LBL_CUSTOM_CALCULATION_EXPRESSION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" ><?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)){?><?php echo $_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_calculation'];?>
<?php }?></textarea></div><div class="col-lg-2"><input type="hidden" id="cc_totals_hidden_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" name="cc_totals_hidden_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" value="<?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)){?><?php echo $_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_totals_hidden'];?>
<?php }?>" class="cc-totals-hidden"><select name="cc_totals_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" id="cc_totals_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" multiple class=" <?php echo $_smarty_tpl->tpl_vars['cc_special']->value;?>
inputElement cc-new-select cc-totals" ><option value="sum" <?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)&&in_array('sum',$_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_totals'])){?>selected<?php }?> ><?php echo vtranslate('SUM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="avg" <?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)&&in_array('avg',$_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_totals'])){?>selected<?php }?> ><?php echo vtranslate('AVG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="min" <?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)&&in_array('min',$_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_totals'])){?>selected<?php }?> ><?php echo vtranslate('MIN',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="max" <?php if (!empty($_smarty_tpl->tpl_vars['cc_calculation_arr']->value)&&in_array('max',$_smarty_tpl->tpl_vars['cc_calculation_arr']->value['cc_totals'])){?>selected<?php }?> ><?php echo vtranslate('MAX',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></div><div class="col-lg-2"><span><a onclick="deleteCustomCalculationRow(<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
);" href="javascript:;"><img src="modules/ITS4YouReports/img/Delete.png" align="absmiddle" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..." border="0"></a></span>&nbsp;<span><a data-original-title="" href="#" id="cc_tooltip_<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" class="editHelpInfo tooltipstered" onmouseover="displayCustomCalculationArea(<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
)" onmouseout="hideCustomCalculationArea(<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
)" data-placement="top" data-text="test" data-template="<div class='tooltip' role='tooltip'><div class='tooltip-arrow'></div><div class='tooltip-inner' style='text-align: left'></div></div>"><i class="glyphicon glyphicon-info-sign alignMiddle"></i></a><span id="cc_tooltip_base<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
" class="" style="z-index:999;position:relative;top:-23px;left:-100px;display:none;" ><span class='tooltip-arrow'></span><span class='tooltip-inner' style='text-align: left' id="cc_tooltip_content<?php echo $_smarty_tpl->tpl_vars['cc_i']->value;?>
"></span></span></span></div></div><?php }} ?>

View File

@@ -0,0 +1,48 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:172745683768e3cbd85a3b87-37757787%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'87d6f754af62470e8cc17e73e06b06d287b55633' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewActions.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '172745683768e3cbd85a3b87-37757787',
'function' =>
array (
),
'variables' =>
array (
'LISTVIEW_MASSACTIONS' => 0,
'LIST_MASSACTION' => 0,
'LISTVIEW_MASSACTIONS_1' => 0,
'deleteAction' => 0,
'MODULE' => 0,
'LISTVIEW_ENTRIES_COUNT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd85b73c',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd85b73c')) {function content_68e3cbd85b73c($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS_1'] = new Smarty_variable(array(), null, 0);?><div id="listview-actions" class="listview-actions-container"><?php $_smarty_tpl->tpl_vars['LIST_MASSACTION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LIST_MASSACTION']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['LIST_MASSACTION']->key => $_smarty_tpl->tpl_vars['LIST_MASSACTION']->value){
$_smarty_tpl->tpl_vars['LIST_MASSACTION']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value->getLabel()=='LBL_EDIT'){?><?php $_smarty_tpl->tpl_vars['editAction'] = new Smarty_variable($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value, null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value->getLabel()=='LBL_DELETE'){?><?php $_smarty_tpl->tpl_vars['deleteAction'] = new Smarty_variable($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value, null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value->getLabel()=='LBL_ADD_COMMENT'){?><?php $_smarty_tpl->tpl_vars['commentAction'] = new Smarty_variable($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['a'] = new Smarty_variable(array_push($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS_1']->value,$_smarty_tpl->tpl_vars['LIST_MASSACTION']->value), null, 0);?><?php }?><?php } ?><div class = "row"><div class="col-md-3"><div class="btn-group listViewActionsContainer" role="group" aria-label="..."><?php if ($_smarty_tpl->tpl_vars['deleteAction']->value){?><button type="button" class="btn btn-default" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_massAction_LBL_MOVE_REPORT"onclick='Reports_List_Js.massMove("index.php?module=Reports&view=MoveReports")' title="<?php echo vtranslate('LBL_MOVE_REPORT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" disabled="disabled"><i class="vicon-foldermove" style='font-size:13px;'></i></button><?php }?><?php if ($_smarty_tpl->tpl_vars['deleteAction']->value){?><button type="button" class="btn btn-default" id=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_massAction_<?php echo $_smarty_tpl->tpl_vars['deleteAction']->value->getLabel();?>
<?php if (stripos($_smarty_tpl->tpl_vars['deleteAction']->value->getUrl(),'javascript:')===0){?> href="javascript:void(0);" onclick='<?php echo substr($_smarty_tpl->tpl_vars['deleteAction']->value->getUrl(),strlen("javascript:"));?>
'<?php }else{ ?> href='<?php echo $_smarty_tpl->tpl_vars['deleteAction']->value->getUrl();?>
' <?php }?> title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" disabled="disabled"><i class="fa fa-trash"></i></button><?php }?></div></div><div class='col-md-6'><div class="hide messageContainer" style = "height:30px;"><center><a id="selectAllMsgDiv" href="#"><?php echo vtranslate('LBL_SELECT_ALL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;(<span id="totalRecordsCount" value=""></span>)</a></center></div><div class="hide messageContainer" style = "height:30px;"><center><a id="deSelectAllMsgDiv" href="#"><?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 }} ?>

View File

@@ -0,0 +1,61 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/partials/SidebarEssentials.tpl" */ ?>
<?php /*%%SmartyHeaderCode:208298850168e3cbe77be4f2-53305652%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'885963af7bb1787b612e69517c5a6ef946d6c39a' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/partials/SidebarEssentials.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '208298850168e3cbe77be4f2-53305652',
'function' =>
array (
),
'variables' =>
array (
'NO_LICENSE' => 0,
'MODULE' => 0,
'FOLDERS' => 0,
'FOLDER' => 0,
'VIEWNAME' => 0,
'FOLDERID' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbe77e7d9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe77e7d9')) {function content_68e3cbe77e7d9($_smarty_tpl) {?>
<?php if (1==$_smarty_tpl->tpl_vars['NO_LICENSE']->value){?><script type="text/javascript">jQuery('#sidebar-essentials').remove()</script><?php }else{ ?><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" style="<?php if ('List'==$_REQUEST['view']){?>border-bottom:2px solid;<?php }?>"><h5 class="pull-left"><?php echo vtranslate('LBL_LIST_VIEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h5><button id="keyMetricsList" onclick='window.location.href="index.php?module=ITS4YouReports&view=List"' class="btn btn-default pull-right sidebar-btn" title="<?php echo vtranslate('LBL_KEY_METRICS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><div class="fa fa-chevron-right"></div></button></div><div class="sidebar-header clearfix" style="<?php if ('KeyMetricsList'==$_REQUEST['view']){?>border-bottom:2px solid;<?php }?>"><h5 class="pull-left"><?php echo vtranslate('LBL_KEY_METRICS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h5><button id="keyMetricsList" onclick='window.location.href="index.php?module=ITS4YouReports&view=KeyMetricsList"' class="btn btn-default pull-right sidebar-btn" title="<?php echo vtranslate('LBL_KEY_METRICS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><div class="fa fa-chevron-right"></div></button></div><?php if ('List'===$_REQUEST['view']){?><div class="sidebar-header clearfix"><h5 class="pull-left"><?php echo vtranslate('LBL_FOLDERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h5><button id="createFilter" onclick='ITS4YouReports_List_Js.triggerAddFolder("index.php?module=ITS4YouReports&view=EditFolder");' class="btn btn-default pull-right sidebar-btn" title="<?php echo vtranslate('LBL_ADD_NEW_FOLDER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><div class="fa fa-plus" aria-hidden="true"></div></button></div><hr><div><input class="search-list" type="text" placeholder="<?php echo vtranslate('LBL_SEARCH_FOR_FOLDERS',$_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"><div class="list-group"><ul class="lists-menu"><li style="font-size:12px;" class="listViewFilter" ><a href="#" class='filterName' data-filter-id="All"><i class="fa fa-folder foldericon"></i>&nbsp;<?php echo vtranslate('LBL_ALL_REPORTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?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');}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["folderview"]['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['FOLDER']->key => $_smarty_tpl->tpl_vars['FOLDER']->value){
$_smarty_tpl->tpl_vars['FOLDER']->_loop = true;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["folderview"]['iteration']++;
?><li style="font-size:12px;" class="listViewFilter <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['folderview']['iteration']>18){?> filterHidden hide<?php }?>" ><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['FOLDER']->value->getName(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['VIEWNAME'] = new Smarty_variable($_tmp1, null, 0);?><a href="#" class='filterName' data-filter-id=<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getId();?>
><i class="fa fa-folder foldericon"></i>&nbsp;<?php ob_start();?><?php echo strlen($_smarty_tpl->tpl_vars['VIEWNAME']->value)>50;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2){?><?php echo substr($_smarty_tpl->tpl_vars['VIEWNAME']->value,0,45);?>
..<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
<?php }?></a><?php if (''!==$_smarty_tpl->tpl_vars['FOLDER']->value->getDescription()){?><i class="fa fa-info-circle" title="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getDescription();?>
"></i><?php }?><div class="pull-right"><?php if ($_smarty_tpl->tpl_vars['FOLDER']->value->isEditable()&&$_smarty_tpl->tpl_vars['FOLDER']->value->isDeletable()){?><?php $_smarty_tpl->tpl_vars["FOLDERID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FOLDER']->value->get('folderid'), null, 0);?><span class="js-popover-container"><span class="fa fa-angle-down" data-id="<?php echo $_smarty_tpl->tpl_vars['FOLDERID']->value;?>
" data-deletable="true" data-editable="true" rel="popover" data-toggle="popover" data-deleteurl="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getDeleteUrl();?>
" data-editurl="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getEditUrl();?>
" data-toggle="dropdown" aria-expanded="true"></span></span><?php }?></div></li><?php } ?></ul><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>&nbsp;<?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>&nbsp;<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li></ul></div><h5 class="toggleFilterSize" data-more-text="<?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
.." data-less-text="<?php echo vtranslate('LBL_LESS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
.."><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['folderview']['iteration']>18){?><?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..<?php }?></h5></div></div></div></div></div><?php }?></div></div></div><?php }?><?php }} ?>

View File

@@ -0,0 +1,103 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Settings.tpl" */ ?>
<?php /*%%SmartyHeaderCode:50611324768da79ed710d39-85177235%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'89488679bbd6194c6c75426b7806d5f57720f70d' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Settings.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '50611324768da79ed710d39-85177235',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'EMAIL_TEMPLATE_RESULT' => 0,
'THEME_MODE' => 0,
'EMAIL_CATEGORY' => 0,
'DEFAULT_FROM_OPTIONS' => 0,
'SELECTED_DEFAULT_FROM' => 0,
'IGNORE_PICKLIST_VALUES' => 0,
'STATUS' => 0,
'IS_ACTIVE' => 0,
'DECIMALS' => 0,
'margin_input_width' => 0,
'IS_DEFAULT_DV_CHECKED' => 0,
'IS_DEFAULT_LV_CHECKED' => 0,
'ORDER' => 0,
'LOAD_RELATED_DOCUMENTS' => 0,
'DOCUMENTS_FOLDERS' => 0,
'DOCUMENT_FOLDER' => 0,
'RELATED_DOCUMENTS_FOLDERS' => 0,
'DOCUMENTS_FIELDS' => 0,
'DOCUMENT_FIELD_NAME' => 0,
'RELATED_DOCUMENTS_FIELDS' => 0,
'DOCUMENT_FIELD_LABEL' => 0,
'RELATED_MODULES' => 0,
'RelMod' => 0,
'RELATED_DOCUMENTS_FIELD' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed72dcc',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed72dcc')) {function content_68da79ed72dcc($_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';
?>
<div class="tab-pane" id="editTabSettings"><br><div id="settings_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_DESCRIPTION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><input name="description" type="text" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_RESULT']->value['description'];?>
" class="inputElement" tabindex="2"></div></div><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('Category');?>
:</label><div class="controls col-sm-9"><input type="text" name="email_category" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_CATEGORY']->value;?>
" class="inputElement"/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_DEFAULT_FROM','EMAILMaker');?>
:</label><div class="controls col-sm-9"><select name="default_from_email" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['DEFAULT_FROM_OPTIONS']->value,'selected'=>$_smarty_tpl->tpl_vars['SELECTED_DEFAULT_FROM']->value),$_smarty_tpl);?>
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_IGNORE_PICKLIST_VALUES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><input type="text" name="ignore_picklist_values" value="<?php echo $_smarty_tpl->tpl_vars['IGNORE_PICKLIST_VALUES']->value;?>
" class="inputElement"/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_STATUS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><select name="is_active" id="is_active" class="select2 form-control" onchange="EMAILMaker_EditJs.templateActiveChanged(this);"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['STATUS']->value,'selected'=>$_smarty_tpl->tpl_vars['IS_ACTIVE']->value),$_smarty_tpl);?>
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_DECIMALS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><table class="table table-bordered"><tr><td align="right" nowrap><?php echo vtranslate('LBL_DEC_POINT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</td><td><input type="text" maxlength="2" name="dec_point" class="inputElement" value="<?php echo $_smarty_tpl->tpl_vars['DECIMALS']->value['point'];?>
" style="width:<?php echo $_smarty_tpl->tpl_vars['margin_input_width']->value;?>
"/></td></tr><tr><td align="right" nowrap><?php echo vtranslate('LBL_DEC_DECIMALS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</td><td><input type="text" maxlength="2" name="dec_decimals" class="inputElement" value="<?php echo $_smarty_tpl->tpl_vars['DECIMALS']->value['decimals'];?>
" style="width:<?php echo $_smarty_tpl->tpl_vars['margin_input_width']->value;?>
"/></td></tr><tr><td align="right" nowrap><?php echo vtranslate('LBL_DEC_THOUSANDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</td><td><input type="text" maxlength="2" name="dec_thousands" class="inputElement" value="<?php echo $_smarty_tpl->tpl_vars['DECIMALS']->value['thousands'];?>
" style="width:<?php echo $_smarty_tpl->tpl_vars['margin_input_width']->value;?>
"/></td></tr></table></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_SETASDEFAULT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><?php echo vtranslate('LBL_FOR_DV',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;<input type="checkbox" id="is_default_dv" name="is_default_dv" <?php echo $_smarty_tpl->tpl_vars['IS_DEFAULT_DV_CHECKED']->value;?>
/>&nbsp;&nbsp;<?php echo vtranslate('LBL_FOR_LV',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;<input type="checkbox" id="is_default_lv" name="is_default_lv" <?php echo $_smarty_tpl->tpl_vars['IS_DEFAULT_LV_CHECKED']->value;?>
/><input type="hidden" name="tmpl_order" value="<?php echo $_smarty_tpl->tpl_vars['ORDER']->value;?>
"/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_LOAD_RELATED_DOCUMENTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><input type="hidden" name="load_related_documents" value="0"/><input type="checkbox" id="load_related_documents" name="load_related_documents" <?php if ($_smarty_tpl->tpl_vars['LOAD_RELATED_DOCUMENTS']->value){?>checked="checked"<?php }?>/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RELATED_DOCUMENTS_BY_FOLDER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><select name="folders_related_documents[]" id="folders_related_documents" class="select2 form-control inputElement" multiple="multiple"><?php $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_FOLDERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->key => $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value){
$_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value->getId();?>
" <?php if (in_array($_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value->getId(),$_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FOLDERS']->value)){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value->getName();?>
</option><?php } ?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RELATED_DOCUMENTS_BY_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><select name="fields_related_documents[]" id="fields_related_documents" class="select2 form-control inputElement" multiple="multiple"><?php $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->_loop = false;
$_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->key => $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->value){
$_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->_loop = true;
$_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME']->value = $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME']->value,$_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELDS']->value)){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->value;?>
</option><?php } ?><?php $_smarty_tpl->tpl_vars['RelMod'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RelMod']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['RELATED_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['RelMod']->key => $_smarty_tpl->tpl_vars['RelMod']->value){
$_smarty_tpl->tpl_vars['RelMod']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELD'] = new Smarty_variable(implode('|',array($_smarty_tpl->tpl_vars['RelMod']->value[3],$_smarty_tpl->tpl_vars['RelMod']->value[0])), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELD']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELD']->value,$_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELDS']->value)){?>selected="selected"<?php }?> data-module="<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[3];?>
"><?php echo $_smarty_tpl->tpl_vars['RelMod']->value[1];?>
(<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[2];?>
)</option><?php } ?></select></div></div><?php }?></div></div><?php }} ?>

View File

@@ -0,0 +1,87 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:70286545668e3cbe78748c6-42056836%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'898c77c103daf6e53c1fd50960eab91d6a3cb2df' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewActions.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '70286545668e3cbe78748c6-42056836',
'function' =>
array (
),
'variables' =>
array (
'LISTVIEW_MASSACTIONS' => 0,
'LIST_MASSACTION' => 0,
'LISTVIEW_MASSACTIONS_1' => 0,
'deleteAction' => 0,
'MODULE' => 0,
'LISTVIEW_ENTRIES_COUNT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbe788b35',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe788b35')) {function content_68e3cbe788b35($_smarty_tpl) {?>
<div id="listview-actions" class="listview-actions-container">
<?php $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS_1'] = new Smarty_variable(array(), null, 0);?>
<?php $_smarty_tpl->tpl_vars['LIST_MASSACTION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LIST_MASSACTION']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['LIST_MASSACTION']->key => $_smarty_tpl->tpl_vars['LIST_MASSACTION']->value){
$_smarty_tpl->tpl_vars['LIST_MASSACTION']->_loop = true;
?>
<?php if (!empty($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value)&&$_smarty_tpl->tpl_vars['LIST_MASSACTION']->value->getLabel()=='LBL_EDIT'){?>
<?php $_smarty_tpl->tpl_vars['editAction'] = new Smarty_variable($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value, null, 0);?>
<?php }elseif(!empty($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value)&&$_smarty_tpl->tpl_vars['LIST_MASSACTION']->value->getLabel()=='LBL_DELETE'){?>
<?php $_smarty_tpl->tpl_vars['deleteAction'] = new Smarty_variable($_smarty_tpl->tpl_vars['LIST_MASSACTION']->value, null, 0);?>
<?php }else{ ?>
<?php $_smarty_tpl->tpl_vars['a'] = new Smarty_variable(array_push($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS_1']->value,$_smarty_tpl->tpl_vars['LIST_MASSACTION']->value), null, 0);?>
<?php }?>
<?php } ?>
<div class="row">
<div class="col-md-3">
<div class="btn-group listViewActionsContainer" role="group" aria-label="...">
<?php if ($_smarty_tpl->tpl_vars['deleteAction']->value){?>
<button type="button" class="btn btn-default" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_massAction_LBL_MOVE_REPORT"
onclick='<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_List_Js.massMove("index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
&view=MoveReports")' title="<?php echo vtranslate('LBL_MOVE_REPORT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" disabled="disabled">
<i class="vicon-foldermove" style='font-size:13px;'></i>
</button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['deleteAction']->value){?>
<button type="button" class="btn btn-default" id=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_massAction_<?php echo $_smarty_tpl->tpl_vars['deleteAction']->value->getLabel();?>
<?php if (stripos($_smarty_tpl->tpl_vars['deleteAction']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['deleteAction']->value->getUrl(),strlen("javascript:"));?>
;'<?php }else{ ?> onclick="Vtiger_List_Js.triggerMassAction('<?php echo $_smarty_tpl->tpl_vars['deleteAction']->value->getUrl();?>
')"<?php }?>
title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" disabled="disabled"
style="margin-left:5px;" >
<i class="fa fa-trash"></i>
</button>
<?php }?>
</div>
</div>
<div class="col-md-6">
<span class="customFilterMainSpan btn-group">
&nbsp;
</span>
</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>
</div><?php }} ?>

View File

@@ -0,0 +1,59 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportColumnsTotal.tpl" */ ?>
<?php /*%%SmartyHeaderCode:46402987668e3cc1256ce52-49604318%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8b87c6c5cb8fa1610b0d31cdd53c9bdff5f1a33d' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportColumnsTotal.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '46402987668e3cc1256ce52-49604318',
'function' =>
array (
),
'variables' =>
array (
'CURL' => 0,
'MODULE' => 0,
'BLOCK1' => 0,
'rowname' => 0,
'calculations' => 0,
'checkbox' => 0,
'cc_populated' => 0,
'ACT_MODE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc1257ae8',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc1257ae8')) {function content_68e3cc1257ae8($_smarty_tpl) {?>
<input type="hidden" name="curl_to_go" id="curl_to_go" value="<?php echo $_smarty_tpl->tpl_vars['CURL']->value;?>
"><div style="border:1px solid #ccc;padding:4%;"><div class="row"><div class="form-group"><label class="control-label textAlignLeft col-lg-12"><h4><?php echo vtranslate('LBL_COLUMNS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4></label></div></div><div class="row"><div class="form-group"><div class="col-lg-2">&nbsp;</div><div class="col-lg-1 textAlignCenter"><label class="control-label"><?php echo vtranslate("LBL_COLUMNS_SUM",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div><div class="col-lg-1 textAlignCenter"><label class="control-label"><?php echo vtranslate("LBL_COLUMNS_AVERAGE",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div><div class="col-lg-1 textAlignCenter"><label class="control-label"><?php echo vtranslate("LBL_COLUMNS_LOW_VALUE",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div><div class="col-lg-1 textAlignCenter"><label class="control-label"><?php echo vtranslate("LBL_COLUMNS_LARGE_VALUE",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div></div></div><?php $_smarty_tpl->tpl_vars['calculations'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['calculations']->_loop = false;
$_smarty_tpl->tpl_vars['rowname'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['BLOCK1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['calculations']->key => $_smarty_tpl->tpl_vars['calculations']->value){
$_smarty_tpl->tpl_vars['calculations']->_loop = true;
$_smarty_tpl->tpl_vars['rowname']->value = $_smarty_tpl->tpl_vars['calculations']->key;
?><div class="row"><div class="form-group"><div class="col-lg-2"><label class="control-label textAlignLeft"><?php echo $_smarty_tpl->tpl_vars['rowname']->value;?>
</label></div><?php $_smarty_tpl->tpl_vars['checkbox'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['checkbox']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['calculations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['checkbox']->key => $_smarty_tpl->tpl_vars['checkbox']->value){
$_smarty_tpl->tpl_vars['checkbox']->_loop = true;
?><div class="col-lg-1 textAlignCenter"><input name="<?php echo $_smarty_tpl->tpl_vars['checkbox']->value['name'];?>
" type="checkbox" <?php echo $_smarty_tpl->tpl_vars['checkbox']->value['checked'];?>
class="inputElement" value=""></div><?php } ?></div></div><?php }
if (!$_smarty_tpl->tpl_vars['calculations']->_loop) {
?><div class="row"><div class="form-group"><div class="col-lg-12"><label class="control-label textAlignLeft"><?php echo vtranslate("NO_CALCULATION_COLUMN",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></div></div></div><?php } ?></div><?php if ($_smarty_tpl->tpl_vars['cc_populated']->value!=='true'&&$_smarty_tpl->tpl_vars['ACT_MODE']->value==='ChangeSteps'){?>|#<&NBX&>#|<?php echo $_smarty_tpl->getSubTemplate ('modules/ITS4YouReports/ReportCustomCalculations.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php $_smarty_tpl->tpl_vars['cc_populated'] = new Smarty_variable('true', null, 0);?><?php }?><input type="hidden" id="cc_populated" value="<?php echo $_smarty_tpl->tpl_vars['cc_populated']->value;?>
"><?php }} ?>

View File

@@ -0,0 +1,32 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:22
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/IndexViewPreProcess.tpl" */ ?>
<?php /*%%SmartyHeaderCode:131366398568e3cbeea68789-30400751%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8cbd308a91e69d8f3e5e0eab634bacbd4260098c' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/IndexViewPreProcess.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '131366398568e3cbeea68789-30400751',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'VIEW' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbeeaa71b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbeeaa71b')) {function content_68e3cbeeaa71b($_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/ITS4YouReports/partials/SidebarHeader.tpl", $_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><script type="text/javascript">jQuery(document).ready(function() { window._PAGEREADYAT = new Date(); });</script><div class="clearfix main-container"><div><div class="editViewPageDiv viewContent"><?php if ('Edit'!=$_smarty_tpl->tpl_vars['VIEW']->value&&'EditKeyMetricsRow'!=$_smarty_tpl->tpl_vars['VIEW']->value){?><div class="reports-content-area"> <?php }?>
<?php }} ?>

View File

@@ -0,0 +1,44 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:53:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/UserRole.tpl" */ ?>
<?php /*%%SmartyHeaderCode:74928364868e8bb60811be4-23194336%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8e3a5366914cb9ce1181e3aaf337ee452067dea3' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/UserRole.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '74928364868e8bb60811be4-23194336',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'SPECIAL_VALIDATOR' => 0,
'FIELD_INFO' => 0,
'PICKLIST_VALUES' => 0,
'PICKLIST_VALUE' => 0,
'PICKLIST_NAME' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb6081faa',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb6081faa')) {function content_68e8bb6081faa($_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_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getAllRoles(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><select class="inputElement select2" 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 }?><?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;
?><option value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')==$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><?php } ?></select><?php }} ?>

View File

@@ -0,0 +1,57 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:18:21
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/SelectEmailFieldOptions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:20429531468da790da51980-36131362%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8ff4d3c640d79d68eb67c45b959484afe70b1655' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/SelectEmailFieldOptions.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '20429531468da790da51980-36131362',
'function' =>
array (
),
'variables' =>
array (
'EMAIL_FIELDS_LIST' => 0,
'EMAIL_FIELD_NAME' => 0,
'EMAIL_FIELD_LIST' => 0,
'IS_INPUT_SELECTED_ALLOWED' => 0,
'EMAIL_FIELD_DATA' => 0,
'SINGLE_RECORD' => 0,
'IS_INPUT_SELECTED_DEFINED' => 0,
'IS_INPUT_SELECTED' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da790da602e',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da790da602e')) {function content_68da790da602e($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST']->_loop = false;
$_smarty_tpl->tpl_vars['EMAIL_FIELD_NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['EMAIL_FIELDS_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST']->key => $_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST']->value){
$_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST']->_loop = true;
$_smarty_tpl->tpl_vars['EMAIL_FIELD_NAME']->value = $_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST']->key;
?><optgroup label="<?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_NAME']->value;?>
"><?php $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['EMAIL_FIELD_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->key => $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value){
$_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['IS_INPUT_SELECTED_ALLOWED']->value&&'0'==$_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['emailoptout']&&'yes'==$_smarty_tpl->tpl_vars['SINGLE_RECORD']->value&&'1'!=$_smarty_tpl->tpl_vars['IS_INPUT_SELECTED_DEFINED']->value){?><?php $_smarty_tpl->tpl_vars['IS_INPUT_SELECTED'] = new Smarty_variable('selected', null, 0);?><?php $_smarty_tpl->tpl_vars['IS_INPUT_SELECTED_DEFINED'] = new Smarty_variable('1', null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['IS_INPUT_SELECTED'] = new Smarty_variable('', null, 0);?><?php }?><option value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['crmid'];?>
|<?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['fieldname'];?>
|<?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['module'];?>
" <?php echo $_smarty_tpl->tpl_vars['IS_INPUT_SELECTED']->value;?>
><?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['label'];?>
<?php if ($_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['value']!=''&&$_smarty_tpl->tpl_vars['SINGLE_RECORD']->value=="yes"){?>: <?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['value'];?>
<?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['EMAIL_FIELD_NAME']->value!=''){?>(<?php echo $_smarty_tpl->tpl_vars['EMAIL_FIELD_NAME']->value;?>
)<?php }?><?php }?> <?php if ($_smarty_tpl->tpl_vars['EMAIL_FIELD_DATA']->value['emailoptout']=="1"&&$_smarty_tpl->tpl_vars['SINGLE_RECORD']->value=="yes"){?>&nbsp;(<?php echo vtranslate('Email Opt Out',$_smarty_tpl->tpl_vars['MODULE']->value);?>
)<?php }?></option><?php } ?></optgroup><?php } ?>
<?php }} ?>

View File

@@ -0,0 +1,105 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:35:31
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Statistic.tpl" */ ?>
<?php /*%%SmartyHeaderCode:26445787568da60f3e13b20-85630667%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'92cfed4d6eba8d6e75ed60a227ea5e4073e4b2af' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Statistic.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '26445787568da60f3e13b20-85630667',
'function' =>
array (
),
'variables' =>
array (
'workflowData' => 0,
'WorkflowObjectHTML' => 0,
'html' => 0,
'workflowID' => 0,
'maxConnections' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da60f3e223f',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da60f3e223f')) {function content_68da60f3e223f($_smarty_tpl) {?><link rel="stylesheet" href="<?php echo @PATH_CONTEXTMENU;?>
/src/jquery.contextMenu.css" type="text/css" media="all" />
<link rel="stylesheet" type="text/css" href="<?php echo @PATH_JQPLOT;?>
/jquery.jqplot.min.css" />
<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="<?php echo @PATH_CKEDITOR;?>
/ckeditor.js"></script>
<script type="text/javascript">
CKEDITOR.disableAutoInline = true;
</script>
<div style="height:1024px;width:100%;position:relative;" id="mainWfContainer" class="noselect">
<div style="position:absolute;width:100%;" id="WFTaskContainer" class="statisticContainer">
<div id='rangeDisplayContainer' style=""></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 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>
<div style="position:absolute;width:100%;z-index:1000;" id='workflowObjectsContainer' class="noselect">
<?php echo $_smarty_tpl->tpl_vars['WorkflowObjectHTML']->value;?>
<?php echo $_smarty_tpl->tpl_vars['html']->value;?>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var workflow_data = <?php echo json_encode($_smarty_tpl->tpl_vars['workflowData']->value);?>
;
var workflow_id = <?php echo $_smarty_tpl->tpl_vars['workflowID']->value;?>
;
var maxConnections = <?php echo $_smarty_tpl->tpl_vars['maxConnections']->value;?>
;
</script>
<div id='modalWindow' style='display:none;'></div>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/jquery.jqplot.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.highlighter.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.cursor.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.dateAxisRenderer.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.logAxisRenderer.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.canvasTextRenderer.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
/plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
<?php }} ?>

View File

@@ -0,0 +1,61 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:40:28
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/dashboards/OpenTickets.tpl" */ ?>
<?php /*%%SmartyHeaderCode:198397501468e8b86c93f5b5-38003512%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'92e3d3bcda46f7eb72da5fa85fd8b9e61baa42a0' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/HelpDesk/dashboards/OpenTickets.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '198397501468e8b86c93f5b5-38003512',
'function' =>
array (
),
'variables' =>
array (
'MODULE_NAME' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8b86c98da2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8b86c98da2')) {function content_68e8b86c98da2($_smarty_tpl) {?>
<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(), 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="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(), 0);?>
</div>
</div>
<script type="text/javascript">
Vtiger_Pie_Widget_Js('Vtiger_OpenTickets_Widget_Js',{},{
/**
* Function which will give chart related Data
*/
generateData : function() {
var container = this.getContainer();
var jData = container.find('.widgetData').val();
var data = JSON.parse(jData);
var chartData = [];
for(var index in data) {
var row = data[index];
var rowData = [row.name, parseInt(row.count), row.id];
chartData.push(rowData);
}
return {'chartData':chartData};
}
});
</script><?php }} ?>

View File

@@ -0,0 +1,66 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:02
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailViewPreProcess.tpl" */ ?>
<?php /*%%SmartyHeaderCode:91779492468da79ea3e5b06-83221566%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'957e12852d3bbc6dc4563418a3ef771824b671b4' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailViewPreProcess.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '91779492468da79ea3e5b06-83221566',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'RECORD' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ea3f6ad',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ea3f6ad')) {function content_68da79ea3f6ad($_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="container-fluid main-container">
<div class="row">
<div id="modnavigator" class="module-nav detailViewModNavigator clearfix">
<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="detailViewContainer viewContent clearfix">
<div class="col-sm-12 col-xs-12 content-area">
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div>
<div class="detailview-content container-fluid">
<input id="recordId" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
"/>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleRelatedTabs.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<div class="details row" style="margin-top:10px;">
<?php }} ?>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,167 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:15
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:14536719868e3cbe78050f2-89929647%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'9bfb75194198e58fb7cb8c5a673a0ece558867f8' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ListViewContents.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '14536719868e3cbe78050f2-89929647',
'function' =>
array (
),
'variables' =>
array (
'CURRENT_USER_MODEL' => 0,
'LEFTPANELHIDE' => 0,
'VIEW' => 0,
'VIEWID' => 0,
'PAGING_MODEL' => 0,
'OPERATOR' => 0,
'LISTVIEW_COUNT' => 0,
'PAGE_NUMBER' => 0,
'LISTVIEW_ENTRIES_COUNT' => 0,
'SEARCH_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,
'VIEWNAME' => 0,
'SEARCH_MODE_RESULTS' => 0,
'MODULE' => 0,
'LISTVIEW_HEADERS' => 0,
'COLUMN_NAME' => 0,
'LISTVIEW_HEADER_KEY' => 0,
'NEXT_SORT_ORDER' => 0,
'FASORT_IMAGE' => 0,
'LISTVIEW_HEADER' => 0,
'MODULE_MODEL' => 0,
'DATA_TYPE' => 0,
'FIELD_INFO' => 0,
'PICKLIST_VALUES' => 0,
'PICKLIST_ARR' => 0,
'PICKLIST_KEY' => 0,
'SEARCH_VALUES' => 0,
'ICON_CLASS' => 0,
'PICKLIST_LABEL' => 0,
'LISTVIEW_ENTRIES' => 0,
'LISTVIEW_ENTRY' => 0,
'LISTVIEW_HEADERNAME' => 0,
'LISTVIEW_ENTRY_RAWVALUE' => 0,
'LISTVIEW_ENTRY_VALUE' => 0,
'COLSPAN_WIDTH' => 0,
'IS_MODULE_EDITABLE' => 0,
'LIST_VIEW_MODEL' => 0,
'SINGLE_MODULE' => 0,
'VERSION' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbe786bca',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbe786bca')) {function content_68e3cbe786bca($_smarty_tpl) {?>
<div class="col-sm-12 col-xs-12 "><?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><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="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="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="folder" value="<?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
" /><?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"><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;margin-left:6px;"><span class="input dropdown-toggle" title="<?php echo vtranslate('LBL_CLICK_HERE_TO_SELECT_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" data-toggle="dropdown"><input class="listViewEntriesMainCheckBox" type="checkbox"></span></div></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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY'] = new Smarty_Variable;
$_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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key;
?><th <?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?> nowrap="nowrap" <?php }?>><a href="#" class="listViewContentHeaderValues" data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
<?php }else{ ?>ASC<?php }?>" data-columnname="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value;?>
"><?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?><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 }?>&nbsp;<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value['name'];?>
<?php $_tmp1=ob_get_clean();?><?php echo vtranslate($_tmp1,$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;</a><?php if ($_smarty_tpl->tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value){?><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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY'] = new Smarty_Variable;
$_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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key;
?><th><?php $_smarty_tpl->tpl_vars["DATA_TYPE"] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value['type'], null, 0);?><?php if ($_smarty_tpl->tpl_vars['DATA_TYPE']->value=='text'){?><div class="row-fluid"><input type="text" name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value;?>
" class="listSearchContributor inputElement" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['searchValue'];?>
" data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
'/></div><?php }elseif($_smarty_tpl->tpl_vars['DATA_TYPE']->value=='picklist'||$_smarty_tpl->tpl_vars['DATA_TYPE']->value=='user'){?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value['picklistValues'], null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['searchValue']), null, 0);?><div class="row-fluid"><select class="select2 listSearchContributor report-type-select" name="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value;?>
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
'><?php $_smarty_tpl->tpl_vars['PICKLIST_ARR'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_ARR']->_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_ARR']->key => $_smarty_tpl->tpl_vars['PICKLIST_ARR']->value){
$_smarty_tpl->tpl_vars['PICKLIST_ARR']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value==='reporttype'){?><?php $_smarty_tpl->tpl_vars["PICKLIST_LABEL"] = new Smarty_variable(vtranslate($_smarty_tpl->tpl_vars['PICKLIST_ARR']->value['1'],$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars["PICKLIST_LABEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['PICKLIST_ARR']->value['1'], null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars["PICKLIST_KEY"] = new Smarty_variable($_smarty_tpl->tpl_vars['PICKLIST_ARR']->value['0'], null, 0);?><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 if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value=='reporttype'){?>class='<?php echo $_smarty_tpl->tpl_vars['ICON_CLASS']->value;?>
'<?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value;?>
</option><?php } ?></select></div><?php }?><input type="hidden" class="operatorValue" value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value]['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']++;
?><tr class="listViewEntries" data-id='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get("reportid");?>
' data-recordUrl='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDetailViewUrl();?>
' id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_listView_row_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['listview']['index']+1;?>
"><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 $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY'] = new Smarty_Variable;
$_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;
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value = $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key;
?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER_KEY']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE'] = new Smarty_variable('', null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->rawData)){?><?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_KEY']->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_HEADERNAME']->value;?>
" title="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE']->value;?>
" data-rawvalue="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_RAWVALUE']->value;?>
" data-field-type=""><span class="fieldValue"><span class="value textOverflowEllipsis"><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='reportname'){?><a href="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getDetailViewUrl();?>
"><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value;?>
</a><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='tablabel'){?><?php echo Vtiger_Util_Helper::tosafeHTML(decode_html(vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value,$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value)));?>
<?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value=='foldername'){?><?php echo Vtiger_Util_Helper::tosafeHTML(vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value,$_smarty_tpl->tpl_vars['MODULE']->value));?>
<?php }else{ ?><?php echo decode_html($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY_VALUE']->value);?>
<?php }?></span></span></span></td><?php } ?></tr><?php } ?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?><tr class="emptyRecordsDiv"><?php ob_start();?><?php echo ITS4YouReports_Functions_Helper::count($_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value);?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['COLSPAN_WIDTH'] = new Smarty_variable($_tmp2+1, null, 0);?><td colspan="<?php echo $_smarty_tpl->tpl_vars['COLSPAN_WIDTH']->value;?>
"><div class="emptyRecordsDiv"><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_NO');?>
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo vtranslate('LBL_FOUND');?>
.<?php if ($_smarty_tpl->tpl_vars['IS_MODULE_EDITABLE']->value){?> <a 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></div></td></tr><?php }?></tbody></table></div><div id="scroller_wrapper" class="bottom-fixed-scroll"><div id="scroller" class="scroller-div"></div></div></div><br><div align="center" class="small" style="color: rgb(153, 153, 153);"><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php echo $_smarty_tpl->tpl_vars['VERSION']->value;?>
<?php echo vtranslate("COPYRIGHT",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div>
<?php }} ?>

View File

@@ -0,0 +1,145 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:38:44
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/FrontendWorkflowConfig.tpl" */ ?>
<?php /*%%SmartyHeaderCode:4487101868da61b4ecb6b5-75266519%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'9fc65b7fddd504d25f4e4d817774f0345518e592' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/FrontendWorkflowConfig.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '4487101868da61b4ecb6b5-75266519',
'function' =>
array (
),
'variables' =>
array (
'workflows' => 0,
'moduleName' => 0,
'workflowList' => 0,
'workflow' => 0,
'configWFs' => 0,
'linkArray' => 0,
'configurations' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da61b4ed8ef',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da61b4ed8ef')) {function content_68da61b4ed8ef($_smarty_tpl) {?><div class="container-fluid" id="moduleManagerContents">
<div class="editViewHeader">
<h4>
<div class="pull-right">
<select class="select2" id="addWorkflow" style="width:400px;" data-placeholder="<?php echo vtranslate('choose a Workflow','Settings:Workflow2');?>
">
<option value=""></option>
<?php $_smarty_tpl->tpl_vars['workflowList'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflowList']->_loop = false;
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['workflows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workflowList']->key => $_smarty_tpl->tpl_vars['workflowList']->value){
$_smarty_tpl->tpl_vars['workflowList']->_loop = true;
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['workflowList']->key;
?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
">
<?php $_smarty_tpl->tpl_vars['workflow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflow']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['workflowList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workflow']->key => $_smarty_tpl->tpl_vars['workflow']->value){
$_smarty_tpl->tpl_vars['workflow']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['workflow']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['workflow']->value['title'];?>
</option>
<?php } ?>
</optgroup>
<?php } ?>
</select>
<button type="submit" id="addWorkflowButton" class="btn btn-primary" style="margin-top:0;vertical-align:top;"><?php echo vtranslate('add Workflow','Settings:Workflow2');?>
</button>
</div>
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
</a> &raquo;
<?php echo vtranslate('EditView Workflow Configurations','Settings:Workflow2');?>
</h4>
</div>
<hr/>
<br>
<div class="listViewActionsDiv">
<div style="background-color:#ffffff;">
<?php $_smarty_tpl->tpl_vars['linkArray'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['linkArray']->_loop = false;
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['configWFs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['linkArray']->key => $_smarty_tpl->tpl_vars['linkArray']->value){
$_smarty_tpl->tpl_vars['linkArray']->_loop = true;
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['linkArray']->key;
?>
<div class="FrontendWorkflowBlock Toggleable Invisible" data-panelid="mod_<?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
">
<div style="font-size:16px;overflow:hidden;font-weight:bold;text-transform:uppercase;color:#0b3161;" class="ToggleHandler">
<i class="fa fa-chevron-right"></i>
<i class="fa fa-chevron-down"></i>
<b>&nbsp;<?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
</b>
</div>
<div class="ModuleFrontendWorkflows ToggleContent">
<?php $_smarty_tpl->tpl_vars['workflow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflow']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['linkArray']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workflow']->key => $_smarty_tpl->tpl_vars['workflow']->value){
$_smarty_tpl->tpl_vars['workflow']->_loop = true;
?>
<div class="WorkflowFrontendContainerIntern Toggleable Invisible"data-panelid="wf_<?php echo $_smarty_tpl->tpl_vars['workflow']->value['id'];?>
" >
<div class="WorkflowFrontainerHead ToggleHandler">
<span class="pull-right"><?php if ($_smarty_tpl->tpl_vars['workflow']->value['active']=='1'){?><?php echo vtranslate('LBL_ACTIVE','Settings:Workflow2');?>
<?php }else{ ?><?php echo vtranslate('LBL_INACTIVE','Settings:Workflow2');?>
<?php }?></span>
<i class="fa fa-chevron-right"></i>
<i class="fa fa-chevron-down"></i>
<strong><?php echo $_smarty_tpl->tpl_vars['workflow']->value['title'];?>
</strong>
</div>
<div class="WorkflowFrontendContentIntern ToggleContent" data-id="<?php echo $_smarty_tpl->tpl_vars['workflow']->value['id'];?>
" data-workflowid="<?php echo $_smarty_tpl->tpl_vars['workflow']->value['workflow_id'];?>
">
<table class="table">
<tr>
<th style="width:40%;max-width:300px;"><?php echo vtranslate('LBL_ACTIVE','Settings:Workflow2');?>
</th>
<td><input type="checkbox" class="ActivateToggle" <?php if ($_smarty_tpl->tpl_vars['workflow']->value['active']=='1'){?>checked="checked"<?php }?> name="active" value="1" /></td>
</tr>
<tr>
<th><?php echo vtranslate('LBL_CONFIG_EDITOR','Settings:Workflow2');?>
</th>
<td>
<button type="button" class="pull-right deleteConfig btn btn-danger"><?php echo vtranslate('LBL_REMOVE_RECORD','Settings:Workflow2');?>
</button>
<button type="button" class="editConfig btn btn-primary"><?php echo vtranslate('open Editor','Settings:Workflow2');?>
</button>
</td>
</tr>
</table>
</div>
</div>
</tr>
<?php } ?>
</table>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<script type="text/javascript">
var configurations = <?php echo json_encode($_smarty_tpl->tpl_vars['configurations']->value);?>
;
</script>
<?php }} ?>

View File

@@ -0,0 +1,61 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 19:57:06
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailPreviewPrint.tpl" */ ?>
<?php /*%%SmartyHeaderCode:168256812668d6c5e211a783-39391502%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a27ee8c301c5ffa8a533aba4a6366faa5c239707' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailPreviewPrint.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '168256812668d6c5e211a783-39391502',
'function' =>
array (
),
'variables' =>
array (
'RECORD' => 0,
'TO_EMAILS' => 0,
'TO_EMAIL' => 0,
'USER_MODEL' => 0,
'MODULE' => 0,
'FROM' => 0,
'TO' => 0,
'CC' => 0,
'BCC' => 0,
'ATTACHMENT_DETAILS' => 0,
'ATTACHMENT_DETAIL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68d6c5e216e22',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68d6c5e216e22')) {function content_68d6c5e216e22($_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';
?>
<!DOCTYPE><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body onLoad="javascript:window.print()" style="padding:3% 5%;"><?php $_smarty_tpl->tpl_vars["TO_EMAILS"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['RECORD']->value->get('saved_toid'),']',''), null, 0);?><?php $_smarty_tpl->tpl_vars["TO_EMAIL"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['TO_EMAILS']->value,'[',''), null, 0);?><?php $_smarty_tpl->tpl_vars["TO_EMAIL_VALUE"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['TO_EMAIL']->value,'&quot;',''), null, 0);?><span style="position:absolute;right:6%;top:3%;font-family:'Lucida Grande';font-size:15px"><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('first_name');?>
<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('last_name');?>
&lt;<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('email1');?>
&gt;</span><hr/><span style="font-family:'Lucida Grande';font-size:15px"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('subject');?>
</span><hr/><div><div style="width:100%;text-align: right;font-family:'Lucida Grande';font-size:15px"><span><?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['RECORD']->value->get('createdtime'));?>
</span></div></div><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_FROM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo $_smarty_tpl->tpl_vars['FROM']->value;?>
</span></div><div class="clear-both"></div></div><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_TO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;font-family:'Lucida Grande';font-size:15px"><?php $_smarty_tpl->tpl_vars['TO_EMAILS'] = new Smarty_variable(implode(",",$_smarty_tpl->tpl_vars['TO']->value), null, 0);?><?php echo $_smarty_tpl->tpl_vars['TO_EMAILS']->value;?>
</span></div><div class="clear-both"></div></div><?php if (!empty($_smarty_tpl->tpl_vars['CC']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_CC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php if (!empty($_smarty_tpl->tpl_vars['CC']->value)){?><?php echo $_smarty_tpl->tpl_vars['CC']->value;?>
<?php }?></span></div><div class="clear-both"></div></div><?php }?><?php if (!empty($_smarty_tpl->tpl_vars['BCC']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_BCC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php if (!empty($_smarty_tpl->tpl_vars['BCC']->value)){?><?php echo $_smarty_tpl->tpl_vars['BCC']->value;?>
<?php }?></span></div><div class="clear-both"></div></div><?php }?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('subject');?>
</span></div><div class="clear-both"></div></div><?php $_smarty_tpl->tpl_vars["ATTACHMENT_DETAILS"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getAttachmentDetails(), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['ATTACHMENT_DETAILS']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_ATTACHMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ATTACHMENT_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->key => $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->value){
$_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->_loop = true;
?><a href="javascript:void(0)"><?php echo $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->value['attachment'];?>
</a>&nbsp;&nbsp;<?php } ?></span></div><div class="clear-both"></div></div><?php }?><div><div style="width:90%;text-align: left;margin-left:7%;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo decode_html($_smarty_tpl->tpl_vars['RECORD']->value->get('description'));?>
</span></div><div class="clear-both"></div></div></body></html>
<?php }} ?>

View File

@@ -0,0 +1,40 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:52:41
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/uitypes/BooleanFieldSearchView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:125490283068e8bb4983fcb0-74178490%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a5b4a067d043252c80e1f4654cce7f733890436e' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/uitypes/BooleanFieldSearchView.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '125490283068e8bb4983fcb0-74178490',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'SEARCH_INFO' => 0,
'FIELD_INFO' => 0,
'CHECKED_VALUE' => 0,
'SEARCH_VALUES' => 0,
'MODULE' => 0,
'UNCHECKED_VALUE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb4984f84',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb4984f84')) {function content_68e8bb4984f84($_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['SEARCH_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue'], null, 0);?><?php $_smarty_tpl->tpl_vars['CHECKED_VALUE'] = new Smarty_variable("1", null, 0);?><?php $_smarty_tpl->tpl_vars['UNCHECKED_VALUE'] = new Smarty_variable("0", null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')=='is_admin'){?><?php $_smarty_tpl->tpl_vars['CHECKED_VALUE'] = new Smarty_variable("on", null, 0);?><?php $_smarty_tpl->tpl_vars['UNCHECKED_VALUE'] = new Smarty_variable("off", null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')=='is_owner'){?><?php $_smarty_tpl->tpl_vars['UNCHECKED_VALUE'] = new Smarty_variable(' ', null, 0);?><?php }?><div class=""><select class="select2 listSearchContributor" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
" style="width:90px;" data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
'><option value=""><?php echo vtranslate('LBL_SELECT_OPTION','Vtiger');?>
</option><option value="<?php echo $_smarty_tpl->tpl_vars['CHECKED_VALUE']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['SEARCH_VALUES']->value==$_smarty_tpl->tpl_vars['CHECKED_VALUE']->value){?> selected<?php }?>><?php echo vtranslate('LBL_YES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="<?php echo $_smarty_tpl->tpl_vars['UNCHECKED_VALUE']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['SEARCH_VALUES']->value==$_smarty_tpl->tpl_vars['UNCHECKED_VALUE']->value){?> selected<?php }?>><?php echo vtranslate('LBL_NO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></div><?php }} ?>

View File

@@ -0,0 +1,55 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:52:41
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/uitypes/UserRoleFieldSearchView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:20475694568e8bb4982ac87-83786287%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b055461d05fbdde5760bad0f204f63f6602da9ea' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/uitypes/UserRoleFieldSearchView.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '20475694568e8bb4982ac87-83786287',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'SEARCH_INFO' => 0,
'FIELD_INFO' => 0,
'ROLES' => 0,
'ROLE_NAME' => 0,
'SEARCH_VALUES' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb4983613',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb4983613')) {function content_68e8bb4983613($_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['FIELD_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?>
<?php $_smarty_tpl->tpl_vars['ROLES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getAllRoles(), 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['ROLE_ID'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ROLE_ID']->_loop = false;
$_smarty_tpl->tpl_vars['ROLE_NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ROLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ROLE_ID']->key => $_smarty_tpl->tpl_vars['ROLE_ID']->value){
$_smarty_tpl->tpl_vars['ROLE_ID']->_loop = true;
$_smarty_tpl->tpl_vars['ROLE_NAME']->value = $_smarty_tpl->tpl_vars['ROLE_ID']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['ROLE_NAME']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['ROLE_NAME']->value,$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value)&&($_smarty_tpl->tpl_vars['ROLE_NAME']->value!='')){?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['ROLE_NAME']->value;?>
</option>
<?php } ?>
</select>
</div>
<?php }} ?>

View File

@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-24 18:59:10
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 14:42:48
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/DocumentsRelatedList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:109509991068ce6672f10e45-78553514%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'b1a549b60e07f19d4dfd85e0073cc6c1c2505453' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Documents/DocumentsRelatedList.tpl',
1 => 1758729325,
1 => 1759066364,
2 => 'file',
),
),

View File

@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-24 18:58:59
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-28 18:13:55
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DocumentsSummaryWidgetContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:102493676468cd70ad8db9d7-52112514%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'b260de7573cb653d0ac69014c32dd12d4d2fc147' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DocumentsSummaryWidgetContents.tpl',
1 => 1758729325,
1 => 1759066363,
2 => 'file',
),
),

View File

@@ -0,0 +1,202 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:57
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportScheduler.tpl" */ ?>
<?php /*%%SmartyHeaderCode:54915047768e3cc11c178c8-60918719%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b511bd6addca92658833b0ec466db1c9fee5e9dc' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportScheduler.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '54915047768e3cc11c178c8-60918719',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'IS_SCHEDULED' => 0,
'generate_subject' => 0,
'generate_text' => 0,
'schtypeid' => 0,
'MONTH_STRINGS' => 0,
'mid' => 0,
'schmonth' => 0,
'month' => 0,
'schday' => 0,
'WEEKDAY_STRINGS' => 0,
'wid' => 0,
'schweek' => 0,
'week' => 0,
'schtime' => 0,
'REPORT_FORMAT_PDF' => 0,
'REPORT_FORMAT_XLS' => 0,
'REPORT_FORMAT_CSV' => 0,
'CSV_SEPARATOR' => 0,
'CSV_PATH' => 0,
'CSV_NAME' => 0,
'CURRENT_USER' => 0,
'SCHEDULED_REPORT' => 0,
'recipients' => 0,
'ALL_ACTIVEUSER_LIST' => 0,
'USER_ID' => 0,
'USERID' => 0,
'recipientsUsers' => 0,
'CLEAR_USERID' => 0,
'USER_NAME' => 0,
'ALL_ACTIVEGROUP_LIST' => 0,
'GROUP_ID' => 0,
'GROUPID' => 0,
'recipientsGroups' => 0,
'CLEAR_GROUP_ID' => 0,
'GROUP_NAME' => 0,
'ROLES' => 0,
'ROLE_ID' => 0,
'ROLEID' => 0,
'recipientsRoles' => 0,
'CLEAR_ROLEID' => 0,
'ROLE_OBJ' => 0,
'RS_ROLE_ID' => 0,
'RS_ROLEID' => 0,
'recipientsRS' => 0,
'CLEAR_RS_ROLE_ID' => 0,
'RS_ROLE_OBJ' => 0,
'generate_other' => 0,
'schedule_all_records' => 0,
'schedule_skip_empty' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc11c915a',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc11c915a')) {function content_68e3cc11c915a($_smarty_tpl) {?>
<div style="border:1px solid #ccc;padding:4%;"><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('Active',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input type="checkbox" class="listViewEntriesMainCheckBox" name="isReportScheduled" id="isReportScheduled" <?php if ($_smarty_tpl->tpl_vars['IS_SCHEDULED']->value=='1'){?> checked <?php }?>></div></div></div><div id="isReportScheduledArea" class="<?php if ($_smarty_tpl->tpl_vars['IS_SCHEDULED']->value!='1'){?>hide<?php }?>" ><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_GENERATE_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input type="text" class="inputElement" data-rule-required="false" name="generate_subject" id="generate_subject"placeholder="<?php echo vtranslate('LBL_GENERATE_PLACEHOLDER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" value="<?php echo $_smarty_tpl->tpl_vars['generate_subject']->value;?>
"/></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_GENERATE_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4 fieldBlockContainer"><textarea rows="3" class="inputElement textAreaElement col-lg-12" id="generate_text" name="generate_text"><?php echo $_smarty_tpl->tpl_vars['generate_text']->value;?>
</textarea></div></div></div><div class="row"><div class="form-group"><input type="hidden" name="scheduledIntervalString" value=""/><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_FREQUENCY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4" id="scheduledTypeSpan"><select class="select2 col-lg-12 inputElement" name="scheduledType" id="scheduledType" data-rule-required="false" onchange="javascript: setScheduleOptions();"><!-- Hourly doesn't make sense on OD as the cron job is running once in 2 hours --><option id="schtype_2" value="2" <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==2){?>selected<?php }?>><?php echo vtranslate('Daily',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option id="schtype_3" value="3" <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==3){?>selected<?php }?>><?php echo vtranslate('Weekly',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option id="schtype_4" value="4" <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==4){?>selected<?php }?>><?php echo vtranslate('BiWeekly',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option id="schtype_5" value="5" <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==5){?>selected<?php }?>><?php echo vtranslate('Monthly',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option id="schtype_6" value="6" <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==6){?>selected<?php }?>><?php echo vtranslate('Annually',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></div></div></div><!-- months --><div class="row" id="scheduledMonthSpan" style="display: <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==6){?>block<?php }else{ ?>none<?php }?>;"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_EMAIL_MONTH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="scheduledMonth" id="scheduledMonth" data-rule-required="false"><?php $_smarty_tpl->tpl_vars["MONTH_STRINGS"] = new Smarty_variable(vtranslate('MONTH_STRINGS',$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['month'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['month']->_loop = false;
$_smarty_tpl->tpl_vars['mid'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['MONTH_STRINGS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['month']->key => $_smarty_tpl->tpl_vars['month']->value){
$_smarty_tpl->tpl_vars['month']->_loop = true;
$_smarty_tpl->tpl_vars['mid']->value = $_smarty_tpl->tpl_vars['month']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['mid']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['schmonth']->value==$_smarty_tpl->tpl_vars['mid']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['month']->value;?>
</option><?php } ?></select></div></div></div><!-- day of month (monthly, annually) --><div class="row" id="scheduledDOMSpan" style="display: <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==5||$_smarty_tpl->tpl_vars['schtypeid']->value==6){?>block<?php }else{ ?>none<?php }?>;"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_EMAIL_DAY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="scheduledDOM" id="scheduledDOM"><?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['day'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['day']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['name'] = 'day';
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] = is_array($_loop=32) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] = 1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] < 0)
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start']);
else
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show']) {
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['max']);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] == 0)
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show'] = false;
} else
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['day']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total']);
?><option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['iteration'];?>
" <?php if ($_smarty_tpl->tpl_vars['schday']->value==$_smarty_tpl->getVariable('smarty')->value['section']['day']['iteration']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['iteration'];?>
</option><?php endfor; endif; ?></select></div></div></div><!-- day of week (weekly/bi-weekly) --><div class="row" id="scheduledDOWSpan" style="display: <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value==3||$_smarty_tpl->tpl_vars['schtypeid']->value==4){?>block<?php }else{ ?>none<?php }?>;"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_EMAIL_DOW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><select class="select2 col-lg-12 inputElement" name="scheduledDOW" id="scheduledDOW"><?php $_smarty_tpl->tpl_vars["WEEKDAY_STRINGS"] = new Smarty_variable(vtranslate('WEEKDAY_STRINGS',$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['week'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['week']->_loop = false;
$_smarty_tpl->tpl_vars['wid'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['WEEKDAY_STRINGS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['week']->key => $_smarty_tpl->tpl_vars['week']->value){
$_smarty_tpl->tpl_vars['week']->_loop = true;
$_smarty_tpl->tpl_vars['wid']->value = $_smarty_tpl->tpl_vars['week']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['wid']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['schweek']->value==$_smarty_tpl->tpl_vars['wid']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['week']->value;?>
</option><?php } ?></select></div></div></div><!-- time (daily, weekly, bi-weekly, monthly, annully) --><div class="row" id="scheduledTimeSpan" style="display: <?php if ($_smarty_tpl->tpl_vars['schtypeid']->value>0){?>block<?php }else{ ?>none<?php }?>;"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_EMAIL_TIME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input class="inputElement" type="text" name="scheduledTime" id="scheduledTime" value="<?php echo $_smarty_tpl->tpl_vars['schtime']->value;?>
" size="5"maxlength="5"/>&nbsp;<?php echo vtranslate('LBL_TIME_FORMAT_MSG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_REPORT_FORMAT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="scheduledReportFormat_pdf"id="scheduledReportFormat_pdf" <?php if ($_smarty_tpl->tpl_vars['REPORT_FORMAT_PDF']->value=='true'){?> checked <?php }?>type="checkbox"/>&nbsp;<?php echo vtranslate('LBL_REPORT_FORMAT_PDF',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="scheduledReportFormat_xls"id="scheduledReportFormat_xls" <?php if ($_smarty_tpl->tpl_vars['REPORT_FORMAT_XLS']->value=='true'){?> checked <?php }?>type="checkbox"/>&nbsp;<?php echo vtranslate('LBL_REPORT_FORMAT_EXCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="scheduledReportFormat_csv"id="scheduledReportFormat_csv" <?php if ($_smarty_tpl->tpl_vars['REPORT_FORMAT_CSV']->value=='true'){?> checked <?php }?>type="checkbox"/>&nbsp;<?php echo vtranslate('LBL_REPORT_FORMAT_CSV',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label>&nbsp;<input type="text" class="inputElement" data-rule-required="false" name="csv_separator" id="csv_separator"placeholder=";" value="<?php echo $_smarty_tpl->tpl_vars['CSV_SEPARATOR']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['REPORT_FORMAT_CSV']->value!='true'){?>disabled<?php }?> style="width:10%;" /></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_REPORT_CSV_PATH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input type="text" class="inputElement" data-rule-required="false" name="csv_path" id="csv_path"placeholder="... /test/ITS4YouReports/" value="<?php echo $_smarty_tpl->tpl_vars['CSV_PATH']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['REPORT_FORMAT_CSV']->value!='true'){?>disabled<?php }?> style="width:65%;" /><input type="text" class="inputElement" data-rule-required="false" name="csv_name" id="csv_name"placeholder="... fileName.csv" value="<?php echo $_smarty_tpl->tpl_vars['CSV_NAME']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['REPORT_FORMAT_CSV']->value!='true'){?>disabled<?php }?> style="width:35%;" /></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_USERS_AVAILABEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<a data-original-title="" href="#" class="editHelpInfo" data-placement="top" data-text="<?php echo vtranslate('LBL_USERS_AVAILABEL_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"data-template="<div class=&quot;tooltip&quot; role=&quot;tooltip&quot;><div class=&quot;tooltip-arrow&quot;></div><div class=&quot;tooltip-inner&quot; style=&quot;text-align: left&quot;></div></div>"><iclass="icon-info-sign alignMiddle"></i>&nbsp;</a></label><input type="hidden" name="selectedRecipientsString_v7" /><div class='col-lg-4'><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER']->value->getAccessibleUsers(), null, 0);?><?php $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER']->value->getAccessibleGroups(), null, 0);?><?php $_smarty_tpl->tpl_vars['recipients'] = new Smarty_variable($_smarty_tpl->tpl_vars['SCHEDULED_REPORT']->value->scheduledRecipients, null, 0);?><?php $_smarty_tpl->tpl_vars['recipientsUsers'] = new Smarty_variable($_smarty_tpl->tpl_vars['recipients']->value['users'], null, 0);?><?php $_smarty_tpl->tpl_vars['recipientsGroups'] = new Smarty_variable($_smarty_tpl->tpl_vars['recipients']->value['groups'], null, 0);?><?php $_smarty_tpl->tpl_vars['recipientsRoles'] = new Smarty_variable($_smarty_tpl->tpl_vars['recipients']->value['roles'], null, 0);?><?php $_smarty_tpl->tpl_vars['recipientsRS'] = new Smarty_variable($_smarty_tpl->tpl_vars['recipients']->value['rs'], null, 0);?><select multiple class="select2 col-lg-12 inputElement" id='selectedRecipients' name='selectedRecipients' data-rule-required="true"><optgroup label="<?php echo vtranslate('LBL_USERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?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['ALL_ACTIVEUSER_LIST']->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;
?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['USER_ID']->value;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLEAR_USERID'] = new Smarty_variable($_tmp1, null, 0);?><?php $_smarty_tpl->tpl_vars['USERID'] = new Smarty_variable("users::".($_smarty_tpl->tpl_vars['USER_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['USERID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipientsUsers']->value)&&in_array($_smarty_tpl->tpl_vars['CLEAR_USERID']->value,$_smarty_tpl->tpl_vars['recipientsUsers']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
'> <?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_GROUPS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['GROUP_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['GROUP_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['GROUP_NAME']->key => $_smarty_tpl->tpl_vars['GROUP_NAME']->value){
$_smarty_tpl->tpl_vars['GROUP_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['GROUP_ID']->value = $_smarty_tpl->tpl_vars['GROUP_NAME']->key;
?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLEAR_GROUP_ID'] = new Smarty_variable($_tmp2, null, 0);?><?php $_smarty_tpl->tpl_vars['GROUPID'] = new Smarty_variable("groups::".($_smarty_tpl->tpl_vars['GROUP_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['GROUPID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipientsGroups']->value)&&in_array($_smarty_tpl->tpl_vars['CLEAR_GROUP_ID']->value,$_smarty_tpl->tpl_vars['recipientsGroups']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['GROUP_NAME']->value;?>
'><?php echo $_smarty_tpl->tpl_vars['GROUP_NAME']->value;?>
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_ROLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['ROLE_OBJ'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ROLE_OBJ']->_loop = false;
$_smarty_tpl->tpl_vars['ROLE_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ROLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ROLE_OBJ']->key => $_smarty_tpl->tpl_vars['ROLE_OBJ']->value){
$_smarty_tpl->tpl_vars['ROLE_OBJ']->_loop = true;
$_smarty_tpl->tpl_vars['ROLE_ID']->value = $_smarty_tpl->tpl_vars['ROLE_OBJ']->key;
?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['ROLE_ID']->value;?>
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLEAR_ROLEID'] = new Smarty_variable($_tmp3, null, 0);?><?php $_smarty_tpl->tpl_vars['ROLEID'] = new Smarty_variable("roles::".($_smarty_tpl->tpl_vars['ROLE_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['ROLEID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipientsRoles']->value)&&in_array($_smarty_tpl->tpl_vars['CLEAR_ROLEID']->value,$_smarty_tpl->tpl_vars['recipientsRoles']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['ROLE_OBJ']->value->get('rolename');?>
'><?php echo $_smarty_tpl->tpl_vars['ROLE_OBJ']->value->get('rolename');?>
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_ROLES_SUBORDINATES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['RS_ROLE_OBJ'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->_loop = false;
$_smarty_tpl->tpl_vars['RS_ROLE_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ROLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->key => $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->value){
$_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->_loop = true;
$_smarty_tpl->tpl_vars['RS_ROLE_ID']->value = $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->key;
?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['RS_ROLE_ID']->value;?>
<?php $_tmp4=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CLEAR_RS_ROLE_ID'] = new Smarty_variable($_tmp4, null, 0);?><?php $_smarty_tpl->tpl_vars['RS_ROLEID'] = new Smarty_variable("rs::".($_smarty_tpl->tpl_vars['RS_ROLE_ID']->value), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['RS_ROLEID']->value;?>
" <?php if (is_array($_smarty_tpl->tpl_vars['recipientsRS']->value)&&in_array($_smarty_tpl->tpl_vars['CLEAR_RS_ROLE_ID']->value,$_smarty_tpl->tpl_vars['recipientsRS']->value)){?> selected <?php }?>data-picklistvalue='<?php echo $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->value->get('rolename');?>
'><?php echo $_smarty_tpl->tpl_vars['RS_ROLE_OBJ']->value->get('rolename');?>
</option><?php } ?></optgroup></select></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft">&nbsp;</label><div class="col-lg-4"><input type="text" class="inputElement" data-rule-required="false" name="generate_other" id="generate_other"placeholder="<?php echo vtranslate('LBL_GENERATE_OTHER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" value="<?php echo $_smarty_tpl->tpl_vars['generate_other']->value;?>
"/></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_GENERATE_FOR',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<a data-original-title="" href="#" class="editHelpInfo" data-placement="top" data-text='<?php echo vtranslate("LBL_GENERATE_FOR_INFO",$_smarty_tpl->tpl_vars['MODULE']->value);?>
'data-template="<div class=&quot;tooltip&quot; role=&quot;tooltip&quot;><div class=&quot;tooltip-arrow&quot;></div><div class=&quot;tooltip-inner&quot; style=&quot;text-align: left&quot;></div></div>"><iclass="icon-info-sign alignMiddle"></i>&nbsp;</a></label><div class="col-lg-4"><input type="hidden" name="selectedGenerateForString" id="selectedGenerateForString" value=""/><div id="generate_for_div"><?php echo $_smarty_tpl->getSubTemplate ("modules/ITS4YouReports/generateFor.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="schedule_all_records"id="schedule_all_records" <?php if ($_smarty_tpl->tpl_vars['schedule_all_records']->value=='1'){?> checked <?php }?>type="checkbox"/></label></div></div></div><div class="row"><div class="form-group"><label class="col-lg-2 control-label textAlignLeft"><?php echo vtranslate('LBL_SCHEDULE_SKIP_EMPTY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="schedule_skip_empty"id="schedule_skip_empty" <?php if ($_smarty_tpl->tpl_vars['schedule_skip_empty']->value=='1'){?> checked <?php }?>type="checkbox"/></label></div></div></div></div></div>
<?php }} ?>

View File

@@ -0,0 +1,74 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:21:56
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListViewPreProcess.tpl" */ ?>
<?php /*%%SmartyHeaderCode:198725053168da79e42af2e4-66608419%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b5424c75c4eb874c1712879257537b04f8917700' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListViewPreProcess.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '198725053168da79e42af2e4-66608419',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'LEFTPANELHIDE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79e42beaf',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79e42beaf')) {function content_68da79e42beaf($_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("1", 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">
<div class="clearfix padding15px">
<?php if (!vtlib_isModuleActive('ITS4YouEmails')){?>
<br>
<div class="displayInlineBlock alert alert-danger"><?php echo vtranslate('LBL_INSTALL_ITS4YOUEMAIL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div>
<?php }?>
<?php if (!is_file('modules/ITS4YouLibrary/PHPMailer/src/PHPMailer.php')){?>
<br>
<div class="displayInlineBlock alert alert-danger"><?php echo vtranslate('LBL_INSTALL_PHPMAILER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div>
<?php }?>
</div>
<?php }} ?>

View File

@@ -0,0 +1,57 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Other.tpl" */ ?>
<?php /*%%SmartyHeaderCode:72672596968da79ed6de219-79264694%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b995dfc499572adb0b76afa55277aa2ea0ca7ded' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Other.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '72672596968da79ed6de219-79264694',
'function' =>
array (
),
'variables' =>
array (
'THEME_MODE' => 0,
'IS_LISTVIEW_CHECKED' => 0,
'MODULE' => 0,
'LISTVIEW_BLOCK_TPL' => 0,
'INVENTORYTERMSANDCONDITIONS' => 0,
'DATE_VARS' => 0,
'GENERAL_FIELDS' => 0,
'CUSTOM_FUNCTIONS' => 0,
'SIGNATURE_VARIABLES' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed6ef55',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed6ef55')) {function content_68da79ed6ef55($_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';
?>
<div class="tab-pane" id="pdfContentOther"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br/><div class="form-group" id="listview_block_tpl_row"><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><input type="checkbox" name="is_listview" id="isListViewTmpl" <?php if ($_smarty_tpl->tpl_vars['IS_LISTVIEW_CHECKED']->value=="yes"){?>checked="checked"<?php }?> onclick="EMAILMaker_EditJs.isLvTmplClicked();" title="<?php echo vtranslate('LBL_LISTVIEW_TEMPLATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/>&nbsp;<?php echo vtranslate('LBL_LISTVIEWBLOCK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="listviewblocktpl" id="listviewblocktpl" class="select2 form-control" <?php if ($_smarty_tpl->tpl_vars['IS_LISTVIEW_CHECKED']->value!="yes"){?>disabled<?php }?>><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['LISTVIEW_BLOCK_TPL']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" id="listviewblocktpl_butt" class="btn btn-success InsertIntoTemplate" data-type="listviewblocktpl" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" <?php if ($_smarty_tpl->tpl_vars['IS_LISTVIEW_CHECKED']->value!="yes"){?>disabled<?php }?>><i class="fa fa-usd"></i></button></div></div></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('TERMS_AND_CONDITIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="invterandcon" id="invterandcon" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['INVENTORYTERMSANDCONDITIONS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="invterandcon" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_CURRENT_DATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="dateval" id="dateval" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['DATE_VARS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="dateval" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_GENERAL_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="general_fields" id="general_fields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['GENERAL_FIELDS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="general_fields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('CUSTOM_FUNCTIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
: <select name="custom_function_type" id="custom_function_type" class="select2"><option value="before"><?php echo vtranslate('LBL_BEFORE','EMAILMaker');?>
</option><option value="after"><?php echo vtranslate('LBL_AFTER','EMAILMaker');?>
</option></select></label><div class="controls col-sm-9"><div class="input-group"><select name="customfunction" id="customfunction" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['CUSTOM_FUNCTIONS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="customfunction" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><?php if (!empty($_smarty_tpl->tpl_vars['SIGNATURE_VARIABLES']->value)){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('SIGNATURE_VARIABLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="customfunction" id="signature_variables" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SIGNATURE_VARIABLES']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="signature_variables" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-usd"></i></button></div></div></div></div><?php }?></div></div></div><?php }} ?>

View File

@@ -0,0 +1,54 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:02
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailDisplayConditions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:202171903068da79ea5078d3-41174789%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'ba2eff85dffbb7253d64bf8bf56321ce60be9650' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailDisplayConditions.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '202171903068da79ea5078d3-41174789',
'function' =>
array (
),
'variables' =>
array (
'EMAILMAKER_RECORD_MODEL' => 0,
'DISPLAY_CONDITION' => 0,
'ALL_CONDITIONS' => 0,
'ANY_CONDITIONS' => 0,
'MODULE' => 0,
'ALL_CONDITION' => 0,
'ANY_CONDITION' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ea51c4b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ea51c4b')) {function content_68da79ea51c4b($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['DISPLAY_CONDITION'] = new Smarty_variable($_smarty_tpl->tpl_vars['EMAILMAKER_RECORD_MODEL']->value->getConditonDisplayValue(), null, 0);?><?php $_smarty_tpl->tpl_vars['ALL_CONDITIONS'] = new Smarty_variable($_smarty_tpl->tpl_vars['DISPLAY_CONDITION']->value['All'], null, 0);?><?php $_smarty_tpl->tpl_vars['ANY_CONDITIONS'] = new Smarty_variable($_smarty_tpl->tpl_vars['DISPLAY_CONDITION']->value['Any'], null, 0);?><?php if (count($_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value)=="0"&&count($_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value)=="0"){?><?php echo vtranslate('LBL_NO_DISPLAY_CONDITIONS_DEFINED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['DISPLAY_CONDITION']->value['displayed']=="0"){?><?php echo vtranslate('LBL_DISPLAY_CONDITIONS_YES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?><?php echo vtranslate('LBL_DISPLAY_CONDITIONS_NO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?>:<br><br><span><strong><?php echo vtranslate('All');?>
&nbsp;:&nbsp;&nbsp;&nbsp;</strong></span><?php if (is_array($_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value)&&!empty($_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value)){?><?php $_smarty_tpl->tpl_vars['ALL_CONDITION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ALL_CONDITION']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['allCounter']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['ALL_CONDITION']->key => $_smarty_tpl->tpl_vars['ALL_CONDITION']->value){
$_smarty_tpl->tpl_vars['ALL_CONDITION']->_loop = true;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['allCounter']['iteration']++;
?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['allCounter']['iteration']!=1){?><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><?php }?><span><?php echo $_smarty_tpl->tpl_vars['ALL_CONDITION']->value;?>
</span><br><?php } ?><?php }else{ ?><?php echo vtranslate('LBL_NA');?>
<?php }?><br><span><strong><?php echo vtranslate('Any');?>
&nbsp;:&nbsp;</strong></span><?php if (is_array($_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value)&&!empty($_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value)){?><?php $_smarty_tpl->tpl_vars['ANY_CONDITION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ANY_CONDITION']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['anyCounter']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['ANY_CONDITION']->key => $_smarty_tpl->tpl_vars['ANY_CONDITION']->value){
$_smarty_tpl->tpl_vars['ANY_CONDITION']->_loop = true;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['anyCounter']['iteration']++;
?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['anyCounter']['iteration']!=1){?><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><?php }?><span><?php echo $_smarty_tpl->tpl_vars['ANY_CONDITION']->value;?>
</span><br><?php } ?><?php }else{ ?><?php echo vtranslate('LBL_NA');?>
<?php }?><?php }?><?php }} ?>

View File

@@ -0,0 +1,79 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/BreadCrumbs.tpl" */ ?>
<?php /*%%SmartyHeaderCode:71209969668e3cc12a49797-33496012%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'bb750af653476afa2629125db9b9ecc1d5e47e46' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/BreadCrumbs.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '71209969668e3cc12a49797-33496012',
'function' =>
array (
),
'variables' =>
array (
'BREADCRUMB_LABELS' => 0,
'INDEX' => 0,
'FIRSTBREADCRUMB' => 0,
'ADDTIONALCLASS' => 0,
'ACTIVESTEP' => 0,
'CRUMBID' => 0,
'ZINDEX' => 0,
'STEPTEXT' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc12a577f',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc12a577f')) {function content_68e3cc12a577f($_smarty_tpl) {?>
<div id="reportTabs" class="breadcrumb">
<ul class="crumbs">
<?php $_smarty_tpl->tpl_vars['ZINDEX'] = new Smarty_variable(11, null, 0);?>
<?php $_smarty_tpl->tpl_vars['STEPTEXT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['STEPTEXT']->_loop = false;
$_smarty_tpl->tpl_vars['CRUMBID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['BREADCRUMB_LABELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['STEPTEXT']->total= $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['STEPTEXT']->iteration=0;
$_smarty_tpl->tpl_vars['STEPTEXT']->index=-1;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['index']=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['STEPTEXT']->key => $_smarty_tpl->tpl_vars['STEPTEXT']->value){
$_smarty_tpl->tpl_vars['STEPTEXT']->_loop = true;
$_smarty_tpl->tpl_vars['CRUMBID']->value = $_smarty_tpl->tpl_vars['STEPTEXT']->key;
$_smarty_tpl->tpl_vars['STEPTEXT']->iteration++;
$_smarty_tpl->tpl_vars['STEPTEXT']->index++;
$_smarty_tpl->tpl_vars['STEPTEXT']->first = $_smarty_tpl->tpl_vars['STEPTEXT']->index === 0;
$_smarty_tpl->tpl_vars['STEPTEXT']->last = $_smarty_tpl->tpl_vars['STEPTEXT']->iteration === $_smarty_tpl->tpl_vars['STEPTEXT']->total;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['first'] = $_smarty_tpl->tpl_vars['STEPTEXT']->first;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['index']++;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['last'] = $_smarty_tpl->tpl_vars['STEPTEXT']->last;
?>
<?php $_smarty_tpl->tpl_vars['INDEX'] = new Smarty_variable($_smarty_tpl->getVariable('smarty')->value['foreach']['breadcrumbLabels']['index'], null, 0);?>
<?php $_smarty_tpl->tpl_vars['INDEX'] = new Smarty_variable($_smarty_tpl->tpl_vars['INDEX']->value+1, null, 0);?>
<li class="step <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['breadcrumbLabels']['first']){?> first <?php echo $_smarty_tpl->tpl_vars['FIRSTBREADCRUMB']->value;?>
<?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['ADDTIONALCLASS']->value;?>
<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['breadcrumbLabels']['last']){?> last <?php }?> <?php if ($_smarty_tpl->tpl_vars['ACTIVESTEP']->value==$_smarty_tpl->tpl_vars['INDEX']->value){?>active<?php }?>"
id="rtype<?php echo $_smarty_tpl->tpl_vars['CRUMBID']->value;?>
" data-value="<?php echo $_smarty_tpl->tpl_vars['INDEX']->value;?>
" style="z-index:<?php echo $_smarty_tpl->tpl_vars['ZINDEX']->value;?>
;width: 14em;">
<a href="#" data-step="<?php echo $_smarty_tpl->tpl_vars['CRUMBID']->value;?>
">
<span class="stepNum"><?php echo $_smarty_tpl->tpl_vars['INDEX']->value;?>
</span>
<span class="stepText" title="<?php echo vtranslate($_smarty_tpl->tpl_vars['STEPTEXT']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
" style="width:auto;"><?php echo vtranslate($_smarty_tpl->tpl_vars['STEPTEXT']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span>
</a>
</li>
<?php $_smarty_tpl->tpl_vars['ZINDEX'] = new Smarty_variable($_smarty_tpl->tpl_vars['ZINDEX']->value-1, null, 0);?>
<?php } ?>
</ul>
</div>
<?php }} ?>

View File

@@ -0,0 +1,56 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/partials/SidebarEssentials.tpl" */ ?>
<?php /*%%SmartyHeaderCode:213044670668e3cbd8520014-76708434%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'bed1a1c7f85af91bed96d6e430681010d61c990f' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/partials/SidebarEssentials.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '213044670668e3cbd8520014-76708434',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'FOLDERS' => 0,
'FOLDER' => 0,
'VIEWNAME' => 0,
'FOLDERID' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd853af5',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd853af5')) {function content_68e3cbd853af5($_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_FOLDERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h5><button id="createFilter" onclick='Reports_List_Js.triggerAddFolder("index.php?module=Reports&view=EditFolder");' class="btn btn-default pull-right sidebar-btn" title="<?php echo vtranslate('LBL_ADD_NEW_FOLDER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><div class="fa fa-plus" aria-hidden="true"></div></button></div><hr><div><input class="search-list" type="text" placeholder="<?php echo vtranslate('LBL_SEARCH_FOR_FOLDERS',$_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"><div class="list-group"><ul class="lists-menu"><li style="font-size:12px;" class="listViewFilter" ><a href="#" class='filterName' data-filter-id="All"><i class="fa fa-folder foldericon"></i>&nbsp;<?php echo vtranslate('LBL_ALL_REPORTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?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');}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["folderview"]['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['FOLDER']->key => $_smarty_tpl->tpl_vars['FOLDER']->value){
$_smarty_tpl->tpl_vars['FOLDER']->_loop = true;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["folderview"]['iteration']++;
?><li style="font-size:12px;" class="listViewFilter <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['folderview']['iteration']>5){?> filterHidden hide<?php }?>" ><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['FOLDER']->value->getName(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['VIEWNAME'] = new Smarty_variable($_tmp1, null, 0);?><a href="#" class='filterName' data-filter-id=<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getId();?>
><i class="fa fa-folder foldericon"></i>&nbsp;<?php ob_start();?><?php echo mb_strlen($_smarty_tpl->tpl_vars['VIEWNAME']->value)>50;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2){?><?php echo mb_substr($_smarty_tpl->tpl_vars['VIEWNAME']->value,0,45);?>
..<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['VIEWNAME']->value;?>
<?php }?></a><div class="pull-right"><?php $_smarty_tpl->tpl_vars["FOLDERID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FOLDER']->value->get('folderid'), null, 0);?><span class="js-popover-container"><span class="fa fa-angle-down" data-id="<?php echo $_smarty_tpl->tpl_vars['FOLDERID']->value;?>
" data-deletable="true" data-editable="true" rel="popover" data-toggle="popover" data-deleteurl="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getDeleteUrl();?>
" data-editurl="<?php echo $_smarty_tpl->tpl_vars['FOLDER']->value->getEditUrl();?>
" data-toggle="dropdown" aria-expanded="true"></span></span></div></li><?php } ?><li style="font-size:12px;" class="listViewFilter" ><a href="#" class='filterName' data-filter-id="shared"><i class="fa fa-folder foldericon"></i>&nbsp;<?php echo vtranslate('LBL_SHARED_REPORTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li></ul><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>&nbsp;<?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>&nbsp;<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li></ul></div><h5 class="toggleFilterSize" data-more-text="<?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
.." data-less-text="<?php echo vtranslate('LBL_LESS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
.."><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['folderview']['iteration']>5){?><?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..<?php }?></h5></div></div></div></div></div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,779 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:23
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/AdvanceFilter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:126288721068e3cbef6cd759-56633887%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c110b0c6441dffe278b3aba09f968d92c82c9291' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/AdvanceFilter.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '126288721068e3cbef6cd759-56633887',
'function' =>
array (
),
'variables' =>
array (
'current_mk_time' => 0,
'user_date_format' => 0,
'fld_date_options' => 0,
'COLUMNS_BLOCK_JSON' => 0,
'QF_COLUMNS_BLOCK_JSON' => 0,
'USER_DATE_FORMAT' => 0,
'MODULE' => 0,
'FOPTION' => 0,
'REL_FIELDS' => 0,
'JS_DATEFORMAT' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbef7126c',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbef7126c')) {function content_68e3cbef7126c($_smarty_tpl) {?>
<input type="hidden" name="current_mk_time" id="current_mk_time" value='<?php echo $_smarty_tpl->tpl_vars['current_mk_time']->value;?>
'/>
<input type="hidden" name="user_date_format" id="user_date_format" value='<?php echo $_smarty_tpl->tpl_vars['user_date_format']->value;?>
'/>
<input type="hidden" name="fld_date_options" id="fld_date_options" value='<?php echo $_smarty_tpl->tpl_vars['fld_date_options']->value;?>
'/>
<div class="hide" id='filter_columns' ><?php echo $_smarty_tpl->tpl_vars['COLUMNS_BLOCK_JSON']->value;?>
</div>
<div class="hide" id='quick_filter_columns' ><?php echo $_smarty_tpl->tpl_vars['QF_COLUMNS_BLOCK_JSON']->value;?>
</div>
<script>
let none_lang = "<?php echo vtranslate('LBL_NONE');?>
";
let its4youUserDateFormat = "<?php echo $_smarty_tpl->tpl_vars['USER_DATE_FORMAT']->value;?>
";
function addColumnConditionGlue(groupIndex, columnIndex) {
var columnConditionGlueElement = document.getElementById('columnconditionglue_' + columnIndex);
if (groupIndex != "0")
ctype = "f";
else
ctype = "g";
if (columnConditionGlueElement) {
columnConditionGlueElement.innerHTML = "<select name='" + ctype + "con" + columnIndex + "' id='" + ctype + "con" + columnIndex + "' class='select2 inputElement' data-value='value' name='columnname' data-fieldinfo='' style='max-width:87px;'>" +
"<option value='and'><?php echo vtranslate('LBL_AND',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option>" +
"<option value='or'><?php echo vtranslate('LBL_OR',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option>" +
"</select>";
jQuery().ready(function () {
var columnConditionGlueElement_obj = jQuery('#fcon' + columnIndex);
if (document.getElementById("hfcon_" + groupIndex + "_" + columnIndex)) {
var fColColumnsObj = jQuery('#fcon' + columnIndex);
if (jQuery('#hfcon_' + groupIndex + '_' + columnIndex)) {
var selected_fcon = jQuery('#hfcon_' + groupIndex + '_' + columnIndex).val();
//jQuery("#"+ctype + "con" + columnIndex).val(selected_fcon);
jQuery("#fcon" + columnIndex).val(selected_fcon);
}
// if(fColColumnsObj.options[i].value == document.getElementById("hfcon_"+groupIndex+"_"+ columnIndex).value){
// fColColumnsObj.options[i].selected=true;
//alert(fColColumnsObj.options[i].value);
//alert(fColColumnsObj.options[i].selected);
// jQuery("#"+ctype + "con" + columnIndex).val(fColColumnsObj.options[i].value);
// }
}
app.changeSelectElementView(columnConditionGlueElement_obj);
});
}
}
function addConditionRow(groupIndex) {
var groupColumns = column_index_array[groupIndex];
if (typeof (groupColumns) != 'undefined') {
for (var i = groupColumns.length - 1; i >= 0; --i) {
var prevColumnIndex = groupColumns[i];
if (document.getElementById('conditioncolumn_' + groupIndex + '_' + prevColumnIndex)) {
addColumnConditionGlue(groupIndex, prevColumnIndex);
break;
}
}
}
if (groupIndex != "0")
var ctype = "f";
else
var ctype = "g";
var columnIndex = advft_column_index_count + 1;
var nextNode = document.getElementById('groupfooter_' + groupIndex);
var newNode = document.createElement('div');
var newNodeId = 'conditioncolumn_' + groupIndex + '_' + columnIndex;
newNode.setAttribute('id', newNodeId);
newNode.setAttribute('name', 'conditionColumn');
newNode.setAttribute('class', 'col-lg-12');
nextNode.parentNode.insertBefore(newNode, nextNode);
var node1 = document.createElement('div');
node1.setAttribute('class', 'col-lg-4');
newNode.appendChild(node1);
if (groupIndex != "0") {
var filtercolumns = jQuery('#filter_columns').html();
filtercolumns = html_entity_decode(filtercolumns, "UTF-8");
var fcon_selectbox = '<select name="' + ctype + 'col' + columnIndex + '" id="' + ctype + 'col' + columnIndex + '" onchange="reports4you_updatefOptions(this, \'' + ctype + 'op' + columnIndex + '\');addRequiredElements(\'' + ctype + '\',' + columnIndex + ');updateRelFieldOptions(this, \'' + ctype + 'val_' + columnIndex + '\');" class="select2 inputElement" data-value="value" name="columnname" data-fieldinfo=""></select>';
node1.innerHTML = '<div class="conditionRow"><div id="condition' + ctype + 'col' + columnIndex + '" >' + fcon_selectbox + '</div>';
var oOption = document.createElement("OPTION");
oOption.value = "";
document.getElementById(ctype + 'col' + columnIndex).appendChild(oOption);
var optgroups = filtercolumns.split("(|@!@|)");
for (i = 0; i < optgroups.length; i++) {
var optgroup = optgroups[i].split("(|@|)");
if (optgroup[0] !== '') {
var oOptgroup = document.createElement("OPTGROUP");
oOptgroup.label = optgroup[0];
var responseVal = JSON.parse(optgroup[1]);
for (var widgetId in responseVal) {
if (responseVal.hasOwnProperty(widgetId)) {
option = responseVal[widgetId];
var oOption = document.createElement("OPTION");
oOption.value = option["value"];
oOption.appendChild(document.createTextNode(option["text"]));
oOptgroup.appendChild(oOption);
}
}
document.getElementById(ctype + 'col' + columnIndex).appendChild(oOptgroup);
}
}
}
else {
var filtercolumns = document.getElementById('SortByColumn').innerHTML;
node1.innerHTML = '<div class="conditionRow"><select name="' + ctype + 'col' + columnIndex + '" id="' + ctype + 'col' + columnIndex + '" onchange="reports4you_updatefOptions(this, \'' + ctype + 'op' + columnIndex + '\');addRequiredElements(\'' + ctype + '\',' + columnIndex + ');updateRelFieldOptions(this, \'' + ctype + 'val_' + columnIndex + '\');" class="detailedViewTextBox">' + filtercolumns + '</select>';
document.getElementById(ctype + 'col' + columnIndex).value = "none";
}
node2 = document.createElement('div');
node2.setAttribute('class', 'col-lg-2');
newNode.appendChild(node2);
node2.innerHTML = '<select name="' + ctype + 'op' + columnIndex + '" id="' + ctype + 'op' + columnIndex + '" class="select2 inputElement" onchange="addRequiredElements(\'' + ctype + '\',' + columnIndex + ');">' +
'<?php echo $_smarty_tpl->tpl_vars['FOPTION']->value;?>
' +
'</select>';
node3 = document.createElement('div');
node3.setAttribute('class', 'col-lg-4');
newNode.appendChild(node3);
var node3_inner = "";
node3_inner += '<div class="layerPopup" id="show_val' + columnIndex + '" name="relFieldsPopupDiv" style="border:2px solid #656565;border:0; position: absolute; width:300px; z-index: 50; display: none;">' +
'<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="padding:5px;border-radius:5px;border:1px solid #ccc;background-color:white;">' +
'<tr>' +
'<td>' +
'<table width="100%" cellspacing="0" cellpadding="0" border="0" class="small">' +
'<tr>' +
'<td>' +
'<table width="100%" cellspacing="0" cellpadding="5" border="0" bgcolor="white" class="small">' +
'<tr>' +
'<td width="30%" align="left" class="cellLabel small"><b><?php echo vtranslate('LBL_SELECT_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</b></td>' +
'<td width="30%" align="left" class="cellText">' +
'<select name="' + ctype + 'val_' + columnIndex + '" id="' + ctype + 'val_' + columnIndex + '" onChange="AddFieldToFilter(' + columnIndex + ',this);" class="select2 inputElement" style="margin-top:0.5em;">' +
'<?php echo $_smarty_tpl->tpl_vars['REL_FIELDS']->value;?>
' +
'</select>' +
'</td>' +
'<td width="30%" align="left" class="cellLabel small">' +
'<input type="button" style="width: 70px;margin-top:0.5em;" value="<?php echo vtranslate('LBL_CLOSE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" name="button" onclick="hideAllElementsByName(\'relFieldsPopupDiv\');" class="crmbutton small create" accesskey="X" title="<?php echo vtranslate('LBL_CLOSE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/>' +
'</td>' +
'</tr>' +
'</table>' +
'</td>' +
'</tr>' +
'</table>' +
'</td>' +
'</tr>' +
'</table>' +
'</div>';
node3.innerHTML = '<span id="node3span' + columnIndex + '_st" style="width:100%;"><input name="' + ctype + 'val' + columnIndex + '" id="' + ctype + 'val' + columnIndex + '" class="inputElement" style="width: 90%;" type="text" value=""><input name="' + ctype + 'valhdn' + columnIndex + '" id="' + ctype + 'valhdn' + columnIndex + '" class="inputElement" style="width: 85%;" type="hidden" value="">&nbsp;<span class="add-on relatedPopup cursorPointer"><i id="node3span' + columnIndex + '_select" class="fa fa-search relatedPopup" onClick="" title="<?php echo vtranslate('LBL_SELECT');?>
"></i></span>&nbsp;<span class="add-on cursorPointer"><i id="node3span' + columnIndex + '_clear" class="fa fa-remove" onClick="ClearFieldToFilter(' + columnIndex + ');" title="<?php echo vtranslate('LBL_CLEAR');?>
"></i></span>' + node3_inner + '</span><span id="node3span' + columnIndex + '_ajx" style="width:100%;display:none;"></span><span id="node3span' + columnIndex + '_djx" style="width:100%;display:none;"></span>';
setRelPopupClick('node3span' + columnIndex + '_select', columnIndex);
node4 = document.createElement('div');
node4.setAttribute('id', 'columnconditionglue_' + columnIndex);
node4.setAttribute('class', 'col-lg-1');
newNode.appendChild(node4);
node5 = document.createElement('div');
node5.setAttribute('class', 'col-lg-1');
newNode.appendChild(node5);
node5.innerHTML = '<a onclick="deleteColumnRow(' + groupIndex + ',' + columnIndex + ');" href="javascript:;" class="deleteCondition">' +
'<img src="modules/ITS4YouReports/img/Delete.png" align="absmiddle" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..." border="0">' +
'</a></div>';
var fcon_selectbox_obj = jQuery('.filterConditionContainer');
jQuery().ready(function () {
app.changeSelectElementView(fcon_selectbox_obj, 'select2');
ITS4YouReports_Edit_Js.getInstance(newNodeId).registerInputChangeEvents();
addRequiredElements('f', columnIndex);
});
if (typeof (column_index_array[groupIndex]) == 'undefined')
column_index_array[groupIndex] = [];
column_index_array[groupIndex].push(columnIndex);
advft_column_index_count++;
}
function addGroupConditionGlue(groupIndex) {
var groupConditionGlueElement = document.getElementById('groupconditionglue_' + groupIndex);
if (groupConditionGlueElement) {
var gcon_selectbox = '<select name="gpcon' + groupIndex + '" id="gpcon' + groupIndex + '" class="select2 inputElement" data-value="value" name="columnname" data-fieldinfo="">' +
"<option value='and'><?php echo vtranslate('LBL_AND',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option>" +
"<option value='or'><?php echo vtranslate('LBL_OR',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option>" + '</select>';
groupConditionGlueElement.innerHTML = '<div id="gconRow' + groupIndex + '" class="col-lg-1">' + gcon_selectbox + '</div>';
var gcon_selectbox_obj = jQuery("#gconRow" + groupIndex);
jQuery().ready(function () {
app.changeSelectElementView(gcon_selectbox_obj);
});
}
}
function addConditionGroup(parentNodeId) {
for (var i = group_index_array.length - 1; i >= 0; --i) {
var prevGroupIndex = group_index_array[i];
if (document.getElementById('conditiongroup_' + prevGroupIndex)) {
addGroupConditionGlue(prevGroupIndex);
break;
}
}
var groupIndex = parseInt(advft_group_index_count) + 1;
var parentNode = document.getElementById(parentNodeId);
var newNode = document.createElement('div');
newNodeId = 'conditiongroup_' + groupIndex;
newNode.setAttribute('id', newNodeId);
newNode.setAttribute('name', 'conditionGroup');
newNode.setAttribute('class', 'conditionGroup conditionFilterDiv');
var deleted_group_btn = '';
if (groupIndex > 1) {
deleted_group_btn = "<button type='button' class='btn btn-default' style='float:right;' onclick='deleteGroup(\"" + groupIndex + "\");' ><i class='fa fa-minus'></i>&nbsp;<?php echo vtranslate('LBL_DELETE_GROUP',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>";
}
newNode.innerHTML = "<div class='conditionList col-lg-12 conditionRow'>" +
'<div class="addCondition" id="conditiongrouptable_' + groupIndex + '" class="col-lg-12">' +
'<div class="col-lg-4 col-md-4 col-sm-4" id="groupfooter_' + groupIndex + '" style="display:none;">' +
'</div>' +
'</div>' +
'<div id="groupheader_' + groupIndex + '">' +
'<button type="button" class="btn btn-default" style="float:left;" onclick="addConditionRow(\'' + groupIndex + '\')"><i class="fa fa-plus"></i>&nbsp;<?php echo vtranslate("LBL_NEW_CONDITION",$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>' +
'</div>' +
'<div class="col-lg-1" style="margin-left:10px;">' + deleted_group_btn + '</div>' +
"</div>" +
'<div id="groupconditionglue_' + groupIndex + '" class="conditionList col-lg-12 textAlignCenter conditionRow"></div>';
/*
newNode.innerHTML = "<div class='conditionList'>" +
"<table class='small crmTable' border='0' cellpadding='5' cellspacing='0' width='100%' valign='top' id='conditiongrouptable_" + groupIndex + "' style='border:0px;' >" +
"<tr id='groupfooter_" + groupIndex + "' style='display:none;'>" +
"<td colspan='5' align='left'>" +
"</td>" +
"</tr>" +
"</table>" +
"<table class='small' border='0' cellpadding='5' cellspacing='1' width='100%' valign='top'>" +
"<tr id='groupheader_" + groupIndex + "'>" +
"<td colspan='4' align='left'>" +
"<button type='button' class='btn btn-default' style='float:left;' onclick='addConditionRow(\"" + groupIndex + "\")'><i class='fa fa-plus'></i>&nbsp;<?php echo vtranslate('LBL_NEW_CONDITION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button>" +
"</td>" +
"<td colspan='1' align='right'>" +
deleted_group_btn+
"</td>" +
"</tr>" +
"<tr><td align='center' id='groupconditionglue_" + groupIndex + "' style='text-align:center;' colspan='5'>" +
"</td></tr>" +
"</table></div>";
*/
parentNode.appendChild(newNode);
group_index_array.push(groupIndex);
advft_group_index_count++;
if (advft_group_index_count > 0) {
jQuery('.fgroup_btn').addClass('hide');
}
}
function addNewConditionGroup(parentNodeId) {
addConditionGroup(parentNodeId);
addConditionRow(advft_group_index_count);
}
function deleteColumnRow(groupIndex, columnIndex) {
removeElement('conditioncolumn_' + groupIndex + '_' + columnIndex);
var groupColumns = column_index_array[groupIndex];
var keyOfTheColumn = groupColumns.indexOf(columnIndex);
var isLastElement = true;
for (var i = keyOfTheColumn; i < groupColumns.length; ++i) {
var nextColumnIndex = groupColumns[i];
var nextColumnRowId = 'conditioncolumn_' + groupIndex + '_' + nextColumnIndex;
if (document.getElementById(nextColumnRowId)) {
isLastElement = false;
break;
}
}
if (isLastElement) {
for (var i = keyOfTheColumn - 1; i >= 0; --i) {
var prevColumnIndex = groupColumns[i];
var prevColumnGlueId = "fcon" + prevColumnIndex;
if (document.getElementById(prevColumnGlueId)) {
removeElement(prevColumnGlueId);
break;
}
}
}
}
function deleteGroup(groupIndex) {
removeElement('conditiongroup_' + groupIndex);
var keyOfTheGroup = group_index_array.indexOf(groupIndex);
var isLastElement = false;
var g_length = group_index_array.length
var g_length_i = g_length;
var hide_gop = false;
for (var i = 0; i < g_length; i++) {
if (!document.getElementById('conditiongroup_' + g_length_i)) {
hide_gop = true;
}
else {
hide_gop = false;
}
g_length_i = g_length_i - 1;
if (hide_gop == true) {
if (g_length_i == (g_length - 1)) {
for (var di = 0; di < g_length; di++) {
if (!document.getElementById('conditiongroup_' + g_length_i)) {
g_length_i = g_length_i - 1;
}
else {
jQuery('#gconRow' + g_length_i).html('');
break;
}
}
}
}
}
}
function removeElement(elementId) {
var element = document.getElementById(elementId);
if (element) {
var parent = element.parentNode;
if (parent) {
parent.removeChild(element);
} else {
element.remove();
}
}
}
function hideAllElementsByName(name) {
var allElements = document.getElementsByTagName('div');
for (var i = 0; i < allElements.length; ++i) {
var element = allElements[i];
if (element.getAttribute('name') == name)
element.style.display = 'none';
}
return true;
}
function addRequiredElements(ctype, columnindex) {
jQuery().ready(function () {
var colObj = document.getElementById(ctype + 'col' + columnindex);
if (colObj) {
var opObj = document.getElementById(ctype + 'op' + columnindex);
var valObj = document.getElementById(ctype + 'val' + columnindex);
var currField = colObj.options[colObj.selectedIndex];
var currOp = opObj.options[opObj.selectedIndex];
var fieldtype = null;
if (currField.value != null && currField.value.length != 0) {
fieldtype = trimfValues(currField.value);
var sel_fields = JSON.parse(document.getElementById("sel_fields").value);
var selected_value = html_entity_decode(colObj.value, "UTF-8");
if (sel_fields[selected_value]) {
updateRelFieldOptions(colObj, 'fval_' + columnindex);
}
switch (fieldtype) {
case 'D':
case 'T':
case 'DT':
var dateformat = "<?php echo $_smarty_tpl->tpl_vars['JS_DATEFORMAT']->value;?>
";
var timeformat = "%H:%M:%S";
var showtime = true;
if ('T' !== fieldtype) {
timeformat = '';
showtime = false;
}
break;
default:
if (document.getElementById('jscal_trigger_fval' + columnindex))
document.getElementById('jscal_trigger_fval' + columnindex).remove();
if (document.getElementById('fval_ext' + columnindex))
document.getElementById('fval_ext' + columnindex).remove();
if (document.getElementById('jscal_trigger_fval_ext' + columnindex))
document.getElementById('jscal_trigger_fval_ext' + columnindex).remove();
}
var comparatorId = ctype + "op" + columnindex;
var comparatorObject = jQuery("#" + comparatorId);
var comparatorValue = comparatorObject.val();
if (comparatorValue == "isn" || comparatorValue == "isnn") {
document.getElementById("node3span" + columnindex + "_ajx").style.display = "none";
document.getElementById("node3span" + columnindex + "_st").style.display = "none";
document.getElementById("node3span" + columnindex + "_djx").style.display = "none";
} else {
document.getElementById("node3span" + columnindex + "_ajx").style.display = "none";
document.getElementById("node3span" + columnindex + "_st").style.display = "block";
document.getElementById("node3span" + columnindex + "_djx").style.display = "none";
}
var std_filter_columns = document.getElementById("std_filter_columns").value;
if (std_filter_columns) {
var std_filter_columns_arr = std_filter_columns.split('<<?php ?>%jsstdjs%<?php ?>>');
var selected_value = html_entity_decode(colObj.value, "UTF-8");
if (-1 < std_filter_columns_arr.indexOf(selected_value)
|| -1 < selected_value.indexOf(':DT:')
|| -1 < selected_value.indexOf(':DT')
|| -1 < selected_value.indexOf(':D:')
) {
if ((document.getElementById("jscal_field_sdate" + columnindex)) && (document.getElementById("jscal_field_edate" + columnindex))) {
var s_obj = document.getElementById("jscal_field_sdate" + columnindex);
var e_obj = document.getElementById("jscal_field_edate" + columnindex);
var st_obj = document.getElementById("jscal_trigger_sdate" + columnindex);
var et_obj = document.getElementById("jscal_trigger_edate" + columnindex);
var seOption_type = currOp.value;
if (comparatorValue == "olderNdays" || comparatorValue == "lastNdays" || comparatorValue == "nextNdays" || comparatorValue == "moreNdays" || comparatorValue == "daysago" || comparatorValue == "daysmore") {
jQuery('#fval' + columnindex).val('');
jQuery('#fvalhdn' + columnindex).val('');
document.getElementById("node3span" + columnindex + "_ajx").style.display = "none";
document.getElementById("node3span" + columnindex + "_st").style.display = "none";
document.getElementById("div_nfval" + columnindex).style.display = "block";
document.getElementById("node3span" + columnindex + "_djx").style.display = "block";
showNdayRange(columnindex);
} else {
document.getElementById("div_nfval" + columnindex).style.display = "none";
showDateRange(s_obj, e_obj, st_obj, et_obj, seOption_type);
if (comparatorValue === "custom" || comparatorValue === "a" || comparatorValue === "b") {
jQuery('#jscal_trigger_sdate'+columnindex).removeClass('hide');
jQuery('#jscal_trigger_edate'+columnindex).removeClass('hide');
vtUtils.registerEventForDateFields(jQuery('.filterContainer'));
}
if (comparatorValue !== "") {
if (comparatorValue === "isn" || comparatorValue === "isnn") {
jQuery('#fval' + columnindex).val('');
jQuery('#fvalhdn' + columnindex).val('');
document.getElementById("node3span" + columnindex + "_ajx").style.display = "none";
document.getElementById("node3span" + columnindex + "_st").style.display = "none";
document.getElementById("node3span" + columnindex + "_djx").style.display = "none";
} else if (jQuery.inArray(comparatorValue, JSON.parse(jQuery('#fld_date_options').val())) > -1) {
document.getElementById("node3span" + columnindex + "_ajx").style.display = "none";
document.getElementById("node3span" + columnindex + "_st").style.display = "block";
document.getElementById("node3span" + columnindex + "_djx").style.display = "none";
} else {
jQuery('#fval' + columnindex).val('');
jQuery('#fvalhdn' + columnindex).val('');
document.getElementById("node3span" + columnindex + "_ajx").style.display = "none";
document.getElementById("node3span" + columnindex + "_st").style.display = "none";
document.getElementById("node3span" + columnindex + "_djx").style.display = "block";
}
}
}
}
}
}
}
}
});
}
function showHideDivs(showdiv, hidediv) {
if (document.getElementById(showdiv))
document.getElementById(showdiv).style.display = "block";
if (document.getElementById(hidediv))
document.getElementById(hidediv).style.display = "none";
}
/**/
function deleteGroupColumnRow(groupIndex, columnIndex) {
removeElement('groupconditioncolumn_' + groupIndex + '_' + columnIndex);
var groupColumns = gf_column_index_array[groupIndex];
var keyOfTheColumn = groupColumns.indexOf(columnIndex);
var isLastElement = true;
for (var i = keyOfTheColumn; i < groupColumns.length; ++i) {
var nextColumnIndex = groupColumns[i];
var nextColumnRowId = 'groupconditioncolumn_' + groupIndex + '_' + nextColumnIndex;
if (document.getElementById(nextColumnRowId)) {
isLastElement = false;
break;
}
}
if (isLastElement) {
for (var di = keyOfTheColumn - 1; di >= 0; --di) {
var prevColumnIndex = groupColumns[di];
var prevColumnGlueId = "ggroupcon" + prevColumnIndex;
if (document.getElementById(prevColumnGlueId)) {
removeElement(prevColumnGlueId);
break;
}
}
}
}
function actualizeGroupConditions(groupIndex) {
var filtercolumns_str = document.getElementById('sum_group_columns').innerHTML;
//' + ctype + 'groupop' + columnIndex + '
}
function addGroupConditionRow(groupIndex) {
var groupColumns = gf_column_index_array[groupIndex];
if (typeof(groupColumns) !== 'undefined') {
for (var i = groupColumns.length - 1; i >= 0; --i) {
var prevColumnIndex = groupColumns[i];
if (document.getElementById('groupconditioncolumn_' + groupIndex + '_' + prevColumnIndex)) {
addGroupColumnConditionGlue(groupIndex, prevColumnIndex);
break;
}
}
}
if (groupIndex !== "0")
ctype = "f";
else
ctype = "g";
var columnIndex = gf_advft_column_index_count + 1;
var nextNode = document.getElementById('ggroupfooter_' + groupIndex);
var newNode = document.createElement('div');
newNodeId = 'groupconditioncolumn_' + groupIndex + '_' + columnIndex;
newNode.setAttribute('id', newNodeId);
newNode.setAttribute('name', 'groupconditionColumn');
newNode.setAttribute('style', 'width:100%;display:block;');
newNode.setAttribute('class', 'col-lg-12 conditionRow');
nextNode.parentNode.insertBefore(newNode, nextNode);
node1 = document.createElement('div');
node1.setAttribute('class', 'col-lg-4');
newNode.appendChild(node1);
node1.innerHTML = '<select name="' + ctype + 'groupcol' + columnIndex + '" id="' + ctype + 'groupcol' + columnIndex + '" onchange="reports4you_updatefOptions(this, \'' + ctype + 'groupcolop' + columnIndex + '\');addRequiredElements(\'' + ctype + '\',' + columnIndex + ');" class="select2 inputElement" ></select>';
document.getElementById(ctype + 'groupcol' + columnIndex).value = "none";
var filtercolumns_str = document.getElementById('sum_group_columns').innerHTML;
var optgroups = filtercolumns_str.split("(|@!@|)");
for (i = 0; i < optgroups.length; i++) {
var optgroup = optgroups[i].split("(|@|)");
if (optgroup[0] !== '' && optgroup[1] !== '') {
var option_value = optgroup[0];
var option_text = optgroup[1];
var oOption = document.createElement("OPTION");
oOption.value = option_value;
oOption.appendChild(document.createTextNode(option_text));
document.getElementById(ctype + 'groupcol' + columnIndex).appendChild(oOption);
}
}
node2 = document.createElement('div');
node2.setAttribute('class', 'col-lg-2');
newNode.appendChild(node2);
node2.innerHTML = '<select name="' + ctype + 'groupop' + columnIndex + '" id="' + ctype + 'groupop' + columnIndex + '" class="select2 inputElement" style="width:100%;" onchange="addRequiredElements(\'' + ctype + '\',' + columnIndex + ');">' +
'<?php echo $_smarty_tpl->tpl_vars['FOPTION']->value;?>
' +
'</select>';
node3 = document.createElement('div');
newNode.appendChild(node3);
node3.innerHTML = '<div class="col-lg-4"><input name="' + ctype + 'groupval' + columnIndex + '" id="' + ctype + 'groupval' + columnIndex + '" class="inputElement" type="text" value="" style="width: 90%;"></div>';
node3.innerHTML += '<div class="layerPopup" id="show_val' + columnIndex + '" name="relFieldsPopupDiv" style="border:0; position: absolute; width:300px; z-index: 50; display: none;">' +
'<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" class="mailClient mailClientBg">' +
'<tr>' +
'<td>' +
'<table width="100%" cellspacing="0" cellpadding="0" border="0" class="layerHeadingULine">' +
'<tr class="mailSubHeader">' +
'<td width=90% class="genHeaderSmall"><b><?php echo vtranslate('LBL_SELECT_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</b></td>' +
'<td align=right>' +
'<img border="0" align="absmiddle" src="layouts/vlayout/skins/images/close.gif" style="cursor: pointer;" alt="<?php echo vtranslate('LBL_CLOSE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" title="<?php echo vtranslate('LBL_CLOSE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" onclick="hideAllElementsByName(\'relFieldsPopupDiv\');"/>' +
'</td>' +
'</tr>' +
'</table>' +
'<table width="100%" cellspacing="0" cellpadding="0" border="0" class="small">' +
'<tr>' +
'<td>' +
'<table width="100%" cellspacing="0" cellpadding="5" border="0" bgcolor="white" class="small">' +
'<tr>' +
'<td width="30%" align="left" class="cellLabel small"><?php echo vtranslate('LBL_RELATED_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</td>' +
'<td width="30%" align="left" class="cellText">' +
'<select name="' + ctype + 'val_' + columnIndex + '" id="' + ctype + 'val_' + columnIndex + '" onChange="AddFieldToFilter(' + columnIndex + ',this);" class="detailedViewTextBox">' +
'<?php echo $_smarty_tpl->tpl_vars['REL_FIELDS']->value;?>
' +
'</select>' +
'</td>' +
'</tr>' +
'</table>' +
'<!-- save cancel buttons -->' +
'<table width="100%" cellspacing="0" cellpadding="5" border="0" class="layerPopupTransport">' +
'<tr>' +
'<td width="50%" align="center">' +
'<input type="button" style="width: 70px;" value="<?php echo vtranslate('LBL_DONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" name="button" onclick="hideAllElementsByName(\'relFieldsPopupDiv\');" class="crmbutton small create" accesskey="X" title="<?php echo vtranslate('LBL_DONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/>' +
'</td>' +
'</tr>' +
'</table>' +
'</td>' +
'</tr>' +
'</table>' +
'</td>' +
'</tr>' +
'</table>' +
'</div>';
node4 = document.createElement('div');
node4.setAttribute('id', 'groupcolumnconditionglue_' + columnIndex);
node4.setAttribute('width', '87px');
newNode.appendChild(node4);
node5 = document.createElement('div');
node5.setAttribute('class', 'col-lg-1');
newNode.appendChild(node5);
node5.innerHTML = '<a onclick="deleteGroupColumnRow(' + groupIndex + ',' + columnIndex + ');" href="javascript:;">' +
'<img src="modules/ITS4YouReports/img/Delete.png" align="absmiddle" title="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
..." border="0" >' +
'</a>';
jQuery().ready(function () {
app.changeSelectElementView(jQuery('#step8'), 'select2');
});
if (typeof(gf_column_index_array[groupIndex]) === 'undefined') gf_column_index_array[groupIndex] = [];
gf_column_index_array[groupIndex].push(columnIndex);
gf_advft_column_index_count++;
}
function addGroupColumnConditionGlue(groupIndex, columnIndex) {
var columnConditionGlueElement = document.getElementById('groupcolumnconditionglue_' + columnIndex);
if (groupIndex !== "0")
ctype = "f";
else
ctype = "g";
if (columnConditionGlueElement) {
columnConditionGlueElement.innerHTML = "<select name='" + ctype + "groupcon" + columnIndex + "' id='" + ctype + "groupcon" + columnIndex + "' class='chzn-select chzn-done' style='display:none;width:auto'>" +
"<option value='and'><?php echo vtranslate('LBL_AND',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option>" +
"<option value='or'><?php echo vtranslate('LBL_OR',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option>" +
"</select>";
}
}
function addQuickFilterBox() {
var qfColumnsJson = jQuery('#quick_filter_columns').html();
qfColumnsJson = html_entity_decode(qfColumnsJson,"UTF-8");
var qfColumns = JSON.parse(qfColumnsJson);
var filtercolumns = jQuery('#filter_columns').html();
filtercolumns = html_entity_decode(filtercolumns, "UTF-8");
/*
var oOption = document.createElement("OPTION");
oOption.value = "";
oOption.appendChild(document.createTextNode("<?php echo vtranslate('LBL_NONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"));
document.getElementById('quick_filters').appendChild(oOption);
*/
var aSi = 0;
var alreadySelected = new Array();
var optgroups = filtercolumns.split("(|@!@|)");
for (i = 0; i < optgroups.length; i++) {
var optgroup = optgroups[i].split("(|@|)");
if (optgroup[0] !== '') {
var oOptgroup = document.createElement("OPTGROUP");
oOptgroup.label = optgroup[0];
var responseVal = JSON.parse(optgroup[1]);
for (var widgetId in responseVal) {
if (responseVal.hasOwnProperty(widgetId)) {
option = responseVal[widgetId];
var vOption = document.createElement("OPTION");
vOption.value = option["value"];
if (jQuery.inArray(vOption.value, qfColumns) !== -1 && jQuery.inArray(vOption.value, alreadySelected) === -1) {
vOption.selected = true;
alreadySelected[aSi] = vOption.value;
aSi++;
}
vOption.appendChild(document.createTextNode(option["text"]));
oOptgroup.appendChild(vOption);
}
}
document.getElementById('quick_filters').appendChild(oOptgroup);
}
}
}
</script>
<?php }} ?>

View File

@@ -0,0 +1,64 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:23
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:121857529568e3cbef75a3b1-97141234%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c1502db5b78e3d7bbcb06e1ad01077830cdd4c73' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportHeader.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '121857529568e3cbef75a3b1-97141234',
'function' =>
array (
),
'variables' =>
array (
'DATE_FILTERS' => 0,
'REPORT_LIMIT' => 0,
'PDFMakerActive' => 0,
'IS_TEST_WRITE_ABLE' => 0,
'RECORD_ID' => 0,
'REPORT_CHANGED' => 0,
'MODULE' => 0,
'REPORT_MODEL' => 0,
'CRITERIA_GROUPS' => 0,
'filterConditionNotExists' => 0,
'REPORTTYPE' => 0,
'REPORT_FILTERS' => 0,
'checkDashboardWidget' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbef773b2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbef773b2')) {function content_68e3cbef773b2($_smarty_tpl) {?>
<link rel="stylesheet" type="text/css" media="all" href="modules/ITS4YouReports/classes/Reports4YouDefault.css"><script type="text/javascript" src="modules/ITS4YouReports/highcharts/js/rgbcolor.js"></script><script type="text/javascript" src="modules/ITS4YouReports/highcharts/js/canvg.js"> </script><div class="reportsDetailHeader no-print"><input type="hidden" name="date_filters" data-value='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['DATE_FILTERS']->value));?>
'/><input type="hidden" id="reportLimit" value="<?php echo $_smarty_tpl->tpl_vars['REPORT_LIMIT']->value;?>
"/><input type="hidden" id="pdfmaker_active" value="<?php echo $_smarty_tpl->tpl_vars['PDFMakerActive']->value;?>
"/><input type="hidden" id="is_test_write_able" value="<?php echo $_smarty_tpl->tpl_vars['IS_TEST_WRITE_ABLE']->value;?>
"/><input type="hidden" id="div_id" value="activate_pdfmaker"/><input type="hidden" name="report_filename" id="report_filename" value="" /><input type="hidden" id="recordId" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
"/><form method="post" action="IndexAjax" target="_blank"><input type="hidden" name="module" value="ITS4YouReports"/><input type="hidden" name="action" value="IndexAjax"/><input type="hidden" name="mode" value="ExportXLS"/><input type="hidden" name="filename" value="Test.xls"/><input type="hidden" name="report_html" id="report_html" value=""/></form><form method="post" action="index.php" name="GeneratePDF" id="GeneratePDF" target="_blank"><input type="hidden" name="module" value="ITS4YouReports"/><input type="hidden" name="action" value="GeneratePDF"/><input type="hidden" name="mode" value="ExportPDF"/><input type="hidden" name="type" value=""/><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
"/><input type="hidden" name="backgroundExport" value="" /><input type="hidden" name="form_export_pdf_format" id="form_export_pdf_format" value=""/><input type="hidden" name="form_filename" id="form_filename" value=""/><input type="hidden" name="form_report_name" id="form_report_name" value=""/><input type="hidden" name="form_report_html" id="form_report_html" value=""/><input type="hidden" name="form_report_totals" id="form_report_totals" value=""/><input type="hidden" name="form_chart_canvas" id="form_chart_canvas" value=""/></form><form method="post" action="index.php" name="GenerateXLS" id="GenerateXLS" target="_blank"><input type="hidden" name="module" value="ITS4YouReports"/><input type="hidden" name="view" value="ExportReport"/><input type="hidden" name="mode" value="GetXLS"/><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
"/><input type="hidden" name="type" value=""/></form><form method="post" action="index.php" name="PrintReport" id="PrintReport" target="_blank"><input type="hidden" name="module" value="ITS4YouReports"/><input type="hidden" name="action" value="PrintReport"/><input type="hidden" name="mode" value="GetPrintReport"/><input type="hidden" name="type" value=""/><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
"/><input type="hidden" name="form_report_name" id="form_report_name" value=""/></form><form id="detailViewReport" onSubmit="" method="post" ><input type="hidden" name="module" value="ITS4YouReports"/><input type="hidden" name="view" value="Detail"/><input type="hidden" id="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
"/><input type="hidden" name='reload' id='reload' value='true'/><input type="hidden" name="currentMode" id="currentMode" value='generate' /><input type="hidden" name='report_changed' id='report_changed' value='<?php echo $_smarty_tpl->tpl_vars['REPORT_CHANGED']->value;?>
'/><input type="hidden" name="date_filters" data-value='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['DATE_FILTERS']->value));?>
'/><?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);?>
<?php if ('custom_report'!=$_smarty_tpl->tpl_vars['REPORT_MODEL']->value->getReportType()){?><br><div class=''><?php $_smarty_tpl->tpl_vars['filterConditionNotExists'] = new Smarty_variable((empty($_smarty_tpl->tpl_vars['CRITERIA_GROUPS']->value)), null, 0);?><button class="btn btn-default" name="modify_condition" data-val="<?php echo $_smarty_tpl->tpl_vars['filterConditionNotExists']->value;?>
"><strong><?php echo vtranslate('LBL_MODIFY_CONDITION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong>&nbsp;&nbsp;<i class="fa <?php if ($_smarty_tpl->tpl_vars['filterConditionNotExists']->value==true){?> fa-chevron-right <?php }else{ ?> fa-chevron-down <?php }?>"></i></button></div><br><div class="row-fluid"><input type="hidden" id="widgetReports4YouId" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
"/><?php if ($_smarty_tpl->tpl_vars['REPORTTYPE']->value!=="custom_report"){?><div id="filterContainer" class="filterContainer filterElements well filterConditionContainer filterConditionsDiv <?php if (empty($_smarty_tpl->tpl_vars['CRITERIA_GROUPS']->value)==true){?> hide <?php }?>"><?php echo $_smarty_tpl->tpl_vars['REPORT_FILTERS']->value;?>
</div><?php }?></div><br><?php }?><div class="row-fluid"><div class="textAlignCenter"><button class="btn btn-default generateReport" data-mode="generate" value="<?php echo vtranslate('LBL_GENERATE_NOW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/><strong><?php echo vtranslate('LBL_GENERATE_NOW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button>&nbsp;<?php if ($_smarty_tpl->tpl_vars['REPORTTYPE']->value!="custom_report"&&$_smarty_tpl->tpl_vars['REPORT_MODEL']->value->isEditable()==true){?><button class="btn btn-success generateReport hide" id="saveReportBtn" data-mode="save" value="<?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/><strong><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button><?php }?><?php if ($_smarty_tpl->tpl_vars['checkDashboardWidget']->value!=''&&$_smarty_tpl->tpl_vars['checkDashboardWidget']->value!="Exist"){?><button class="btn addWidget" data-mode="addwidget" value="<?php echo vtranslate('LBL_ADD_WIDGET',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/><strong><?php echo vtranslate('LBL_ADD_WIDGET',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button><?php }?></div></div><br></form></div><div id="reportContentsDiv" style="padding-bottom:2em;">
<?php }} ?>

View File

@@ -0,0 +1,137 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:58
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportGraphs.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17338195568e3cc1297d1d9-39136174%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c171d4866f33c4e39340e8956c299c4bfdc42726' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouReports/ReportGraphs.tpl',
1 => 1711810496,
2 => 'file',
),
),
'nocache_hash' => '17338195568e3cc1297d1d9-39136174',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'charttitle' => 0,
'collapse_data_block' => 0,
'chart_position' => 0,
'X_GROUP' => 0,
'x_column_str' => 0,
'x_column_arr' => 0,
'CHARTS_ARRAY' => 0,
'chtype1' => 0,
'CHART_TYPE' => 0,
'chart_type_key' => 0,
'charttype_arr' => 0,
'selected_summaries' => 0,
'column_arr' => 0,
'chtype2' => 0,
'chtype3' => 0,
'progress_line' => 0,
'lineName' => 0,
'progress_line_array' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cc129bce7',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cc129bce7')) {function content_68e3cc129bce7($_smarty_tpl) {?>
<input type="hidden" name="none_chart" id="none_chart" value="<?php echo getTranslatedString('LBL_SELECT_CHARTTYPE','ITS4YouReports');?>
"><div style="border:1px solid #ccc;padding:4%;"><div class="form-group"><label class="control-label textAlignLeft col-lg-2"><?php echo vtranslate('LBL_CHART_Title',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input class="inputElement" id="charttitle" name="charttitle" value="<?php echo $_smarty_tpl->tpl_vars['charttitle']->value;?>
" type="text" placeholder="<?php echo getTranslatedString('LBL_CHART_Title','ITS4YouReports');?>
" onblur="setChartTitle(this)"></div></div><div class="form-group"><label class="control-label textAlignLeft col-lg-2"><?php echo vtranslate('LBL_CHART_CollapseDataBlock',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input class="span5" id="collapse_data_block" name="collapse_data_block" value="<?php echo $_smarty_tpl->tpl_vars['collapse_data_block']->value;?>
" type="hidden" ><input class="span5" id="collapse_data_checkbox" name="collapse_data_checkbox" value="" <?php if (1==$_smarty_tpl->tpl_vars['collapse_data_block']->value){?>checked<?php }?> type="checkbox" ></div></div><div class="form-group"><label class="control-label textAlignLeft col-lg-2"><?php echo vtranslate('LBL_CHART_Position',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><select class="select2 inputElement" id="chart_position" name="chart_position"><option value="bttom" <?php if ('bottom'==$_smarty_tpl->tpl_vars['chart_position']->value){?>selected='selected'<?php }?>><?php echo vtranslate('LBL_BOTTOM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="top" <?php if ('top'==$_smarty_tpl->tpl_vars['chart_position']->value){?>selected='selected'<?php }?>><?php echo vtranslate('LBL_TOP',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></div></div><div class="form-group"><label class="control-label textAlignLeft col-lg-2"><?php echo vtranslate('LBL_CHART_DataSeries',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><select class="select2 inputElement" id="x_group" name="x_group" onchange="ChartDataSeries(this);"><?php $_smarty_tpl->tpl_vars['x_column_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['x_column_arr']->_loop = false;
$_smarty_tpl->tpl_vars['x_column_str'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['X_GROUP']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['x_column_arr']->key => $_smarty_tpl->tpl_vars['x_column_arr']->value){
$_smarty_tpl->tpl_vars['x_column_arr']->_loop = true;
$_smarty_tpl->tpl_vars['x_column_str']->value = $_smarty_tpl->tpl_vars['x_column_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['x_column_str']->value;?>
" <?php echo $_smarty_tpl->tpl_vars['x_column_arr']->value['selected'];?>
><?php echo $_smarty_tpl->tpl_vars['x_column_arr']->value['value'];?>
</option><?php } ?></select></div></div><div class="form-group"><?php $_smarty_tpl->tpl_vars["chtype1"] = new Smarty_variable($_smarty_tpl->tpl_vars['CHARTS_ARRAY']->value[1]['charttype'], null, 0);?><label class="control-label textAlignLeft col-lg-1"><?php echo vtranslate('Graph1',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-1" style="height:20px;margin-top:10px;"><i id="iconchtype1" name="iconchtype" class="<?php echo $_smarty_tpl->tpl_vars['CHART_TYPE']->value[$_smarty_tpl->tpl_vars['chtype1']->value]['icon'];?>
" style="float:right;"></i></div><div class="col-lg-2"><select class="select2 inputElement" id="chartType1" name="chartType1" data-i="1"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['charttype_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['charttype_arr']->_loop = false;
$_smarty_tpl->tpl_vars['chart_type_key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CHART_TYPE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['charttype_arr']->key => $_smarty_tpl->tpl_vars['charttype_arr']->value){
$_smarty_tpl->tpl_vars['charttype_arr']->_loop = true;
$_smarty_tpl->tpl_vars['chart_type_key']->value = $_smarty_tpl->tpl_vars['charttype_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['chart_type_key']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['chart_type_key']->value==$_smarty_tpl->tpl_vars['chtype1']->value){?>selected='selected'<?php }?>data-icon="<?php echo $_smarty_tpl->tpl_vars['charttype_arr']->value['icon'];?>
"><?php echo $_smarty_tpl->tpl_vars['charttype_arr']->value['value'];?>
</option><?php } ?></select></div><div class="col-lg-2"><select class="select2 inputElement" id="data_series1" name="data_series1"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['column_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column_arr']->_loop = false;
$_smarty_tpl->tpl_vars['column_i'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['selected_summaries']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column_arr']->key => $_smarty_tpl->tpl_vars['column_arr']->value){
$_smarty_tpl->tpl_vars['column_arr']->_loop = true;
$_smarty_tpl->tpl_vars['column_i']->value = $_smarty_tpl->tpl_vars['column_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['column_arr']->value['value'];?>
" <?php if ($_smarty_tpl->tpl_vars['column_arr']->value['value']==$_smarty_tpl->tpl_vars['CHARTS_ARRAY']->value[1]['dataseries']){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['column_arr']->value['label'];?>
</option><?php } ?></select></div></div><div class="form-group"><?php $_smarty_tpl->tpl_vars["chtype2"] = new Smarty_variable($_smarty_tpl->tpl_vars['CHARTS_ARRAY']->value[2]['charttype'], null, 0);?><label class="control-label textAlignLeft col-lg-1"><?php echo vtranslate('Graph2',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-1" style="height:20px;margin-top:10px;"><i id="iconchtype2" name="iconchtype" class="<?php echo $_smarty_tpl->tpl_vars['CHART_TYPE']->value[$_smarty_tpl->tpl_vars['chtype2']->value]['icon'];?>
" style="float:right;"></i></div><div class="col-lg-2"><select class="select2 inputElement" id="chartType2" name="chartType2" data-i="2"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['charttype_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['charttype_arr']->_loop = false;
$_smarty_tpl->tpl_vars['chart_type_key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CHART_TYPE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['charttype_arr']->key => $_smarty_tpl->tpl_vars['charttype_arr']->value){
$_smarty_tpl->tpl_vars['charttype_arr']->_loop = true;
$_smarty_tpl->tpl_vars['chart_type_key']->value = $_smarty_tpl->tpl_vars['charttype_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['chart_type_key']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['chart_type_key']->value==$_smarty_tpl->tpl_vars['chtype2']->value){?>selected='selected'<?php }?>data-icon="<?php echo $_smarty_tpl->tpl_vars['charttype_arr']->value['icon'];?>
" ><?php echo $_smarty_tpl->tpl_vars['charttype_arr']->value['value'];?>
</option><?php } ?></select></div><div class="col-lg-2"><select class="select2 inputElement" id="data_series2" name="data_series2"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['column_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column_arr']->_loop = false;
$_smarty_tpl->tpl_vars['column_i'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['selected_summaries']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column_arr']->key => $_smarty_tpl->tpl_vars['column_arr']->value){
$_smarty_tpl->tpl_vars['column_arr']->_loop = true;
$_smarty_tpl->tpl_vars['column_i']->value = $_smarty_tpl->tpl_vars['column_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['column_arr']->value['value'];?>
" <?php if ($_smarty_tpl->tpl_vars['column_arr']->value['value']==$_smarty_tpl->tpl_vars['CHARTS_ARRAY']->value[2]['dataseries']){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['column_arr']->value['label'];?>
</option><?php } ?></select></div></div><div class="form-group"><?php $_smarty_tpl->tpl_vars["chtype3"] = new Smarty_variable($_smarty_tpl->tpl_vars['CHARTS_ARRAY']->value[3]['charttype'], null, 0);?><label class="control-label textAlignLeft col-lg-1"><?php echo vtranslate('Graph3',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-1" style="height:20px;margin-top:10px;"><i id="iconchtype3" name="iconchtype" class="<?php echo $_smarty_tpl->tpl_vars['CHART_TYPE']->value[$_smarty_tpl->tpl_vars['chtype3']->value]['icon'];?>
" style="float:right;"></i></div><div class="col-lg-2"><select class="select2 inputElement" id="chartType3" name="chartType3" data-i="3"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['charttype_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['charttype_arr']->_loop = false;
$_smarty_tpl->tpl_vars['chart_type_key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['CHART_TYPE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['charttype_arr']->key => $_smarty_tpl->tpl_vars['charttype_arr']->value){
$_smarty_tpl->tpl_vars['charttype_arr']->_loop = true;
$_smarty_tpl->tpl_vars['chart_type_key']->value = $_smarty_tpl->tpl_vars['charttype_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['chart_type_key']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['chart_type_key']->value==$_smarty_tpl->tpl_vars['chtype3']->value){?>selected='selected'<?php }?>data-icon="<?php echo $_smarty_tpl->tpl_vars['charttype_arr']->value['icon'];?>
" ><?php echo $_smarty_tpl->tpl_vars['charttype_arr']->value['value'];?>
</option><?php } ?></select></div><div class="col-lg-2"><select class="select2 inputElement" id="data_series3" name="data_series3"><option value="none"><?php echo getTranslatedString('LBL_NONE','ITS4YouReports');?>
</option><?php $_smarty_tpl->tpl_vars['column_arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column_arr']->_loop = false;
$_smarty_tpl->tpl_vars['column_i'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['selected_summaries']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column_arr']->key => $_smarty_tpl->tpl_vars['column_arr']->value){
$_smarty_tpl->tpl_vars['column_arr']->_loop = true;
$_smarty_tpl->tpl_vars['column_i']->value = $_smarty_tpl->tpl_vars['column_arr']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['column_arr']->value['value'];?>
" <?php if ($_smarty_tpl->tpl_vars['column_arr']->value['value']==$_smarty_tpl->tpl_vars['CHARTS_ARRAY']->value[3]['dataseries']){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['column_arr']->value['label'];?>
</option><?php } ?></select></div></div><div class="form-group"><label class="control-label textAlignLeft col-lg-2"><?php echo vtranslate('Chart Progress Line',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="col-lg-4"><input type="hidden" name="progress_line_val" id="progress_line_val" value="<?php echo $_smarty_tpl->tpl_vars['progress_line']->value;?>
"><select class="select2 inputElement" id="progress_line" name="progress_line" multiple="multiple" ><?php $_smarty_tpl->tpl_vars['lineName'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lineName']->_loop = false;
$_from = array('MIN','AVG','MAX'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['lineName']->key => $_smarty_tpl->tpl_vars['lineName']->value){
$_smarty_tpl->tpl_vars['lineName']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['lineName']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['lineName']->value,$_smarty_tpl->tpl_vars['progress_line_array']->value)){?>selected<?php }?> ><?php echo getTranslatedString($_smarty_tpl->tpl_vars['lineName']->value,'ITS4YouReports');?>
</option><?php } ?></select></div></div></div>
<?php }} ?>

View File

@@ -0,0 +1,126 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 13:34:11
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/ProviderManager.tpl" */ ?>
<?php /*%%SmartyHeaderCode:183164313268da60a3206986-81963823%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c6ead19d093282e18581e0409a63da4262e74d82' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/ProviderManager.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '183164313268da60a3206986-81963823',
'function' =>
array (
),
'variables' =>
array (
'providers' => 0,
'label' => 0,
'type' => 0,
'subtype' => 0,
'sublabel' => 0,
'connections' => 0,
'providerLabel' => 0,
'items' => 0,
'connection' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da60a324721',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da60a324721')) {function content_68da60a324721($_smarty_tpl) {?><div class="container-fluid" id="moduleManagerContents">
<div class="editViewHeader">
<h4>
<div class="pull-right">
<select id="addConnection" style="width:400px;" data-placeholder="<?php echo vtranslate('add new Connection','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['type'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['providers']->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['type']->value = $_smarty_tpl->tpl_vars['label']->key;
?>
<?php if (!is_array($_smarty_tpl->tpl_vars['label']->value)){?>
<option value="<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['label']->value;?>
</option>
<?php }else{ ?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['label']->value['label'];?>
">
<?php $_smarty_tpl->tpl_vars['sublabel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sublabel']->_loop = false;
$_smarty_tpl->tpl_vars['subtype'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['label']->value['provider']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sublabel']->key => $_smarty_tpl->tpl_vars['sublabel']->value){
$_smarty_tpl->tpl_vars['sublabel']->_loop = true;
$_smarty_tpl->tpl_vars['subtype']->value = $_smarty_tpl->tpl_vars['sublabel']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['subtype']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['sublabel']->value;?>
</option>
<?php } ?>
</optgroup>
<?php }?>
<?php } ?>
</select>
<button type="submit" id="addConnectionBtn" class="btn btn-primary" style="margin-top:0;vertical-align:top;"><?php echo vtranslate('add Connection','Settings:Workflow2');?>
</button>
</div>
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
</a> &raquo;
<?php echo vtranslate('Provider Manager','Workflow2');?>
</h4>
</div>
<div class="listViewActionsDiv">
<table class="table table-condensed">
<?php $_smarty_tpl->tpl_vars['items'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['items']->_loop = false;
$_smarty_tpl->tpl_vars['type'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['connections']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['items']->key => $_smarty_tpl->tpl_vars['items']->value){
$_smarty_tpl->tpl_vars['items']->_loop = true;
$_smarty_tpl->tpl_vars['type']->value = $_smarty_tpl->tpl_vars['items']->key;
?>
<tr>
<th colspan="3"><strong><?php echo $_smarty_tpl->tpl_vars['providerLabel']->value[$_smarty_tpl->tpl_vars['type']->value];?>
</strong></th>
</tr>
<?php $_smarty_tpl->tpl_vars['connection'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['connection']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['connection']->key => $_smarty_tpl->tpl_vars['connection']->value){
$_smarty_tpl->tpl_vars['connection']->_loop = true;
?>
<tr>
<td></td>
<td><?php echo $_smarty_tpl->tpl_vars['connection']->value['title'];?>
</td>
<td>
<input type="button" class="btn btn-success editProviderBtn" data-id="<?php echo $_smarty_tpl->tpl_vars['connection']->value['id'];?>
" data-type="<?php echo $_smarty_tpl->tpl_vars['connection']->value['type'];?>
" value="<?php echo vtranslate('Edit','Settings:Workflow2');?>
" />
<input type="button" class="btn btn-danger delProviderBtn" data-id="<?php echo $_smarty_tpl->tpl_vars['connection']->value['id'];?>
" data-type="<?php echo $_smarty_tpl->tpl_vars['connection']->value['type'];?>
" value="<?php echo vtranslate('delete','Settings:Workflow2');?>
" />
</td>
</tr>
<?php } ?>
<?php } ?>
</table>
</div>
<br/>
<br/>
<a href="https://support.stefanwarnat.de/en:extensions:workflowdesigner:providermanager" target="_blank"><strong><?php echo vtranslate('read documentation for more information','Settings:Workflow2');?>
</strong></a>
</div>
<?php }} ?>

View File

@@ -0,0 +1,25 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-06 17:02:00
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewPostProcess.tpl" */ ?>
<?php /*%%SmartyHeaderCode:41581551868e3cbd86bc277-73782032%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd7170b29735ec543e04ccfd484d0bafae451ca28' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Reports/ListViewPostProcess.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '41581551868e3cbd86bc277-73782032',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e3cbd86bccd',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e3cbd86bccd')) {function content_68e3cbd86bccd($_smarty_tpl) {?>
</div>
</div>
<?php }} ?>

View File

@@ -0,0 +1,37 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:53:04
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Password.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15746134468e8bb607f3b12-84296763%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'da5e37c4f3c21a1dd5e7760599c68632af683a1c' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Password.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '15746134468e8bb607f3b12-84296763',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'MODULE' => 0,
'FIELD_NAME' => 0,
'SPECIAL_VALIDATOR' => 0,
'FIELD_INFO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb607feec',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb607feec')) {function content_68e8bb607feec($_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["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
" type="password" 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 echo $_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['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 }} ?>

View File

@@ -0,0 +1,24 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-10 10:52:41
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/ListViewFooter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:110112870868e8bb498a0f54-85218269%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'db808d9b946f88a37ea8f4ae2437f1b58a1da029' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Users/ListViewFooter.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '110112870868e8bb498a0f54-85218269',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68e8bb498a1b1',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68e8bb498a1b1')) {function content_68e8bb498a1b1($_smarty_tpl) {?>
</div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,176 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 17:26:47
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskMessage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:123241987068da9727e023c8-32687629%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd7bf17ec9a9615841e7c3eb4beccbadf61c69ee' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskMessage.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '123241987068da9727e023c8-32687629',
'function' =>
array (
),
'variables' =>
array (
'isFrontendWorkflow' => 0,
'MOD' => 0,
'task' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da9727e52ae',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da9727e52ae')) {function content_68da9727e52ae($_smarty_tpl) {?><div>
<?php if ($_smarty_tpl->tpl_vars['isFrontendWorkflow']->value==true){?>
<p class="alert alert-warning"><?php echo vtranslate('Please be sure to use the correct Task. There is another Block "Show Message" special for Frontend Workflows.<br/>This Task do <strong>NOT</strong> show messages during EditView.','Settings:Workflow2');?>
</p>
<?php }?>
<table width="100%" cellspacing="0" cellpadding="0" class="newTable">
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_MESSAGE_TYPE'];?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<select name="task[type]" class="select2" style="width:150px;">
<option value="info" <?php if ($_smarty_tpl->tpl_vars['task']->value['type']=='info'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_MESSAGE_TYPE_INFO'];?>
</option>
<option value="success" <?php if ($_smarty_tpl->tpl_vars['task']->value['type']=='success'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_MESSAGE_TYPE_SUCCESS'];?>
</option>
<option value="error" <?php if ($_smarty_tpl->tpl_vars['task']->value['type']=='error'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_MESSAGE_TYPE_ERROR'];?>
</option>
</select>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('LBL_MESSAGE_TITLE','Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<div class="insertTextfield" data-name="task[subject]" data-id="subject"><?php echo $_smarty_tpl->tpl_vars['task']->value['subject'];?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('LBL_MESSAGE','Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<div class="insertTextfield" data-name="task[message]" data-id="message"><?php echo $_smarty_tpl->tpl_vars['task']->value['message'];?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('LBL_MESSAGE_SHOW_ONCE','Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<input type="checkbox" name="task[show_once]" value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['show_once']=="1"){?>checked='checked'<?php }?>>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('LBL_MESSAGE_SHOW_UNTIL','Workflow2');?>
<br/>(YYYY-MM-DD HH:MM)</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<div class="insertTextfield" data-name="task[show_until]" data-id="show_until"><?php echo $_smarty_tpl->tpl_vars['task']->value['show_until'];?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_MESSAGE_POSITION'];?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<select name="task[position]" class="select2" style="width:150px;">
<option value="top" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='top'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_TOP'];?>
</option>
<option value="topLeft" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='topLeft'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_TOP'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_LEFT'];?>
</option>
<option value="topCenter" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='topCenter'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_TOP'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_CENTER'];?>
</option>
<option value="topRight" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='topRight'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_TOP'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_RIGHT'];?>
</option>
<option value="centerLeft" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='centerLeft'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_CENTER'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_LEFT'];?>
</option>
<option value="center" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='center'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_CENTER'];?>
</option>
<option value="centerRight" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='centerRight'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_CENTER'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_RIGHT'];?>
</option>
<option value="bottomLeft" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='bottomLeft'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_BOTTOM'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_LEFT'];?>
</option>
<option value="bottomCenter" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='bottom'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_BOTTOM'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_CENTER'];?>
</option>
<option value="bottomRight" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='bottomRight'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_BOTTOM'];?>
<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_RIGHT'];?>
</option>
<option value="bottom" <?php if ($_smarty_tpl->tpl_vars['task']->value['position']=='bottom'){?>selected='selected'<?php }?>><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_POS_BOTTOM'];?>
</option>
</select>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('Assign message to record or user','Settings:Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<select name="task[target]" onchange="jQuery('#targetUserChooser').css('visibility', this.value == 'user' ? 'visible' : 'hidden');jQuery('#targetRecordChooser').css('visibility', this.value == 'record' ? 'visible' : 'hidden');" class="select2" style="width:150px;">
<option value="record" <?php if (empty($_smarty_tpl->tpl_vars['task']->value['target'])||$_smarty_tpl->tpl_vars['task']->value['target']=='record'){?>selected='selected'<?php }?>><?php echo vtranslate('Record','Settings:Workflow2');?>
</option>
<option value="user" <?php if ($_smarty_tpl->tpl_vars['task']->value['target']=='user'){?>selected='selected'<?php }?>><?php echo vtranslate('User','Settings:Workflow2');?>
</option>
</select>
</td>
</tr>
<tr id="targetUserChooser" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['target']!='user'){?>visibility: hidden;<?php }?>">
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('Assign message to this user','Settings:Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<select name="task[targetUser]" class="select2" style="width:150px;">
<option value="current_user_id" <?php if (empty($_smarty_tpl->tpl_vars['task']->value['targetUser'])||$_smarty_tpl->tpl_vars['task']->value['targetUser']=='current_user'){?>selected='selected'<?php }?>><?php echo vtranslate('LBL_CURRENT_USER','Settings:Workflow2');?>
</option>
<option value="assigned_user_id" <?php if ($_smarty_tpl->tpl_vars['task']->value['targetUser']=='assigned'||$_smarty_tpl->tpl_vars['task']->value['targetUser']=='assigned_user_id'){?>selected='selected'<?php }?>><?php echo vtranslate('assigned to User','Settings:Workflow2');?>
</option>
<option value="modifiedby" <?php if ($_smarty_tpl->tpl_vars['task']->value['targetUser']=='modified'||$_smarty_tpl->tpl_vars['task']->value['targetUser']=='modifiedby'){?>selected='selected'<?php }?>><?php echo vtranslate('modified by User','Settings:Workflow2');?>
</option>
</select>
</td>
</tr>
<tr>
<td class="dvtCellInfo" align="right" width="25%">&nbsp;</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
&nbsp;
</td>
</tr>
<tr id="targetRecordChooser" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['target']!='record'){?>visibility: hidden;<?php }?>">
<td class="dvtCellLabel" align="right" width="25%"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_MESSAGE_TARGET'];?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<div class="insertTextfield" data-name="task[targetId]" data-id="targetId"><?php echo $_smarty_tpl->tpl_vars['task']->value['targetId'];?>
</div>
</td>
</tr>
</table>
</div><?php }} ?>

View File

@@ -0,0 +1,41 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-29 15:22:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Labels.tpl" */ ?>
<?php /*%%SmartyHeaderCode:184523478868da79ed6f2ea8-40966397%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'e0e6777a93492afe3960f16fd39f3d19b3516493' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Labels.tpl',
1 => 1715769019,
2 => 'file',
),
),
'nocache_hash' => '184523478868da79ed6f2ea8-40966397',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'GLOBAL_LANG_LABELS' => 0,
'THEME_MODE' => 0,
'MODULE_LANG_LABELS' => 0,
'CUSTOM_LANG_LABELS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68da79ed6fab9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68da79ed6fab9')) {function content_68da79ed6fab9($_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';
?>
<div class="tab-pane" id="pdfContentLabels"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br><div id="labels_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_GLOBAL_LANG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="global_lang" id="global_lang" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['GLOBAL_LANG_LABELS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-warning InsertIntoTemplate" data-type="global_lang" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_MODULE_LANG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="module_lang" id="module_lang" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MODULE_LANG_LABELS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-warning InsertIntoTemplate" data-type="module_lang" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_CUSTOM_LABELS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
:</label><div class="controls col-sm-9"><div class="input-group"><select name="custom_lang" id="custom_lang" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['CUSTOM_LANG_LABELS']->value),$_smarty_tpl);?>
</select><div class="input-group-btn"><button type="button" class="btn btn-warning InsertIntoTemplate" data-type="custom_lang" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i class="fa fa-text-width"></i></button></div></div></div></div></div></div></div><?php }} ?>

Some files were not shown because too many files have changed in this diff Show More