| 3019 |
rajveer |
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" />
|
|
|
5 |
<!-- Prevent MS Office toolbar from changing layout -->
|
|
|
6 |
<meta http-equiv="imagetoolbar" content="false">
|
|
|
7 |
<meta name="MSSmartTagsPreventParsing" content="true">
|
|
|
8 |
<title>Saholic - My Purchases</title>
|
|
|
9 |
|
|
|
10 |
#include ( "templates/commoncssfiles.vm" )
|
|
|
11 |
</head>
|
|
|
12 |
|
|
|
13 |
<body>
|
|
|
14 |
<noscript>
|
|
|
15 |
<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
|
|
|
16 |
</noscript>
|
|
|
17 |
|
|
|
18 |
$action.getHeaderSnippet()
|
|
|
19 |
<!-- Wrapper start -->
|
|
|
20 |
<div id="main">
|
|
|
21 |
#include("templates/mainmenu.vm")
|
|
|
22 |
$action.getSearchBarSnippet()
|
|
|
23 |
|
|
|
24 |
<!-- wrapper-->
|
|
|
25 |
<div id="wrapper">
|
|
|
26 |
<!-- Product detail -->
|
|
|
27 |
<div id="productDetail">
|
|
|
28 |
<div class="top">
|
|
|
29 |
<div class="left">
|
|
|
30 |
<div class="right"> </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> > <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"> </div>
|
|
|
45 |
</form>
|
|
|
46 |
<div class="clearBoth"></div>
|
|
|
47 |
</div>
|
|
|
48 |
</div>
|
|
|
49 |
<div class="bottom">
|
|
|
50 |
<div class="left">
|
|
|
51 |
<div class="right"> </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"> </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">Completed Orders</a>
|
|
|
77 |
</li>
|
|
|
78 |
<li class="menu-item">
|
|
|
79 |
<a href="/failed-orders">Failed Orders</a>
|
|
|
80 |
</li>
|
|
|
81 |
<li class="menu-item">
|
|
|
82 |
<h2 class="spacing">My Purchases</h2>
|
|
|
83 |
</li>
|
|
|
84 |
<li class="menu-item">
|
|
|
85 |
<a href="/my-purchases" class="active">My Purchases</a>
|
|
|
86 |
</li>
|
|
|
87 |
<li class="menu-item">
|
|
|
88 |
<h2 class="spacing">Account Settings</h2>
|
|
|
89 |
</li>
|
|
|
90 |
<li class="menu-item">
|
|
|
91 |
<a href="/personal-details">Personal Details</a>
|
|
|
92 |
</li>
|
|
|
93 |
<li class="menu-item">
|
|
|
94 |
<a href="/login-details">Login Details</a>
|
|
|
95 |
</li>
|
|
|
96 |
<li class="menu-item last">
|
|
|
97 |
<a href="/address">Shipping Address</a>
|
|
|
98 |
</li>
|
|
|
99 |
</ul>
|
|
|
100 |
</div>
|
|
|
101 |
<!-- /nav -->
|
|
|
102 |
<!-- content -->
|
|
|
103 |
<div class="content">
|
|
|
104 |
<h1>My Purchases</h1>
|
|
|
105 |
#set($orders = $action.getOrders())
|
|
|
106 |
#set($orderDate = $action.getOrderDate())
|
|
|
107 |
#if($orders && $orders.size() != 0)
|
|
|
108 |
<div class="note">Note: Only delivered orders are listed here.</div>
|
|
|
109 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
|
|
|
110 |
<thead>
|
|
|
111 |
<tr>
|
|
|
112 |
<th width="10%">Order ID</th>
|
|
|
113 |
<th width="42%">Item</th>
|
|
|
114 |
<th width="16%">Date of Purchase</th>
|
|
|
115 |
<th width="16%">Bill Number</th>
|
|
|
116 |
<th width="16%" class="borderRight">Warranty Upto</th>
|
|
|
117 |
</tr>
|
|
|
118 |
</thead>
|
|
|
119 |
<tbody>
|
|
|
120 |
#foreach($order in $orders)
|
|
|
121 |
#set($lineitem=$order.getLineitems().get(0))
|
|
|
122 |
<tr>
|
|
|
123 |
<td>$order.getId()</td>
|
|
|
124 |
<!--<a href="order/$order.getId()">$order.getId()</a>-->
|
|
|
125 |
<td>
|
|
|
126 |
<a href="after-sales/$action.getCatalogId($lineitem.getItem_id())">
|
|
|
127 |
#if($lineitem.getBrand())$lineitem.getBrand()#end
|
|
|
128 |
#if($lineitem.getModel_name())$lineitem.getModel_name()#end
|
|
|
129 |
#if($lineitem.getModel_number())$lineitem.getModel_number()#end
|
|
|
130 |
#if($lineitem.getColor())($lineitem.getColor())#end
|
|
|
131 |
</a>
|
|
|
132 |
</td>
|
|
|
133 |
<td>
|
|
|
134 |
$action.formatDate($order.getBilling_timestamp())
|
|
|
135 |
</td>
|
|
|
136 |
<td>
|
|
|
137 |
$order.getInvoice_number()
|
|
|
138 |
</td>
|
|
|
139 |
<td>
|
|
|
140 |
$action.getWarrantyDate($order.getBilling_timestamp(), $lineitem.getBrand())
|
|
|
141 |
</td>
|
|
|
142 |
</tr>
|
|
|
143 |
#end
|
|
|
144 |
</tbody>
|
|
|
145 |
</table>
|
|
|
146 |
#else
|
|
|
147 |
<div class="note">No purchase yet.</div>
|
|
|
148 |
#end
|
|
|
149 |
<br /><br /><br />
|
|
|
150 |
|
|
|
151 |
</div>
|
|
|
152 |
<!-- /content -->
|
|
|
153 |
<div class="clearBoth"></div>
|
|
|
154 |
</div>
|
|
|
155 |
</div>
|
|
|
156 |
</div>
|
|
|
157 |
<div class="bottom">
|
|
|
158 |
<div class="bottom-grey-left">
|
|
|
159 |
<div class="bottom-white-right"> </div>
|
|
|
160 |
</div>
|
|
|
161 |
</div>
|
|
|
162 |
</div>
|
|
|
163 |
<!-- /my account -->
|
|
|
164 |
</div>
|
|
|
165 |
<!-- /wrapper-->
|
|
|
166 |
|
|
|
167 |
<!-- sidebar-->
|
|
|
168 |
<div id="sidebar">
|
|
|
169 |
|
|
|
170 |
<div id="myresearch" class="lightbox">
|
|
|
171 |
#include("templates/myresearch.vm")
|
|
|
172 |
</div>
|
|
|
173 |
<div id="browsehistory" class="lightbox">
|
|
|
174 |
#include("templates/browsehistory.vm")
|
|
|
175 |
</div>
|
|
|
176 |
<div id="paymentoptions" class="lightbox">
|
|
|
177 |
#include("templates/paymentmodes.vm")
|
|
|
178 |
</div>
|
|
|
179 |
<div style="clear:both;"></div>
|
|
|
180 |
</div>
|
|
|
181 |
<!-- /sidebar-->
|
|
|
182 |
|
|
|
183 |
<div class="clearBoth"></div>
|
|
|
184 |
</div><!-- /main -->
|
|
|
185 |
|
|
|
186 |
#include("templates/footer.vm")
|
|
|
187 |
|
|
|
188 |
#include ( "templates/commonjsfiles.vm" )
|
|
|
189 |
</body>
|
|
|
190 |
</html>
|