Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.3 | | |
4 | +--------------------------------------------------------------------+ | |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
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 | <?xml version="1.0" encoding="UTF-8"?> | |
27 | <Case> | |
28 | <Client>{$case.clientName}</Client> | |
29 | <CaseType>{$case.caseType}</CaseType> | |
30 | <CaseSubject>{$case.subject|escape}</CaseSubject> | |
31 | <CaseStatus>{$case.status}</CaseStatus> | |
32 | <CaseOpen>{$case.start_date}</CaseOpen> | |
33 | <CaseClose>{$case.end_date}</CaseClose> | |
34 | <ActivitySet> | |
35 | <Label>{$activitySet.label}</Label> | |
36 | <IncludeActivities>{$includeActivities}</IncludeActivities> | |
37 | <Redact>{$isRedact}</Redact> | |
38 | {foreach from=$activities item=activity} | |
39 | <Activity> | |
40 | <EditURL>{$activity.editURL}</EditURL> | |
41 | <Fields> | |
42 | {foreach from=$activity.fields item=field} | |
43 | <Field> | |
44 | <Label>{$field.label|escape}</Label> | |
45 | {if $field.category} | |
46 | <Category>{$field.category|escape}</Category> | |
47 | {/if} | |
48 | <Value>{$field.value|escape}</Value> | |
49 | <Type>{$field.type}</Type> | |
50 | </Field> | |
51 | {/foreach} | |
52 | {if $activity.customGroups} | |
53 | <CustomGroups> | |
54 | {foreach from=$activity.customGroups key=customGroupName item=customGroup} | |
55 | <CustomGroup> | |
56 | <GroupName>{$customGroupName|escape}</GroupName> | |
57 | {foreach from=$customGroup item=field} | |
58 | <Field> | |
59 | <Label>{$field.label|escape}</Label> | |
60 | <Value>{$field.value|escape}</Value> | |
61 | <Type>{$field.type}</Type> | |
62 | </Field> | |
63 | {/foreach} | |
64 | </CustomGroup> | |
65 | {/foreach} | |
66 | </CustomGroups> | |
67 | {/if} | |
68 | </Fields> | |
69 | </Activity> | |
70 | {/foreach} | |
71 | </ActivitySet> | |
72 | </Case> | |
73 |