Files
crm.clientright.ru/test/templates_c/v7/0a15f4d9d2c19ab3875e2a74c2620f8ec5362194.file.Setter.tpl.php
Fedor ac7467f0b4 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.
2025-10-16 11:17:21 +03:00

128 lines
6.9 KiB
PHP

<?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 }} ?>