Files
crm.clientright.ru/layouts/vlayout/modules/MailManager/Relationship.tpl
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

108 lines
4.3 KiB
Smarty

{*<!--/************************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************/-->*}
{strip}
<form method="POST" action="javascript:void(0);" style="display:inline;" name="relationship">
{if $LINKEDTO}
<table width="100%" cellpadding="2px" cellspacing=0 border=0>
<tr>
<td width="4px"><input type="radio" name="_mlinkto" value="{$LINKEDTO.record}"></td>
<td>{$LINKEDTO.detailviewlink}</td>
<td>{vtranslate($LINKEDTO.module, $moduleName)}</td>
</tr>
<tr>
<td align="center" colspan="3">
{if $LINK_TO_AVAILABLE_ACTIONS|count neq 0}
<select class="small" onchange="MailManager.mail_associate_actions(this.form);" name="_mlinktotype" id="_mlinktotype">
<option value="" class="mm_blur">{vtranslate('LBL_ACTIONS',$MODULE)}</option>
{foreach item=moduleName from=$LINK_TO_AVAILABLE_ACTIONS}
<option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName", 'MailManager')}</option>
{/foreach}
</select>
{/if}
</td>
</tr>
</table>
{/if}
{if $LOOKUPS}
{assign var="LOOKRECATLEASTONE" value=false}
<table width="100%" cellpadding=3 cellspacing=0 border=0>
{foreach item=RECORDS key=MODULE from=$LOOKUPS}
{foreach item=RECORD from=$RECORDS}
{assign var="LOOKRECATLEASTONE" value=true}
<tr>
<td>
<input type="radio" name="_mlinkto" value="{$RECORD.id}" style="align: absmiddle;">
</td>
<td align=left>
<a target="_blank" href='index.php?module={$MODULE}&view=Detail&record={$RECORD.id}'>{$RECORD.label|textlength_check}</a>
</td>
<td align=right>
{assign var=RECORD_MODNAME value=$MODULES.$MODULE.name}
{assign var="SINGLE_MODLABEL" value="SINGLE_$RECORD_MODNAME"}
{vtranslate($SINGLE_MODLABEL, $MODULE)}
</td>
</tr>
{/foreach}
{/foreach}
{if $LOOKRECATLEASTONE}
<tr>
<td colspan="3" align="center">
{if $LINK_TO_AVAILABLE_ACTIONS|count neq 0}
<select class="small" onchange="MailManager.mail_associate_actions(this.form);" name="_mlinktotype" id="_mlinktotype">
<option value="" class="mm_blur">{vtranslate('LBL_ACTIONS',$MODULE)}</option>
{foreach item=moduleName from=$LINK_TO_AVAILABLE_ACTIONS}
<option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName",'MailManager')}</option>
{/foreach}
</select>
{/if}
</td>
</tr>
{else}
<tr>
<td align="center" colspan=3>
{vtranslate('LBL_No_Matching_Record_Found','MailManager')}<br/>
{if $ALLOWED_MODULES|count neq 0}
<select class="small" onchange="MailManager.mail_associate_create_wizard(this.form);" name="_mlinktotype" id="_mlinktotype">
<option value="" class="mm_blur">{vtranslate('LBL_ACTIONS','MailManager')}</option>
{foreach item=moduleName from=$ALLOWED_MODULES}
<option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName", 'MailManager')}</option>
{/foreach}
</select>
{/if}
</td>
</tr>
{/if}
</table>
{else}
{if $LINKEDTO eq ""}
<table width="100%" cellpadding=0 cellspacing=0 border=0>
<tr>
<td align="center" colspan=3>
{vtranslate('LBL_No_Matching_Record_Found','MailManager')}<br/>
{if $ALLOWED_MODULES|count neq 0}
<select class="small" onchange="MailManager.mail_associate_create_wizard(this.form);" name="_mlinktotype" id="_mlinktotype">
<option value="" class="mm_blur">{vtranslate('LBL_ACTIONS','MailManager')}</option>
{foreach item=moduleName from=$ALLOWED_MODULES}
<option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName", 'MailManager')}</option>
{/foreach}
</select>
{/if}
</td>
</tr>
</table>
{/if}
{/if}
<input type="hidden" class="small" name="_folder" value="{$FOLDER}">
<input type="hidden" class="small" name="_msgno" value="{$MSGNO}">
</form>
{/strip}