PATH:
home
/
letacommog
/
crmleta
/
layouts
/
v7
/
modules
/
Vtiger
{*+********************************************************************************** * 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. ************************************************************************************} {* modules/Vtiger/views/FindDuplicates.php *} {* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *} <div> {include file="FindDuplicateHeader.tpl"|vtemplate_path:$MODULE} </div> <div id="findDuplicateContents" class="container-fluid" style="padding-top:5px;"> <div class="row"> <div class="col-lg-12"> <input type="hidden" id="listViewEntriesCount" value="{$LISTVIEW_ENTRIES_COUNT}" /> <input type="hidden" id="pageStartRange" value="{$PAGING_MODEL->getRecordStartRange()}" /> <input type="hidden" id="pageEndRange" value="{$PAGING_MODEL->getRecordEndRange()}" /> <input type="hidden" id="previousPageExist" value="{$PAGING_MODEL->isPrevPageExists()}" /> <input type="hidden" id="nextPageExist" value="{$PAGING_MODEL->isNextPageExists()}" /> <input type="hidden" id="pageNumber" value= "{$PAGE_NUMBER}"/> <input type="hidden" id="pageLimit" value= "{$PAGING_MODEL->getPageLimit()}" /> <input type="hidden" id="noOfEntries" value= "{$LISTVIEW_ENTRIES_COUNT}" /> <input type="hidden" id="duplicateSearchFields" value={Zend_Json::encode($DUPLICATE_SEARCH_FIELDS)} /> <input type="hidden" id="viewName" value="{$VIEW_NAME}" /> <input type="hidden" id="totalCount" value="{$TOTAL_COUNT}" /> <input type='hidden' id='ignoreEmpty' value="{$IGNORE_EMPTY}" /> <input type="hidden" id="mergeSelectedIds" /> {assign var=IS_EDITABLE value=$CURRENT_USER_PRIVILAGES_MODEL->hasModuleActionPermission($MODULE_MODEL->getId(), 'EditView')} {assign var=IS_DELETABLE value=$CURRENT_USER_PRIVILAGES_MODEL->hasModuleActionPermission($MODULE_MODEL->getId(), 'Delete')} <table id="listview-table" class="listview-table table table-bordered" style="border-top:1px solid #ddd;"> <thead> <tr class="listViewContentHeader"> {if $IS_DELETABLE} <th> <center><input type="checkbox" class="listViewEntriesMainCheckBox" /></center> </th> {/if} {foreach item=LISTVIEW_HEADER from=$LISTVIEW_HEADERS} <th> <center>{vtranslate($LISTVIEW_HEADER->get('label'), $MODULE)}</center> </th> {/foreach} {if $IS_EDITABLE && $IS_DELETABLE} <th> <center>{vtranslate('LBL_MERGE_SELECT', $MODULE)}</center></th> <th> <center>{vtranslate('LBL_ACTION', $MODULE)}</center></th> {/if} </tr> </thead> {foreach item=LISTVIEW_ENTRY key=GROUP_NAME from=$LISTVIEW_ENTRIES} {assign var=groupCount value=$LISTVIEW_ENTRY|@sizeof} {assign var=recordCount value=0} {foreach item=RECORD from=$LISTVIEW_ENTRY name=listview} <tr class="listViewEntries" data-id='{$RECORD.recordid}' id="{$MODULE}_listView_row_{$smarty.foreach.listview.index+1}"> {if $IS_DELETABLE} <td> <center><input type="checkbox" value="{$RECORD.recordid}" class="listViewEntriesCheckBox"/></center> </td> {/if} {assign var=sameRowValues value=true} {foreach item=LISTVIEW_HEADER from=$LISTVIEW_HEADERS} {if $LISTVIEW_HEADER->get('name') eq 'recordid'} <td nowrap> <center><a href="{$MODULE_MODEL->getDetailViewUrl($RECORD.recordid)}">{$RECORD[$LISTVIEW_HEADER->get('name')]}</a></center> </td> {else} <td name="{$LISTVIEW_HEADER->get('name')}" nowrap style='border-bottom:1px solid #DDD;' data-value="{strip_tags($LISTVIEW_HEADER->getDisplayValue($RECORD[$LISTVIEW_HEADER->get('column')], $RECORD.recordid))}"> <center>{strip_tags($LISTVIEW_HEADER->getDisplayValue($RECORD[$LISTVIEW_HEADER->get('column')], $RECORD.recordid))}</center> </td> {/if} {/foreach} {if $IS_EDITABLE && $IS_DELETABLE} <td> <center><input type="checkbox" data-id='{$RECORD.recordid}' name="mergeRecord" data-group="{$GROUP_NAME}"/></center> </td> {if $recordCount eq 0} <td rowspan="{$groupCount}" style="vertical-align: middle;"> <center><input type="button" value="{vtranslate('Merge', $MODULE)}" name="merge" class="btn btn-success" data-group="{$GROUP_NAME}"></center> </td> {/if} {/if} {assign var=recordCount value=$recordCount+1} </tr> {/foreach} {/foreach} </table> {if $recordCount eq 0} <div class="col-md-12 col-sm-12 col-xs-12 col-lg-12 listViewContentDiv list-table-wrapper" id="listViewContents"> <table class="emptyRecordsDiv"> <tbody class="overflow-y"> <tr class="emptyRecordDiv"> <td colspan="8"> <div class="emptyRecordsContent portal-empty-records-content"> {vtranslate('LBL_NO_DUPLICATED_FOUND')}. </div> </td> </tr> </tbody> </table> </div> {/if} </div> </div> </div>
[+]
..
[-] ProjectTaskSummaryWidgetContents.tpl
[edit]
[-] RelatedActivities.tpl
[edit]
[-] DetailViewPreProcess.tpl
[edit]
[-] ProjectMilestoneSummaryWidgetContents.tpl
[edit]
[-] JSResources.tpl
[edit]
[-] NotAccessible.tpl
[edit]
[-] ExtensionLogDetail.tpl
[edit]
[-] SummaryViewContents.tpl
[edit]
[-] OverlayDetailView.tpl
[edit]
[-] AdvanceFilterCondition.tpl
[edit]
[-] HelpDeskSummaryWidgetContents.tpl
[edit]
[-] InventoryQuickPreview.tpl
[edit]
[-] SummaryViewWidgets.tpl
[edit]
[-] showMergeTemplates.tpl
[edit]
[-] ContactsSummaryWidgetContents.tpl
[edit]
[+]
uitypes
[-] PopupNavigation.tpl
[edit]
[+]
partials
[-] AdvanceSearch.tpl
[edit]
[-] SummaryWidgets.tpl
[edit]
[-] SendSMSForm.tpl
[edit]
[-] OperationNotPermitted.tpl
[edit]
[-] DocumentsSummaryWidgetContents.tpl
[edit]
[-] UnifiedSearchResultsContents.tpl
[edit]
[-] DetailViewHeaderFieldsView.tpl
[edit]
[-] ListViewActions.tpl
[edit]
[-] CommentsListIteration.tpl
[edit]
[-] ComposeEmailForm.tpl
[edit]
[-] CommentsList.tpl
[edit]
[-] RecentComments.tpl
[edit]
[-] Popup.tpl
[edit]
[-] SearchResults.tpl
[edit]
[-] AddTagUI.tpl
[edit]
[-] TransferRecordOwnership.tpl
[edit]
[-] ListViewRecordActions.tpl
[edit]
[-] ShowAllComments.tpl
[edit]
[-] FindDuplicateContents.tpl
[edit]
[+]
resources
[-] DetailViewHeader.tpl
[edit]
[-] ModalHeader.tpl
[edit]
[-] PopupFooter.tpl
[edit]
[-] OverlaySummaryView.tpl
[edit]
[-] DetailViewHeaderTitle.tpl
[edit]
[-] InventoryListViewQuickPreview.tpl
[edit]
[-] Header.tpl
[edit]
[-] EmailRelatedList.tpl
[edit]
[-] ModuleSummaryView.tpl
[edit]
[-] PopupContents.tpl
[edit]
[-] ListColumnsEdit.tpl
[edit]
[-] ProductsSummaryWidgetContents.tpl
[edit]
[-] ListViewContents.tpl
[edit]
[-] vtiger7ComingSoon.tpl
[edit]
[-] QuickViewCommentsList.tpl
[edit]
[-] ListViewPreProcess.tpl
[edit]
[-] EditView.tpl
[edit]
[-] DetailViewPostProcess.tpl
[edit]
[-] ListViewQuickPreview.tpl
[edit]
[-] RedirectToEditView.tpl
[edit]
[-] IndexViewPreProcess.tpl
[edit]
[+]
dashboards
[-] ListViewHeader.tpl
[edit]
[-] ModuleHeader.tpl
[edit]
[-] RelatedList.tpl
[edit]
[-] Export.tpl
[edit]
[-] EmailPreviewPrint.tpl
[edit]
[-] NoComments.tpl
[edit]
[-] Tag.tpl
[edit]
[-] SelectEmailFields.tpl
[edit]
[-] UI5EmbedView.tpl
[edit]
[-] PDFViewer.tpl
[edit]
[-] Footer.tpl
[edit]
[-] FindDuplicatePostProcess1.tpl
[edit]
[-] TagCloudResults.tpl
[edit]
[-] ListViewQuickPreviewSectionHeader.tpl
[edit]
[-] DetailViewTagList.tpl
[edit]
[-] Comment.tpl
[edit]
[-] QuickCreate.tpl
[edit]
[-] BreadCrumbs.tpl
[edit]
[-] DetailViewFullContents.tpl
[edit]
[-] ShowTagCloud.tpl
[edit]
[-] PicklistColorMap.tpl
[edit]
[-] RecentActivities.tpl
[edit]
[-] FindDuplicatePreProcess.tpl
[edit]
[-] ModalFooter.tpl
[edit]
[-] MergeRecords.tpl
[edit]
[-] ListViewQuickPreviewHeaderTitle.tpl
[edit]
[-] DetailViewActions.tpl
[edit]
[-] AddCommentFooter.tpl
[edit]
[-] AddDashBoardTabForm.tpl
[edit]
[-] AdvanceFilter.tpl
[edit]
[-] Pagination.tpl
[edit]
[-] DetailViewSummaryContents.tpl
[edit]
[-] AddCommentForm.tpl
[edit]
[-] ListViewPostProcess.tpl
[edit]
[-] IndexPostProcess.tpl
[edit]
[-] ExtensionListImportLog.tpl
[edit]
[-] RecordNamesList.tpl
[edit]
[-] OverlayEditView.tpl
[edit]
[-] RecipientPreferences.tpl
[edit]
[-] MassEditForm.tpl
[edit]
[-] TooltipContents.tpl
[edit]
[-] EmailPreview.tpl
[edit]
[-] History.tpl
[edit]
[-] ModuleSearchResults.tpl
[edit]
[-] UnifiedSearchResults.tpl
[edit]
[-] DetailViewBlockView.tpl
[edit]
[-] ModuleRelatedTabs.tpl
[edit]
[-] showDuplicateSearch.tpl
[edit]
[-] ExtensionListLog.tpl
[edit]
[-] Index.tpl
[edit]
[-] CommentThreadList.tpl
[edit]
[-] FindDuplicateHeader.tpl
[edit]