{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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} {foreach from=$relatedCases item=row key=caseId} {/foreach}
{ts}Client Name{/ts} {ts}Case Type{/ts}
{$row.client_name} {$row.case_type} {$row.links}
{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} {if $hasAccessToAllCases} {else} {/if} {if $mergeCases} {/if} {if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))} {/if}
{$form.activity_type_id.label}
{$form.activity_type_id.html} 
{$form.timeline_id.label}
{$form.timeline_id.html} {$form._qf_CaseView_next.html}
{$form.report_id.label}
{$form.report_id.html} 
{ts}Merge Case{/ts} {$form.merge_case_id.html} {$form._qf_CaseView_next_merge_case.html}
{ts}Assign to Another Contact{/ts} {$form.change_client_id.html|crmAddClass:twenty} {$form._qf_CaseView_next_edit_client.html}
{include file="CRM/Case/Page/CustomDataView.tpl"}
{ts}Begin typing last name of contact.{/ts}
{literal} {/literal} {if $hasAccessToAllCases} {/if} {* other relationship section ends *}
{$form.role_type.label}
{$form.role_type.html}

{ts}Begin typing last name of contact.{/ts}
{literal} {/literal} {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'}

{literal} {/literal} {/if} {* end of tag block*} {*include activity view js file*} {include file="CRM/common/activityView.tpl"}
{ts}Activities{/ts}
{ts}Date{/ts} {ts}Subject{/ts} {ts}Type{/ts} {ts}With{/ts} {ts}Reporter / Assignee{/ts} {ts}Status{/ts}    
{literal} {/literal}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{literal} {/literal} {/if} {* view related cases if end *}