- 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.
100 lines
5.2 KiB
Smarty
100 lines
5.2 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="reportContents">
|
|
<form class="form-horizontal recordEditView" id="report_step1" method="post" action="index.php">
|
|
<input type="hidden" name="module" value="{$MODULE}" />
|
|
<input type="hidden" name="view" value="{$VIEW}" />
|
|
<input type="hidden" name="mode" value="step2" />
|
|
<input type="hidden" class="step" value="1" />
|
|
<input type="hidden" name="isDuplicate" value="{$IS_DUPLICATE}" />
|
|
<input type="hidden" name="record" value="{$RECORD_ID}" />
|
|
<input type=hidden id="relatedModules" data-value='{ZEND_JSON::encode($RELATED_MODULES)}' />
|
|
<div class="well contentsBackground">
|
|
<div class="row-fluid padding1per">
|
|
<span class="span3">{vtranslate('LBL_REPORT_NAME',$MODULE)}<span class="redColor">*</span></span>
|
|
<span class="span7 row-fluid"><input class="span6" data-validation-engine='validate[required]' type="text" name="reportname" value="{$REPORT_MODEL->get('reportname')}"/></span>
|
|
</div>
|
|
<div class="row-fluid padding1per">
|
|
<span class="span3">{vtranslate('LBL_REPORT_FOLDER',$MODULE)}<span class="redColor">*</span></span>
|
|
<span class="span7 row-fluid">
|
|
<select class="chzn-select span6" name="folderid">
|
|
<optgroup>
|
|
|
|
{foreach item=REPORT_FOLDER from=$REPORT_FOLDERS}
|
|
<option value="{$REPORT_FOLDER->getId()}"
|
|
{if $REPORT_FOLDER->getId() eq $REPORT_MODEL->get('folderid')}
|
|
selected=""
|
|
{/if}
|
|
>{vtranslate($REPORT_FOLDER->getName(), $MODULE)}</option>
|
|
{/foreach}
|
|
</optgroup>
|
|
</select>
|
|
</span>
|
|
</div>
|
|
<div class="row-fluid padding1per">
|
|
<span class="span3">{vtranslate('PRIMARY_MODULE',$MODULE)}<span class="redColor">*</span></span>
|
|
<span class="span7 row-fluid">
|
|
<select class="span6 chzn-select" id="primary_module" name="primary_module" {if $RECORD_ID and $REPORT_MODEL->getPrimaryModule() and $IS_DUPLICATE neq true} disabled="disabled"{/if}>
|
|
<optgroup>
|
|
{foreach key=RELATED_MODULE_KEY item=RELATED_MODULE from=$MODULELIST}
|
|
<option value="{$RELATED_MODULE_KEY}" {if $REPORT_MODEL->getPrimaryModule() eq $RELATED_MODULE_KEY } selected="selected"{/if}>
|
|
{vtranslate($RELATED_MODULE_KEY,$RELATED_MODULE_KEY)}
|
|
</option>
|
|
{/foreach}
|
|
</optgroup>
|
|
</select>
|
|
{if $RECORD_ID and $REPORT_MODEL->getPrimaryModule() and $IS_DUPLICATE neq true}
|
|
<input type="hidden" name="primary_module" value="{$REPORT_MODEL->getPrimaryModule()}" />
|
|
{/if}
|
|
</span>
|
|
</div>
|
|
<div class="row-fluid padding1per">
|
|
<span class="span3">
|
|
<div>{vtranslate('LBL_SELECT_RELATED_MODULES',$MODULE)}</div>
|
|
<div>({vtranslate('LBL_MAX',$MODULE)} 2)</div>
|
|
</span>
|
|
<span class="span7 row-fluid">
|
|
{assign var=SECONDARY_MODULES_ARR value=explode(':',$REPORT_MODEL->getSecondaryModules())}
|
|
{assign var=PRIMARY_MODULE value=$REPORT_MODEL->getPrimaryModule()}
|
|
|
|
{if $PRIMARY_MODULE eq ''}
|
|
{foreach key=PARENT item=RELATED from=$RELATED_MODULES name=relatedlist}
|
|
{if $smarty.foreach.relatedlist.index eq 0}
|
|
{assign var=PRIMARY_MODULE value=$PARENT}
|
|
{/if}
|
|
{/foreach}
|
|
{/if}
|
|
{assign var=PRIMARY_RELATED_MODULES value=$RELATED_MODULES[$PRIMARY_MODULE]}
|
|
<select class="span6 select2-container" id="secondary_module" multiple name="secondary_modules[]"
|
|
data-placeholder="{vtranslate('LBL_SELECT_RELATED_MODULES',$MODULE)}" {if $RECORD_ID and $REPORT_MODEL->getSecondaryModules() and $IS_DUPLICATE neq true} disabled="disabled"{/if}>
|
|
{foreach key=PRIMARY_RELATED_MODULE item=PRIMARY_RELATED_MODULE_LABEL from=$PRIMARY_RELATED_MODULES}
|
|
<option {if in_array($PRIMARY_RELATED_MODULE,$SECONDARY_MODULES_ARR)} selected="" {/if} value="{$PRIMARY_RELATED_MODULE}">{$PRIMARY_RELATED_MODULE_LABEL}</option>
|
|
{/foreach}
|
|
</select>
|
|
{if $RECORD_ID and $REPORT_MODEL->getSecondaryModules() and $IS_DUPLICATE neq true}
|
|
<input type="hidden" name="secondary_modules[]" value="{$REPORT_MODEL->getSecondaryModules()}" />
|
|
{/if}
|
|
</span>
|
|
</div>
|
|
<div class="row-fluid padding1per">
|
|
<span class="span3">{vtranslate('LBL_DESCRIPTION',$MODULE)}</span>
|
|
<span class="span7"><textarea class="span6" type="text" name="description" >{$REPORT_MODEL->get('description')}</textarea></span>
|
|
</div>
|
|
</div>
|
|
<div class="pull-right">
|
|
<button type="submit" class="btn btn-success nextStep"><strong>{vtranslate('LBL_NEXT',$MODULE)}</strong></button>
|
|
<a onclick='window.history.back()' class="cancelLink cursorPointer">{vtranslate('LBL_CANCEL',$MODULE)}</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{/strip} |