| 2674 |
vikas |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
| 3090 |
mandeep.dh |
5 |
<script type="text/javascript" src="js/jquery.js"></script>
|
|
|
6 |
<script type="text/javascript" src="js/jquery.dataTables.min.js"></script>
|
|
|
7 |
<script type="text/javascript" src="js/jquery.validate.js"></script>
|
|
|
8 |
<script type="text/javascript" src="js/jquery.truncate.min.js"></script>
|
|
|
9 |
<script type="text/javascript" src="js/common.js"></script>
|
|
|
10 |
<script type="text/javascript" src="js/events.js"></script>
|
| 2734 |
vikas |
11 |
<title>Saholic CRM</title>
|
| 2724 |
vikas |
12 |
<link rel="stylesheet" href="/crm/css/common.css" type="text/css" />
|
|
|
13 |
<link rel="stylesheet" href="/crm/css/demo_table.css" type="text/css" />
|
| 2674 |
vikas |
14 |
</head>
|
|
|
15 |
<body>
|
| 2724 |
vikas |
16 |
<!-- main-->
|
|
|
17 |
<div id="topbar">
|
| 3090 |
mandeep.dh |
18 |
<div id="topbar-left">
|
|
|
19 |
<h2 >Saholic CRM</h2>
|
|
|
20 |
<form method="post" action="">
|
|
|
21 |
<label>
|
|
|
22 |
<span>Customer Id(Email):</span>
|
|
|
23 |
</label>
|
|
|
24 |
<input type="text" name="email" id="email" />
|
|
|
25 |
<label>
|
|
|
26 |
<span>Mobile No:</span>
|
|
|
27 |
</label>
|
|
|
28 |
<input type="text" size="10" name="mobileNumber" id="mobileNumber"/>
|
|
|
29 |
<label>
|
|
|
30 |
<span>Order Id:</span>
|
|
|
31 |
</label>
|
|
|
32 |
<input type="text" name="orderId" size="5" id="orderId"/>
|
|
|
33 |
<label>
|
|
|
34 |
<span>Ticket Id:</span>
|
|
|
35 |
</label>
|
|
|
36 |
<input type="text" name="ticketId" size="4" id="ticketId"/>
|
|
|
37 |
<input type="submit" name="submit" id="submit" value="Submit"/>
|
|
|
38 |
</form>
|
|
|
39 |
</div>
|
|
|
40 |
<div id="topbar-right">
|
|
|
41 |
<label >Welcome $action.getAgentName()</label>
|
|
|
42 |
<br />
|
|
|
43 |
<a href="/crm/change-password.html">
|
|
|
44 |
Change Password
|
|
|
45 |
</a>
|
|
|
46 |
<br />
|
|
|
47 |
<a href="/crm/login!logout">
|
|
|
48 |
Logout
|
|
|
49 |
</a>
|
|
|
50 |
</div>
|
| 2724 |
vikas |
51 |
</div>
|
|
|
52 |
<div id="middle">
|
|
|
53 |
<!-- sidebar-->
|
|
|
54 |
<div id="sidebar">
|
|
|
55 |
<span>User:
|
|
|
56 |
<a alt="Show User Details" title="Show User Details" href="#" userId="$action.getUser().getUserId()" class="show-user-details">
|
|
|
57 |
$action.getUser().getName()
|
| 3090 |
mandeep.dh |
58 |
</a>
|
| 2724 |
vikas |
59 |
</span>
|
|
|
60 |
<br/>
|
|
|
61 |
<span>Email: $action.getUser().getEmail()</span>
|
|
|
62 |
<br/>
|
| 3090 |
mandeep.dh |
63 |
<span>Last Login: <br/>
|
|
|
64 |
$action.getLastLogin()
|
|
|
65 |
</span>
|
| 2724 |
vikas |
66 |
<br/>
|
| 3090 |
mandeep.dh |
67 |
<br/>
|
| 2724 |
vikas |
68 |
<span>Orders:
|
|
|
69 |
<a alt="Show Orders" title="Show orders" href="#" userId="$action.getUser().getUserId()" class="show-orders">
|
|
|
70 |
$action.getOrderCount()
|
|
|
71 |
</a>
|
|
|
72 |
</span>
|
|
|
73 |
<br/>
|
|
|
74 |
<span>Completed Orders: $action.getCompletedOrderCount()</span>
|
|
|
75 |
<br/>
|
|
|
76 |
<span>Open Orders: $action.getOpenOrderCount()</span>
|
|
|
77 |
<br/>
|
|
|
78 |
<span>Failed Orders: $action.getFailedOrderCount()</span>
|
|
|
79 |
<br/>
|
|
|
80 |
<br/>
|
|
|
81 |
<span>Cart :
|
|
|
82 |
<a alt="Show Cart" title="Show Cart" href="#" userId="$action.getUser().getUserId()" cartId="$action.getUser().getActiveCartId()" class="show-cart">
|
|
|
83 |
$action.getCartItems()
|
|
|
84 |
</a> $action.getCouponCode()
|
|
|
85 |
</span>
|
|
|
86 |
<br/>
|
|
|
87 |
<br/>
|
| 3090 |
mandeep.dh |
88 |
<span>Ticket History:
|
|
|
89 |
<a alt="Show Tickets" title="Show tickets" href="#" userId="$action.getUser().getUserId()" class="show-tickets">
|
|
|
90 |
$action.getTicketCount()
|
|
|
91 |
</a>
|
|
|
92 |
</span>
|
|
|
93 |
<br/>
|
|
|
94 |
<span>Open tickets: $action.getOpenTicketCount()</span>
|
|
|
95 |
<br/>
|
|
|
96 |
<span>Closed tickets: $action.getClosedTicketCount()</span>
|
|
|
97 |
<br/>
|
|
|
98 |
<a class="create-ticket" userId="$action.getUser().getUserId()" href="#">
|
|
|
99 |
Create new Ticket
|
|
|
100 |
</a>
|
|
|
101 |
<br />
|
|
|
102 |
<br />
|
|
|
103 |
<a alt="Activity" title="Activity" href="#" userId="$action.getUser().getUserId()" class="show-activity">
|
|
|
104 |
Activity
|
|
|
105 |
</a>
|
|
|
106 |
<br />
|
|
|
107 |
<a href="#" class="create-activity" userId="$action.getUser().getUserId()">
|
|
|
108 |
Create new Activity
|
|
|
109 |
</a>
|
|
|
110 |
<br />
|
| 2830 |
vikas |
111 |
<span>User Communications:
|
|
|
112 |
#if ($action.getUserCommunicationCount() > 0)
|
|
|
113 |
<a alt="Show User Communications" title="Show User Communications" href="#" userId="$action.getUser().getUserId()" class="show-user-communication">
|
|
|
114 |
$action.getUserCommunicationCount()
|
|
|
115 |
</a>
|
|
|
116 |
#else
|
|
|
117 |
$action.getUserCommunicationCount()
|
|
|
118 |
#end
|
|
|
119 |
</span>
|
| 2724 |
vikas |
120 |
</div>
|
|
|
121 |
<!-- infopane-->
|
|
|
122 |
<div id="infopane">
|
|
|
123 |
</div>
|
|
|
124 |
</div>
|
|
|
125 |
<div id="footer">
|
|
|
126 |
</div>
|
|
|
127 |
<script type="text/javascript" charset="utf-8">
|
|
|
128 |
$(function(){
|
| 3096 |
mandeep.dh |
129 |
#if($action.getOrderId() != 0)
|
|
|
130 |
loadOrderPane('infopane', $action.getUser().getUserId(), $action.getOrderId());
|
|
|
131 |
#elseif($action.getTicketId() && !$action.getTicketId().isEmpty())
|
|
|
132 |
loadTicketPane('infopane', $action.getUser().getUserId(), $action.getTicketId());
|
|
|
133 |
#else
|
| 2724 |
vikas |
134 |
loadUserPane('infopane', $action.getUser().getUserId());
|
|
|
135 |
#end
|
|
|
136 |
});
|
|
|
137 |
</script>
|
| 2674 |
vikas |
138 |
</body>
|
|
|
139 |
</html>
|