{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| 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}
{$case.clientName} |
{$case.caseType} |
{$case.status} |
{$case.start_date} |
{$caseId} |
{ts}Case Roles{/ts}
{foreach from=$caseRelationships item=row key=relId}
{$row.relation} |
{$row.name} |
{$row.phone} |
{$row.email} |
{/foreach}
{foreach from=$caseRoles item=relName key=relTypeID}
{if $relTypeID neq 'client'}
{$relName} |
{ts}(not assigned){/ts} |
|
|
{else}
{$relName.role} |
{$relName.sort_name} |
{$relName.phone} |
{$relName.email} |
{/if}
{/foreach}
{if $otherRelationships}
{foreach from=$otherRelationships item=row key=relId}
{$row.relation} |
{$row.name} |
{$row.phone} |
{$row.email} |
{/foreach}
{/if}
{if $globalRelationships}
{foreach from=$globalRelationships item=row key=relId}
{$row.sort_name} |
{$row.phone} |
{$row.email} |
{/foreach}
{/if}
{if $caseCustomFields}
{foreach from=$caseCustomFields item=group}
{$group.title}
{foreach from=$group.values item=row}
{$row.label}
| {$row.value} |
{/foreach}
{/foreach}
{/if}
{ts}Case Activities{/ts}
{foreach from=$activities item=activity key=key}
{foreach from=$activity item=field name=fieldloop}
{$field.label|escape} |
{if $field.label eq 'Activity Type' or $field.label eq 'Status'}
{$field.value|escape} |
{elseif $field.label eq 'Details' or $field.label eq 'Subject'}
{$field.value} |
{else}
{$field.value|escape} |
{/if}
{/foreach}
{/foreach}