Files
crm.clientright.ru/layouts/vlayout/modules/Users/EditView.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

111 lines
5.0 KiB
Smarty

{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("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}
<div class="container-fluid editViewContainer">
<form class="form-horizontal recordEditView equalSplit" id="EditView" name="EditView" method="post" enctype="multipart/form-data" action="index.php">
<input type="hidden" name="module" value="{$MODULE}" />
<input type="hidden" name="action" value="Save" />
<input type="hidden" name="record" value="{$RECORD_ID}" />
<input type="hidden" name="isPreference" value="{$IS_PREFERENCE}" />
<input type=hidden name="timeFormatOptions" data-value='{$DAY_STARTS}' />
{if $IS_RELATION_OPERATION }
<input type="hidden" name="sourceModule" value="{$SOURCE_MODULE}" />
<input type="hidden" name="sourceRecord" value="{$SOURCE_RECORD}" />
<input type="hidden" name="relationOperation" value="{$IS_RELATION_OPERATION}" />
{/if}
{assign var=WIDTHTYPE value=$USER_MODEL->get('rowheight')}
<div class="contentHeader row-fluid">
{assign var=SINGLE_MODULE_NAME value='Single_'|cat:$MODULE}
<span class="span8">
{if $RECORD_ID neq ''}
<h3 class="span8 marginLeftZero" title='{vtranslate('LBL_EDITING', $MODULE)} {vtranslate($SINGLE_MODULE_NAME, $MODULE)} "{$RECORD_STRUCTURE_MODEL->getRecordName()}"'>{vtranslate('LBL_EDITING', $MODULE)} {vtranslate($SINGLE_MODULE_NAME, $MODULE)} "{$RECORD_STRUCTURE_MODEL->getRecordName()}"</h3>
{else}
<h3 class="span8 marginLeftZero" title="{vtranslate('LBL_CREATING_NEW', $MODULE)} {vtranslate($SINGLE_MODULE_NAME, $MODULE)}">{vtranslate('LBL_CREATING_NEW', $MODULE)} {vtranslate($SINGLE_MODULE_NAME, $MODULE)}</h3>
{/if}
</span>
<span class="span4">
<span class="pull-right" style="padding-right: 15px">
<button class="btn btn-success" type="submit"><strong>{vtranslate('LBL_SAVE', $MODULE)}</strong></button>
<a class="cancelLink" type="reset" onclick="javascript:window.history.back();">{vtranslate('LBL_CANCEL', $MODULE)}</a>
</span>
</span>
</div>
<div>
{foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$RECORD_STRUCTURE}
<table class="table table-bordered marginLeftZero">
{if $BLOCK_FIELDS|@count gt 0}
<tr class="listViewActionsDiv">
<th colspan="4">{vtranslate($BLOCK_LABEL, $MODULE)}</th>
</tr>
<tr>
{assign var=COUNTER value=0}
{foreach key=FIELD_NAME item=FIELD_MODEL from=$BLOCK_FIELDS name=blockfields}
{assign var="isReferenceField" value=$FIELD_MODEL->getFieldDataType()}
{assign var="refrenceList" value=$FIELD_MODEL->getReferenceList()}
{assign var="refrenceListCount" value=count($refrenceList)}
{if $COUNTER eq 2}
</tr><tr>
{assign var=COUNTER value=1}
{else}
{assign var=COUNTER value=$COUNTER+1}
{/if}
<td class="fieldLabel {$WIDTHTYPE}">
{if {$isReferenceField} eq "reference"}
{if $refrenceListCount > 1}
<select style="width: 150px;" class="chzn-select" id="referenceModulesList">
<optgroup>
{foreach key=index item=value from=$refrenceList}
<option value="{$value}">{$value}</option>
{/foreach}
</optgroup>
</select>
{/if}
{vtranslate($FIELD_MODEL->get('label'), $MODULE)}
{else}
{vtranslate($FIELD_MODEL->get('label'), $MODULE)}
{/if}
{if $FIELD_MODEL->isMandatory() eq true} <span class="redColor">*</span> {/if}
</td>
<td class="fieldValue {$WIDTHTYPE}" {if $FIELD_MODEL->get('uitype') eq '19'} colspan="3" {assign var=COUNTER value=$COUNTER+1} {/if}>
{include file=$FIELD_MODEL->getUITypeModel()->getTemplateName()|@vtemplate_path:$MODULE}
</td>
{/foreach}
</tr>
{/if}
</table>
<br>
{/foreach}
{* tag cloud starts *}
<table class="table table-bordered marginLeftZero">
<tr class="listViewActionsDiv">
<th colspan="4">{vtranslate('LBL_TAG_CLOUD_DISPLAY', $MODULE)}</th>
</tr>
<tr>
<td class="fieldLabel {$WIDTHTYPE}">{vtranslate('LBL_TAG_CLOUD', $MODULE)}</td>
<td class="fieldValue {$WIDTHTYPE}">
<label><input type="checkbox" name="tagcloudview" {if $TAG_CLOUD} checked {/if} /></label>
</td><td class="{$WIDTHTYPE}"></td><td class="{$WIDTHTYPE}"></td>
</tr>
</table>
<br>
{* tag cloud ends *}
<div class='pull-right'>
<button class="btn btn-success" type="submit"><strong>{vtranslate('LBL_SAVE', $MODULE)}</strong></button>
<a class="cancelLink" type="reset" onclick="javascript:window.history.back();">{vtranslate('LBL_CANCEL', $MODULE)}</a>
</div>
<br><br><br>
</div>
</form>
</div>
{/strip}