Subversion Repositories SmartDukaan

Rev

Rev 1067 | Rev 1077 | 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">
65
			<div class="middle-grey-left">
66
				<div class="middle-white-right">
713 rajveer 67
 
1067 varun.gupt 68
					<!-- content -->
69
					<div class="content">
70
						<p><strong>$action.getMessage()</strong></p>
71
 
72
				#set($orders = $action.getOrders())
73
				#if($orders && $orders.size() != 0)
74
					#set($total_amount = 0.0)
75
						<div class="note">
1076 varun.gupt 76
							Note: For order details click on Order ID
1067 varun.gupt 77
						</div>
78
						<table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
79
							<thead>
80
								<tr>
81
									<th width="14%">Order ID</th>
82
                                    <th>Item Name</th>
83
									<th>Quantity</th>
84
									<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
1076 varun.gupt 85
									<th>Courier AWB No.</th>
1067 varun.gupt 86
								</tr>
87
							</thead>
88
							<tbody>
89
								#foreach($order in $orders)
90
									#set($lineitems = $order.getLineitems())
91
									#foreach($lineitem in $lineitems)
92
										#set($total_price = $lineitem.getTotal_price())
93
										#set($total_amount = $total_amount + $total_price)
94
								<tr>
1076 varun.gupt 95
									<td><a href="/order/$order.getId()">$order.getId()</td>
1067 varun.gupt 96
									<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
97
										#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
98
										#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
99
										#if($lineitem.getColor()) $lineitem.getColor() #end
100
									</td>
101
									<td>$lineitem.getQuantity()</td>
102
									<td>$total_price</td>
1076 varun.gupt 103
									<td>
104
				#if($order.getStatus().getValue() > 8) <!-- 8 corresponds to OrderStatus.READY_FOR_SHIPPING -->
105
					#if($providerNames.get($order.getLogistics_provider_id()))
106
						$order.getAirwaybill_no()
107
					#end
108
				#end
109
									</td>
110
								</tr>
1067 varun.gupt 111
									#end
112
								#end
113
								<tr>
114
									<td colspan="4">
115
										<div class="totalAmount">
116
											Total Amount:
117
											<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
118
											$total_amount
119
										</div>
120
									</td>
121
								</tr>
122
							</tbody>
123
						</table>
124
						#else
125
						<div class="note">
126
							Due to some error we are unable to display your details.
127
							Please check your account page to see the order confirmation status.
128
						</div>
713 rajveer 129
					#end
1067 varun.gupt 130
					</div>
131
					<!-- /content -->
132
					<div class="clearBoth"></div>
133
				</div>
134
			</div>
713 rajveer 135
		</div>
136
 
1067 varun.gupt 137
		<div class="bottom">
138
			<div class="bottom-grey-left">
139
				<div class="bottom-white-right">&nbsp;</div>
140
			</div>
141
		</div>
713 rajveer 142
	</div>
1067 varun.gupt 143
	<!-- /my account -->
144
		</div>
145
		<!-- /wrapper-->
146
 
147
		<!-- sidebar-->
148
		<div id="sidebar">
149
			$action.getCustomerServiceSnippet()
150
			$action.getMyResearchSnippet()
151
			$action.getBrowseHistorySnippet()
152
			<div style="clear:both;padding:2px;">&nbsp;</div>
153
		</div>
154
		<!-- /sidebar-->
713 rajveer 155
 
1067 varun.gupt 156
		<div class="clearBoth"></div>
157
	</div><!-- /main -->
158
	$action.getFooterSnippet()
159
 
160
	#include ( "templates/commonjsfiles.vm" )
713 rajveer 161
</body>
517 rajveer 162
</html>