{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* CiviCase - view case screen*}
{* here we are showing related cases w/ jquery dialog *} {if $showRelatedCases} {include file="CRM/Case/Form/ViewRelatedCases.tpl"} {* Main case view *} {else}

{ts}Summary{/ts}

{if $multiClient} {/if} {if not $multiClient} {/if}
{ts}Clients:{/ts} {foreach from=$caseRoles.client item=client name=clients} {$client.display_name}{if not $smarty.foreach.clients.last},   {/if} {/foreach}
{if $hasRelatedCases} {/if}
{foreach from=$caseRoles.client item=client} {if $client.phone} {/if} {if $client.birth_date} {/if} {/foreach}
{$client.display_name}
{$client.phone}
{ts}DOB{/ts}: {$client.birth_date|crmDate}
{if $hasRelatedCases} {/if}
{ts}Subject{/ts}: {$caseDetails.case_subject} {ts}Type{/ts}: {$caseDetails.case_type}  {ts}Status{/ts}: {$caseDetails.case_status}  {ts}Open Date{/ts}: {$caseDetails.case_start_date|crmDate}  {ts}ID{/ts}: {$caseID}
{if $hookCaseSummary}
{foreach from=$hookCaseSummary item=val key=div_id}
{$val.value}
{/foreach}
{/if}

{$form.add_activity_type_id.html} {if $hasAccessToAllCases}   {$form.timeline_id.html}{$form._qf_CaseView_next.html}   {$form.report_id.html} {/if}

{if $hasAccessToAllCases} {ts}Print Report{/ts} {/if} {if $mergeCases} {ts}Merge Case{/ts} {$form._qf_CaseView_next_merge_case.html} {$form.merge_case_id.html} {/if} {if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))} {ts}Assign to Another Client{/ts} {/if}

{include file="CRM/Case/Page/CustomDataView.tpl"} {if $hasAccessToAllCases} {/if} {* other relationship section ends *} {include file="CRM/Case/Form/ActivityToCase.tpl"} {* pane to display / edit regular tags or tagsets for cases *} {if $showTags OR $showTagsets}
{ts}Case Tags{/ts}
{assign var="tagExits" value=0} {if $tags}
  {$tags}
{assign var="tagExits" value=1} {/if} {foreach from=$tagsetInfo_case item=displayTagset} {if $displayTagset.entityTagsArray}
  {$displayTagset.parentName}: {foreach from=$displayTagset.entityTagsArray item=val name="tagsetList"}  {$val.name}{if !$smarty.foreach.tagsetList.last},{/if} {/foreach}
{assign var="tagExits" value=1} {/if} {/foreach} {if !$tagExits }
{ts}There are no tags currently assigned to this case.{/ts}
{/if}
{$form.case_tag.label}
{$form.case_tag.html}

{include file="CRM/common/Tag.tpl" tagsetType='case'}

{/if} {* end of tag block*} {include file="CRM/Case/Form/ActivityTab.tpl"}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{include file="CRM/Case/Form/ActivityChangeStatusJs.tpl"} {/if} {* view related cases if end *}