- 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.
41 lines
1.5 KiB
PHP
41 lines
1.5 KiB
PHP
<?php
|
||
require_once('config.php');
|
||
global $adb;
|
||
|
||
// Проверим все поля модуля Project, включая кириллические
|
||
$query = "SELECT fieldname, fieldlabel FROM vtiger_field WHERE tabid = (SELECT tabid FROM vtiger_tab WHERE name = 'Project') ORDER BY fieldname";
|
||
$result = $adb->pquery($query, array());
|
||
|
||
echo "All fields for Project module:\n";
|
||
while ($row = $adb->fetch_array($result)) {
|
||
$fieldname = $row['fieldname'];
|
||
$fieldlabel = $row['fieldlabel'];
|
||
|
||
// Ищем поля, которые могут быть связаны с заявителем
|
||
if (stripos($fieldlabel, 'заявитель') !== false ||
|
||
stripos($fieldlabel, 'applicant') !== false ||
|
||
stripos($fieldlabel, 'заяв') !== false ||
|
||
stripos($fieldname, 'cf_1994') !== false ||
|
||
stripos($fieldname, 'сf_1994') !== false) { // кириллическая с
|
||
echo "*** $fieldname - $fieldlabel ***\n";
|
||
}
|
||
}
|
||
|
||
// Также проверим структуру таблицы vtiger_project
|
||
echo "\nChecking vtiger_project table structure:\n";
|
||
$query2 = "SHOW COLUMNS FROM vtiger_project";
|
||
$result2 = $adb->pquery($query2, array());
|
||
|
||
while ($row2 = $adb->fetch_array($result2)) {
|
||
$field = $row2['Field'];
|
||
if (stripos($field, 'cf_1994') !== false ||
|
||
stripos($field, 'сf_1994') !== false ||
|
||
stripos($field, 'applicant') !== false ||
|
||
stripos($field, 'заяв') !== false) {
|
||
echo "*** $field - " . $row2['Type'] . " ***\n";
|
||
}
|
||
}
|
||
?>
|
||
|
||
|