{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2018 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {$pageTitle}

{$pageTitle}

{$reportDate}

{ts}Case Summary{/ts}

{ts}Client{/ts} {ts}Case Type{/ts} {ts}Status{/ts} {ts}Start Date{/ts} {ts}Case ID{/ts}
{$case.clientName} {$case.caseType} {$case.status} {$case.start_date} {$caseId}

{ts}Case Roles{/ts}

{foreach from=$caseRelationships item=row key=relId} {/foreach} {foreach from=$caseRoles item=relName key=relTypeID} {if $relTypeID neq 'client'} {else} {/if} {/foreach}
{ts}Case Role{/ts} {ts}Name{/ts} {ts}Phone{/ts} {ts}Email{/ts}
{$row.relation} {$row.name} {$row.phone} {$row.email}
{$relName} {ts}(not assigned){/ts}
{$relName.role} {$relName.sort_name} {$relName.phone} {$relName.email}

{if $otherRelationships} {foreach from=$otherRelationships item=row key=relId} {/foreach}
{ts}Client Relationship{/ts} {ts}Name{/ts} {ts}Phone{/ts} {ts}Email{/ts}
{$row.relation} {$row.name} {$row.phone} {$row.email}

{/if} {if $globalRelationships} {foreach from=$globalRelationships item=row key=relId} {/foreach}
{$globalGroupInfo.title} {ts}Phone{/ts} {ts}Email{/ts}
{$row.sort_name} {$row.phone} {$row.email}
{/if} {if $caseCustomFields} {foreach from=$caseCustomFields item=group}

{$group.title}

{foreach from=$group.values item=row} {/foreach}
{$row.label} {$row.value}
{/foreach} {/if}

{ts}Case Activities{/ts}

{foreach from=$activities item=activity key=key} {foreach from=$activity item=field name=fieldloop} {if $field.label eq 'Activity Type' or $field.label eq 'Status'} {elseif $field.label eq 'Details' or $field.label eq 'Subject'} {else} {/if} {/foreach}
{$field.label|escape}{$field.value|escape}{$field.value}{$field.value|escape}

{/foreach}