Subversion Repositories SmartDukaan

Rev

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