Files
crm.clientright.ru/modules/ITS4YouReports/ReportsStep2.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

66 lines
2.3 KiB
PHP

<?php
/*+********************************************************************************
* The content of this file is subject to the Reports 4 You license.
* ("License"); You may not use this file except in compliance with the License
* The Initial Developer of the Original Code is IT-Solutions4You s.r.o.
* Portions created by IT-Solutions4You s.r.o. are Copyright(C) IT-Solutions4You s.r.o.
* All Rights Reserved.
********************************************************************************/
require_once('Smarty_setup.php');
require_once("data/Tracker.php");
require_once('include/logging.php');
require_once('include/utils/utils.php');
require_once('modules/ITS4YouReports/ITS4YouReports.php');
global $app_strings;
global $app_list_strings;
global $mod_strings;
global $list_max_entries_per_page;
global $urlPrefix;
global $currentModule;
global $image_path;
global $theme;
global $focus_list;
$recordid = vtlib_purify($_REQUEST['record']);
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
$smarty_obj = new vtigerCRM_Smarty;
$smarty_obj->assign("MOD", $mod_strings);
$smarty_obj->assign("APP", $app_strings);
if(isset($_REQUEST['parenttab']) && $_REQUEST['parenttab']!=''){
$smarty_obj->assign("CATEGORY", $_REQUEST['parenttab']);
}
$recordid = vtlib_purify($_REQUEST['record']);
$ITS4YouReports = ITS4YouReports::getStoredITS4YouReport();
$smarty_obj->assign("RECORDID",$recordid);
if(isset($_REQUEST['secondarymodule'])){
$smarty_obj->assign("SEC_MODULE",$_REQUEST['secondarymodule']);
}
// show($ITS4YouReports->related_modules);
if(isset($ITS4YouReports->primarymodule) && $ITS4YouReports->primarymodule!=''){
$rel_modules = $ITS4YouReports->getReportRelatedModules($ITS4YouReports->primarymoduleid);
foreach ($rel_modules as $key=>$relmodule) {
$restricted_modules .= $relmodule['id'].":";
}
$smarty_obj->assign("REL_MODULES_STR",trim($restricted_modules, ":"));
$smarty_obj->assign("RELATEDMODULES",$rel_modules);
}
$smarty_obj->assign("FOLDERID",$ITS4YouReports->folder);
$smarty_obj->assign("IMAGE_PATH", $image_path);
$smarty_obj->assign("THEME_PATH", $theme_path);
$smarty_obj = $ITS4YouReports->getSelectedValuesToSmarty($smarty_obj,"ReportsStep2");
$smarty_obj->display(vtlib_getModuleTemplate($currentModule,"ReportsStep2.tpl"));
?>