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