| 3090 |
mandeep.dh |
1 |
#set($messages = $action.getActionErrors())
|
|
|
2 |
#if($messages && $messages.size() != 0)
|
|
|
3 |
#foreach($message in $messages)
|
|
|
4 |
$message <br/>
|
|
|
5 |
#end
|
|
|
6 |
#else
|
|
|
7 |
#set($activity = $action.getActivity())
|
|
|
8 |
#set($ticket = $action.getTicket())
|
|
|
9 |
<div id="activityTopLeft">
|
| 3405 |
mandeep.dh |
10 |
#if(!$activity.isSetCustomerId())
|
|
|
11 |
<label class="bold">Customer Name: </label>
|
|
|
12 |
#if($activity.getCustomerName())
|
|
|
13 |
<span>$activity.getCustomerName()</span>
|
|
|
14 |
#else
|
|
|
15 |
N/A
|
|
|
16 |
#end
|
|
|
17 |
<br/>
|
|
|
18 |
<label class="bold">Customer Mobile No: </label>
|
|
|
19 |
#if($activity.getCustomerMobileNumber())
|
|
|
20 |
<span>$activity.getCustomerMobileNumber()</span>
|
|
|
21 |
#else
|
|
|
22 |
N/A
|
|
|
23 |
#end
|
|
|
24 |
#end
|
|
|
25 |
<br/>
|
| 3397 |
mandeep.dh |
26 |
<label class="bold">Type: </label>
|
|
|
27 |
<span>$activity.getType().name()</span><br/>
|
| 4241 |
anupam.sin |
28 |
<div class="activity-description-bg">
|
|
|
29 |
<label class="bold">Description: </label>
|
|
|
30 |
<pre>$activity.getDescription()</pre></div>
|
| 3499 |
mandeep.dh |
31 |
<br/>
|
| 4241 |
anupam.sin |
32 |
#set($attachments = $action.getAttachments())
|
|
|
33 |
<label class="bold">Attachments: </label>
|
|
|
34 |
#foreach($attachment in $attachments)
|
|
|
35 |
<br/>
|
| 9184 |
manish.sha |
36 |
<a alt="Download Attachment" title="Download Attachment" href="/crm/activity-info!downloadAttachment?attachment=encodeURIComponent($attachment)" attachment="encodeURIComponent($attachment)" target="_blank">
|
| 4241 |
anupam.sin |
37 |
$attachment
|
|
|
38 |
</a>
|
|
|
39 |
#end
|
|
|
40 |
<br/>
|
| 3397 |
mandeep.dh |
41 |
<label class="bold">Timestamp: </label>
|
|
|
42 |
<span>$action.convertDate($activity.getCreationTimestamp())</span><br/>
|
|
|
43 |
<label class="bold">Creator: </label>
|
|
|
44 |
<span>$action.getAgent($activity.getCreatorId()).getEmailId()</span><br/><br />
|
| 3390 |
mandeep.dh |
45 |
#if(!$activity.isIsRead())
|
|
|
46 |
<span ><input type="button" value="Mark as read" activityId="$activity.getId()" id="mark-as-read"/></span><br />
|
|
|
47 |
#end
|
|
|
48 |
<br />
|
| 3090 |
mandeep.dh |
49 |
#if($ticket)
|
| 3397 |
mandeep.dh |
50 |
<label class="bold">Ticket Id: </label>
|
|
|
51 |
<span>$ticket.getId()</span><br/>
|
| 4241 |
anupam.sin |
52 |
<div class="activity-description-bg">
|
|
|
53 |
<label class="bold">Ticket Description: </label>
|
|
|
54 |
<pre>$ticket.getDescription()</pre>
|
|
|
55 |
</div>
|
|
|
56 |
<br/>
|
| 3397 |
mandeep.dh |
57 |
<label class="bold">Date Opened: </label>
|
|
|
58 |
<span>$action.convertDate($ticket.getOpenDate())</span><br/>
|
|
|
59 |
<label class="bold">Date Closed: </label>
|
|
|
60 |
<span>$action.convertDate($ticket.getCloseDate())</span><br/>
|
|
|
61 |
<label class="bold">Ticket Assignee: </label>
|
|
|
62 |
<span>
|
| 3390 |
mandeep.dh |
63 |
#if ($ticket.isSetAssigneeId())
|
|
|
64 |
$action.getAgent($ticket.getAssigneeId()).getEmailId()
|
| 3339 |
mandeep.dh |
65 |
#else
|
| 3390 |
mandeep.dh |
66 |
N/A
|
|
|
67 |
#end
|
|
|
68 |
</span><br/>
|
| 3106 |
mandeep.dh |
69 |
#end
|
| 3090 |
mandeep.dh |
70 |
</div>
|
|
|
71 |
#end
|