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