{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* Search form and results for CiviCase componenet (Find Cases) *} {if $notConfigured} {* Case types not present. Component is not configured for use. *} {include file="CRM/Case/Page/ConfigureError.tpl"} {else}
{ts}Edit Search Criteria{/ts}
{strip} {include file="CRM/Case/Form/Search/Common.tpl"}
{$form.sort_name.label}  {$form.sort_name.html|crmAddClass:'twenty'} {include file="CRM/common/formButtons.tpl" location="top"}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{/strip}
{if $rowsEmpty || $rows}
{if $rowsEmpty}
{include file="CRM/Case/Form/Search/EmptyResults.tpl"}
{/if} {if $rows}
{* Search request has returned 1 or more matching rows. Display results and collapse the search criteria fieldset. *} {* Search request has returned 1 or more matching rows. *} {* This section handles form elements for action task select and submit *}
{include file="CRM/common/searchResultTasks.tpl"}
{* This section displays the rows along and includes the paging controls *}
{include file="CRM/Case/Form/Selector.tpl" context="Search"}
{* END Actions/Results section *}
{/if}
{/if} {/if}