Subversion Repositories SmartDukaan

Rev

Rev 1076 | Rev 1078 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
713 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
 
6
<!-- Prevent MS Office toolbar from changing layout -->
7
<meta http-equiv="imagetoolbar" content="false">
8
<meta name="MSSmartTagsPreventParsing" content="true">
9
 
793 rajveer 10
<title>Saholic</title>
719 rajveer 11
#include ( "templates/commoncssfiles.vm" )
713 rajveer 12
 
13
</head>
14
 
15
<body>
16
	<noscript>
17
		<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
18
	</noscript>
1067 varun.gupt 19
 
20
	$action.getHeaderSnippet()
713 rajveer 21
     <!-- Wrapper start -->
22
	<div id="main">
23
		$action.getMainMenuSnippet()
24
		$action.getSearchBarSnippet()
1067 varun.gupt 25
 
719 rajveer 26
		<!-- wrapper-->
27
		<div id="wrapper">
1067 varun.gupt 28
<!-- Product detail -->
29
			<div id="productDetail">
30
				<div class="top">
31
					<div class="left">
32
						<div class="right"> &nbsp; </div>
33
					</div>
34
				</div>
35
				<div class="middle">
36
					<div class="content">
37
						<form id="frmProductDetail" name="frmProductDetail" method="post" action="">
38
							<div class="blockLeft">
39
								<!-- breadcrumb -->
40
								<div id="breadcrumb"> <a href="/home">Home</a>&nbsp;&gt; <a href="#" class="deselect">My Account </a> </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 -->
713 rajveer 56
 
1067 varun.gupt 57
<!-- my account -->
58
	<div id="myAccount">
59
		<div class="left-grey-top">
60
			<div class="left-grey-left">
61
				<div class="left-white-right">&nbsp;</div>
62
			</div>
719 rajveer 63
		</div>
1067 varun.gupt 64
		<div class="middle">
1077 varun.gupt 65
			<div class="middle-white-right">
66
				<!-- content -->
67
				<div class="content">
68
					<p align="center"><strong>$action.getMessage()</strong></p>
69
 
70
			#set($orders = $action.getOrders())
71
			#if($orders && $orders.size() != 0)
72
				#set($total_amount = 0.0)
73
					<div align="center" class="note">Note: For order details click on Order ID</div>
74
					<table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
75
						<thead>
76
							<tr>
77
								<th width="14%">Order ID</th>
78
								<th>Item Name</th>
79
								<th>Quantity</th>
80
								<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
81
								<th>Status</th>
82
								<th>Courier AWB No.</th>
83
							</tr>
84
						</thead>
85
						<tbody>
86
				#foreach($order in $orders)
87
					#set($lineitems = $order.getLineitems())
88
					#foreach($lineitem in $lineitems)
89
						#set($total_price = $lineitem.getTotal_price())
90
						#set($total_amount = $total_amount + $total_price)
91
							<tr>
92
								<td><a href="/order/$order.getId()">$order.getId()</td>
93
								<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
1067 varun.gupt 94
										#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
95
										#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
96
										#if($lineitem.getColor()) $lineitem.getColor() #end
1077 varun.gupt 97
								</td>
98
								<td>$lineitem.getQuantity()</td>
99
								<td>$total_price</td>
100
								<td>
101
					#if($order.getStatus().getDescription())
102
						$order.getStatus().getDescription()
103
					#end
104
								</td>
105
								<td>
1076 varun.gupt 106
				#if($order.getStatus().getValue() > 8) <!-- 8 corresponds to OrderStatus.READY_FOR_SHIPPING -->
107
					#if($providerNames.get($order.getLogistics_provider_id()))
108
						$order.getAirwaybill_no()
109
					#end
110
				#end
1077 varun.gupt 111
								</td>
112
							</tr>
1067 varun.gupt 113
									#end
114
								#end
1077 varun.gupt 115
							<tr>
116
								<td colspan="5">
117
									<div class="totalAmount">
118
										Total Amount:
119
										<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
120
										$total_amount
121
									</div>
122
								</td>
123
							</tr>
124
						</tbody>
125
					</table>
1067 varun.gupt 126
						#else
1077 varun.gupt 127
					<div class="note">
1067 varun.gupt 128
							Due to some error we are unable to display your details.
129
							Please check your account page to see the order confirmation status.
1077 varun.gupt 130
					</div>
713 rajveer 131
					#end
1067 varun.gupt 132
				</div>
1077 varun.gupt 133
				<!-- /content -->
134
				<div class="clearBoth"></div>
1067 varun.gupt 135
			</div>
713 rajveer 136
		</div>
137
 
1067 varun.gupt 138
		<div class="bottom">
139
			<div class="bottom-grey-left">
140
				<div class="bottom-white-right">&nbsp;</div>
141
			</div>
142
		</div>
713 rajveer 143
	</div>
1067 varun.gupt 144
	<!-- /my account -->
145
		</div>
146
		<!-- /wrapper-->
147
 
148
		<!-- sidebar-->
149
		<div id="sidebar">
150
			$action.getCustomerServiceSnippet()
151
			$action.getMyResearchSnippet()
152
			$action.getBrowseHistorySnippet()
153
			<div style="clear:both;padding:2px;">&nbsp;</div>
154
		</div>
155
		<!-- /sidebar-->
713 rajveer 156
 
1067 varun.gupt 157
		<div class="clearBoth"></div>
158
	</div><!-- /main -->
159
	$action.getFooterSnippet()
160
 
161
	#include ( "templates/commonjsfiles.vm" )
713 rajveer 162
</body>
517 rajveer 163
</html>