| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.7 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 6 | +--------------------------------------------------------------------+ |
| 7 | | This file is a part of CiviCRM. | |
| 8 | | | |
| 9 | | CiviCRM is free software; you can copy, modify, and distribute it | |
| 10 | | under the terms of the GNU Affero General Public License | |
| 11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | |
| 12 | | | |
| 13 | | CiviCRM is distributed in the hope that it will be useful, but | |
| 14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 16 | | See the GNU Affero General Public License for more details. | |
| 17 | | | |
| 18 | | You should have received a copy of the GNU Affero General Public | |
| 19 | | License and the CiviCRM Licensing Exception along | |
| 20 | | with this program; if not, contact CiviCRM LLC | |
| 21 | | at info[AT]civicrm[DOT]org. If you have questions about the | |
| 22 | | GNU Affero General Public License or the licensing of CiviCRM, | |
| 23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | |
| 24 | +--------------------------------------------------------------------+ |
| 25 | *} |
| 26 | {if $notConfigured} {* Case types not present. Component is not configured for use. *} |
| 27 | {include file="CRM/Case/Page/ConfigureError.tpl"} |
| 28 | {else} |
| 29 | <tr> |
| 30 | <td><label>{ts}Case Start Date{/ts}</label></td>{include file="CRM/Core/DateRange.tpl" fieldName="case_from" from='_start_date_low' to='_start_date_high'} |
| 31 | </tr> |
| 32 | <tr> |
| 33 | <td><label>{ts}Case End Date{/ts}</label></td>{include file="CRM/Core/DateRange.tpl" fieldName="case_to" from='_end_date_low' to='_end_date_high'} |
| 34 | </tr> |
| 35 | |
| 36 | <tr id='case_search_form'> |
| 37 | <td colspan="2" class="crm-case-common-form-block-case_type" width="25%"> |
| 38 | <label>{$form.case_type_id.label}</label> <br /> |
| 39 | {$form.case_type_id.html} |
| 40 | </td> |
| 41 | |
| 42 | <td class="crm-case-common-form-block-case_status_id" width="25%"> |
| 43 | <label>{$form.case_status_id.label}</label> <br /> |
| 44 | {$form.case_status_id.html} |
| 45 | {if $accessAllCases} |
| 46 | <br /> |
| 47 | {$form.case_owner.html} |
| 48 | {/if} |
| 49 | {if $form.case_deleted} |
| 50 | <br /> |
| 51 | {$form.case_deleted.html} |
| 52 | {$form.case_deleted.label} |
| 53 | {/if} |
| 54 | </td> |
| 55 | {if $form.case_tags} |
| 56 | <td class="crm-case-common-form-block-case_tags"> |
| 57 | <label>{ts}Case Tag(s){/ts}</label> |
| 58 | <div id="Tag" class="listing-box"> |
| 59 | {foreach from=$form.case_tags item="tag_val"} |
| 60 | <div class="{cycle values='odd-row,even-row'}"> |
| 61 | {$tag_val.html} |
| 62 | </div> |
| 63 | {/foreach} |
| 64 | </td> |
| 65 | {/if} |
| 66 | </tr> |
| 67 | |
| 68 | <tr><td colspan="3">{include file="CRM/common/Tagset.tpl" tagsetType='case'}</td></tr> |
| 69 | |
| 70 | {if $caseGroupTree} |
| 71 | <tr> |
| 72 | <td colspan="4"> |
| 73 | {include file="CRM/Custom/Form/Search.tpl" groupTree=$caseGroupTree showHideLinks=false} |
| 74 | </td> |
| 75 | </tr> |
| 76 | {/if} |
| 77 | |
| 78 | {/if} |
| 79 | |