Subversion Repositories SmartDukaan

Rev

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

Rev 2176 Rev 2224
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
 
-
 
6
<!-- Prevent MS Office toolbar from changing layout -->
5
    <!-- Prevent MS Office toolbar from changing layout -->
7
<meta http-equiv="imagetoolbar" content="false">
6
    <meta http-equiv="imagetoolbar" content="false">
8
<meta name="MSSmartTagsPreventParsing" content="true">
7
    <meta name="MSSmartTagsPreventParsing" content="true">
9
 
-
 
10
<title>Saholic</title>
8
    <title>Saholic - Completed Orders</title>
11
 
9
 
12
 #include ( "templates/commoncssfiles.vm" )  
10
 #include ( "templates/commoncssfiles.vm" )  
13
 
-
 
14
</head>
11
</head>
15
 
12
 
16
<body>
13
<body>
17
	<noscript>
14
	<noscript>
18
		<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
15
		<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
Line 24... Line 21...
24
		$action.getMainMenuSnippet()
21
		$action.getMainMenuSnippet()
25
		$action.getSearchBarSnippet()
22
		$action.getSearchBarSnippet()
26
 
23
 
27
		<!-- wrapper-->
24
		<!-- wrapper-->
28
		<div id="wrapper">
25
		<div id="wrapper">
-
 
26
            <!-- Product detail -->
-
 
27
            <div id="productDetail">
-
 
28
                <div class="top">
-
 
29
                    <div class="left">
-
 
30
                        <div class="right">&nbsp;</div>
-
 
31
                    </div>
-
 
32
                </div>
-
 
33
                <div class="middle">
-
 
34
                    <div class="content">
-
 
35
                        <form id="frmProductDetail" name="frmProductDetail" method="post" action="">
-
 
36
                            <div class="blockLeft">
-
 
37
                            <!-- breadcrumb -->
-
 
38
                                <div id="breadcrumb"> 
-
 
39
							        <a href="/home">Home</a>&nbsp;&gt; <a href="#" class="deselect">My Account </a> 
-
 
40
                                </div>
-
 
41
                            <!-- /breadcrumb -->
-
 
42
                                <h1 id="productHeading">My Account</h1>
-
 
43
                            </div>
-
 
44
                            <div class="padding_topbottom">&nbsp;</div>
-
 
45
                        </form>
-
 
46
                        <div class="clearBoth"></div>
-
 
47
                    </div>
-
 
48
                </div>
-
 
49
                <div class="bottom">
-
 
50
                    <div class="left">
-
 
51
                        <div class="right"> &nbsp; </div>
-
 
52
                    </div>
-
 
53
                </div>
-
 
54
            </div>
-
 
55
            <!-- /Product detail -->
-
 
56
			<!-- my account -->
-
 
57
            <div id="myAccount">
-
 
58
                <div class="left-grey-top">
-
 
59
                    <div class="left-grey-left">
-
 
60
                        <div class="left-white-right">&nbsp;</div>
-
 
61
                    </div>
-
 
62
                </div>
-
 
63
                <div class="middle">
-
 
64
                    <div class="middle-grey-left">
-
 
65
                        <div class="middle-white-right">
-
 
66
                            <!-- nav -->
-
 
67
                            <div id="myAccountNav">
-
 
68
                                <ul class="menu">
-
 
69
                                    <li class="menu-item first">
-
 
70
                                        <h2>Order History</h2>
-
 
71
                                    </li>
-
 
72
                                    <li class="menu-item">
-
 
73
                                        <a href="/myaccount">Open Orders</a>
-
 
74
                                    </li>
-
 
75
                                    <li class="menu-item">
-
 
76
                                        <a href="/completed-orders"  class="active">Completed Orders</a>
-
 
77
                                    </li>
-
 
78
                                    <li class="menu-item">
-
 
79
                                        <h2 class="spacing">Account Settings</h2>
-
 
80
                                    </li>
-
 
81
                                    <li class="menu-item">
-
 
82
                                        <a href="/personal-details">Personal Details</a>
-
 
83
                                    </li>
-
 
84
                                    <li class="menu-item">
-
 
85
                                        <a href="/login-details">Login Details</a>
-
 
86
                                    </li>
-
 
87
                                    <li class="menu-item last">
-
 
88
                                        <a href="/address">Shipping Address</a>
-
 
89
                                    </li>
-
 
90
                                </ul>
-
 
91
                            </div>
-
 
92
                            <!-- /nav -->
-
 
93
                        <!-- content -->
-
 
94
                            <div class="content">
-
 
95
                                <h1>Completed Orders</h1>
-
 
96
						#set($orders = $action.getOrders())
29
			$action.getMyaccountHeaderSnippet()
97
						#set($orderDate = $action.getOrderDate())
-
 
98
						#set($providerNames = $action.getProviderNames())
-
 
99
						
-
 
100
                        #if($orders && $orders.size() != 0)
-
 
101
                                <div class="note">Note: For Tracking click on AWB number. For order details click on Order ID</div>
-
 
102
                                <table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
-
 
103
                                <thead>
-
 
104
                                    <tr>
-
 
105
                                        <th width="14%">Order ID</th>
-
 
106
                                        <th width="17%">Ordered on</th>
-
 
107
                                        <th width="15%">
-
 
108
                                            <span class="price">Price</span>
-
 
109
                                            <img src="images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
-
 
110
                                        </th>
-
 
111
                                        <th width="23%">Status</th>
-
 
112
                                        <th width="31%" class="borderRight">Courier AWB No.</th>
-
 
113
                                    </tr>
-
 
114
                                </thead>
-
 
115
                                <tbody>
-
 
116
                            #set($count = 0)
-
 
117
                            #foreach($order in $orders)
-
 
118
                                    <tr>
-
 
119
                                        <td><a href="order/$order.getId()">$order.getId()</a></td>
-
 
120
                                        <td>
-
 
121
                                #if($orderDate && $orderDate.size() != 0 )
-
 
122
                                    $orderDate.get($count)
-
 
123
                                #end
-
 
124
                                        </td>
-
 
125
                                        <td>
-
 
126
                                #if($order.getTotal_amount())
-
 
127
                                    $action.formatPrice($order.getTotal_amount())
-
 
128
                                #end
-
 
129
                                        </td>
-
 
130
                                        <td>
-
 
131
                                #if($order.getStatus().getDescription())
-
 
132
                                    $order.getStatus().getDescription()
-
 
133
                                #end
-
 
134
                                        </td>
-
 
135
                                        <td>
-
 
136
                                #if($order.getAirwaybill_no() && $providerNames.get($order.getLogistics_provider_id()))
-
 
137
                                    $providerNames.get($order.getLogistics_provider_id())
-
 
138
                                            <a href="javascript:showShipmentDetails('$order.getAirwaybill_no()', '$providerNames.get($order.getLogistics_provider_id())');">$order.getAirwaybill_no()</a>
-
 
139
                                #end
-
 
140
                                        </td>
-
 
141
                                    </tr>
-
 
142
                                #set($count = $count + 1)
-
 
143
                            #end
-
 
144
                                </tbody>
-
 
145
                            </table>
-
 
146
                        #else
-
 
147
                            <div class="note">No completed order available.</div>
-
 
148
                        #end
-
 
149
                            <br /><br /><br />
-
 
150
					<!-- shipmentDetails -->
-
 
151
                            <div id="shipmentDetails" style="display:none;">
-
 
152
                                <div class="heading">
-
 
153
                                    <div class="title"><span class="awbNo"></span> Shipment Details</div>
-
 
154
                                    <div class="close"><a href="javascript:closeShipmentDetails();">[x]</a></div>
-
 
155
                                    <div class="clearBoth"></div>
-
 
156
                                </div>
-
 
157
                                <div id="orderShippingStatus">
-
 
158
                            </div>
-
 
159
                        </div>
30
			$action.getMyaccountDetailsSnippet()
160
					<!-- /shipmentDetails -->
-
 
161
                    </div>
-
 
162
				<!-- /content -->
-
 
163
                    <div class="clearBoth"></div>
-
 
164
                </div>
-
 
165
            </div>
-
 
166
        </div>
-
 
167
        <div class="bottom">
-
 
168
            <div class="bottom-grey-left">
-
 
169
                <div class="bottom-white-right">&nbsp;</div>
-
 
170
            </div>
31
        </div>
171
        </div>
-
 
172
    </div>
-
 
173
     <!-- /my account -->
-
 
174
</div>
32
		<!-- /wrapper-->
175
		<!-- /wrapper-->
33
		
176
		
34
		<!-- sidebar-->
177
		<!-- sidebar-->
35
		<div id="sidebar">
178
		<div id="sidebar">
36
			$action.getCustomerServiceSnippet()
179
			$action.getCustomerServiceSnippet()
Line 49... Line 192...
49
	 
192
	 
50
	 $action.getFooterSnippet()
193
	 $action.getFooterSnippet()
51
 
194
 
52
#include ( "templates/commonjsfiles.vm" )
195
#include ( "templates/commonjsfiles.vm" )
53
</body>
196
</body>
54
</html>
197
</html>
55
198