Files
crm.clientright.ru/layouts/v7/modules/Calendar/TaskManagement.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

92 lines
5.4 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}
<div id="taskManagementContainer" class='fc-overlay-modal modal-content' style="height:100%;">
<input type="hidden" name="colors" value='{json_encode($COLORS)}'>
<div class="overlayHeader">
{* SalesPlatform.ru begin *}
{* {assign var=HEADER_TITLE value="TASK MANAGEMENT"} *}
{assign var=HEADER_TITLE value=vtranslate('TASK MANAGEMENT', 'Calendar')}
{* SalesPlatform.ru end *}
{include file="ModalHeader.tpl"|vtemplate_path:$MODULE TITLE=$HEADER_TITLE}
</div>
<hr style="margin:0px;">
<div class='modal-body overflowYAuto'>
<div class='datacontent'>
<div class="data-header clearfix">
<div class="btn-group dateFilters pull-left" role="group" aria-label="...">
<button type="button" class="btn btn-default {if $TASK_FILTERS['date'] eq "all"}active{/if}" data-filtermode="all">{vtranslate('LBL_ALL', $MODULE)}</button>
<button type="button" class="btn btn-default {if $TASK_FILTERS['date'] eq "today"}active{/if}" data-filtermode="today">{vtranslate('LBL_TODAY', $MODULE)}</button>
<button type="button" class="btn btn-default {if $TASK_FILTERS['date'] eq "thisweek"}active{/if}" data-filtermode="thisweek">{vtranslate('LBL_THIS_WEEK', $MODULE)}</button>
<button type="button" class="btn btn-default dateRange dateField" data-calendar-type="range" data-filtermode="range"><i class="fa fa-calendar"></i></button>
<button type="button" class="btn btn-default hide rangeDisplay">
<span class="selectedRange"></span>&nbsp;
<i class="fa fa-times clearRange"></i>
</button>
</div>
<div id="taskManagementOtherFilters" class="otherFilters pull-right" style="width:550px;">
<div class='field pull-left' style="width:250px;padding-right: 5px;">
{include file="modules/Calendar/uitypes/OwnerFieldTaskSearchView.tpl" FIELD_MODEL=$OWNER_FIELD}
</div>
<div class='field pull-left' style="width:250px;padding-right: 5px;">
{assign var=FIELD_MODEL value=$STATUS_FIELD}
{assign var=FIELD_INFO value=$FIELD_MODEL->getFieldInfo()}
{assign var=PICKLIST_VALUES value=$FIELD_INFO['picklistvalues']}
{assign var=FIELD_INFO value=Vtiger_Util_Helper::toSafeHTML(Zend_Json::encode($FIELD_INFO))}
{assign var=SEARCH_VALUES value=explode(',',$SEARCH_INFO['searchValue'])}
<select class="select2 listSearchContributor" name="{$FIELD_MODEL->get('name')}" multiple data-fieldinfo='{$FIELD_INFO|escape}'>
{foreach item=PICKLIST_LABEL key=PICKLIST_KEY from=$PICKLIST_VALUES}
<option {if $PICKLIST_KEY|in_array:$TASK_FILTERS['status']}selected{/if} value="{$PICKLIST_KEY}">{$PICKLIST_LABEL}</option>
{/foreach}
</select>
</div>
<div><button class="btn btn-success search"><span class="fa fa-search"></span></button></div>
</div>
</div>
<hr>
<div class="data-body row">
{assign var=MODULE_MODEL value= Vtiger_Module_Model::getInstance($MODULE)}
{assign var=USER_PRIVILEGES_MODEL value= Users_Privileges_Model::getCurrentUserPrivilegesModel()}
{foreach item=PRIORITY from=$PRIORITIES}
<div class="col-lg-4 contentsBlock {strtolower($PRIORITY)} ui-droppable" data-priority='{$PRIORITY}' data-page="{$PAGE}">
<div class="{strtolower($PRIORITY)}-header" style="border-bottom: 2px solid {$COLORS[$PRIORITY]}">
{* SalesPlatform.ru begin *}
{* <div class="title" style="background:{$COLORS[$PRIORITY]}"><span>{$PRIORITY}</span></div> *}
<div class="title" style="background:{$COLORS[$PRIORITY]}"><span>{vtranslate($PRIORITY, 'Vtiger')}</span></div>
{* SalesPlatform.ru end *}
</div>
<br>
<div class="{strtolower($PRIORITY)}-content content" data-priority='{$PRIORITY}' style="border-bottom: 1px solid {$COLORS[$PRIORITY]};padding-bottom: 10px">
{if $USER_PRIVILEGES_MODEL->hasModuleActionPermission($MODULE_MODEL->getId(), 'CreateView')}
<div class="input-group">
<input type="text" class="form-control taskSubject {$PRIORITY}" placeholder="{vtranslate('LBL_ADD_TASK_AND_PRESS_ENTER', $MODULE)}" aria-describedby="basic-addon1" style="width: 99%">
<span class="quickTask input-group-addon js-task-popover-container more cursorPointer" id="basic-addon1" style="border: 1px solid #ddd; padding: 0 13px;">
<a href="#" id="taskPopover" priority='{$PRIORITY}'><i class="fa fa-plus icon"></i></a>
</span>
</div>
{/if}
<br>
<div class='{strtolower($PRIORITY)}-entries container-fluid scrollable dataEntries padding20' style="height:400px;overflow:auto;width:400px;padding-left: 0px;padding-right: 0px;">
</div>
</div>
</div>
{/foreach}
</div>
<div class="editTaskContent hide">
{include file="TaskManagementEdit.tpl"|vtemplate_path:$MODULE}
</div>
</div>
</div>
</div>
{/strip}