Subversion Repositories SmartDukaan

Rev

Rev 2830 | Rev 3096 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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