- 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.
80 lines
7.3 KiB
PHP
80 lines
7.3 KiB
PHP
<?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> <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 }} ?>
|