Subversion Repositories SmartDukaan

Rev

Rev 1331 | Rev 1641 | 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 -->
1078 varun.gupt 40
								<div id="breadcrumb"> <a href="/home">Home</a>&nbsp;&gt; <a href="#" class="deselect">Payment Success</a></div>
1067 varun.gupt 41
								<!-- /breadcrumb -->
1078 varun.gupt 42
								<h1 id="productHeading">Payment Success</h1>
1067 varun.gupt 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">
1078 varun.gupt 60
			<div class="left-white-right">&nbsp;</div>
719 rajveer 61
		</div>
1067 varun.gupt 62
		<div class="middle">
1077 varun.gupt 63
			<div class="middle-white-right">
64
				<!-- content -->
1079 varun.gupt 65
				<div class="content" align="center">
1077 varun.gupt 66
					<p align="center"><strong>$action.getMessage()</strong></p>
67
 
68
			#set($orders = $action.getOrders())
69
			#if($orders && $orders.size() != 0)
70
				#set($total_amount = 0.0)
71
					<div align="center" class="note">Note: For order details click on Order ID</div>
1162 varun.gupt 72
					<table id="paySuccess" align="center" cellpadding="0" cellspacing="0" border="0" width="100%" class="tablesorter">
1077 varun.gupt 73
						<thead>
74
							<tr>
75
								<th width="14%">Order ID</th>
1136 varun.gupt 76
								<th width="40%">Item Name</th>
1077 varun.gupt 77
								<th>Quantity</th>
78
								<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
1086 varun.gupt 79
								<th width="23%">Status</th>
1077 varun.gupt 80
							</tr>
81
						</thead>
82
						<tbody>
83
				#foreach($order in $orders)
84
					#set($lineitems = $order.getLineitems())
85
					#foreach($lineitem in $lineitems)
86
						#set($total_price = $lineitem.getTotal_price())
87
						#set($total_amount = $total_amount + $total_price)
88
							<tr>
1088 varun.gupt 89
								<td><a href="/order/$order.getId()">$order.getId()</a></td>
1077 varun.gupt 90
								<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
1136 varun.gupt 91
									#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
92
									#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
93
									#if($lineitem.getColor()) ($lineitem.getColor()) #end
1077 varun.gupt 94
								</td>
1331 varun.gupt 95
								<td>$lineitem.getQuantity().intValue()</td>
96
								<td>$total_price.intValue()</td>
1077 varun.gupt 97
								<td>
98
					#if($order.getStatus().getDescription())
99
						$order.getStatus().getDescription()
100
					#end
101
								</td>
102
							</tr>
1067 varun.gupt 103
									#end
104
								#end
1077 varun.gupt 105
							<tr>
1136 varun.gupt 106
								<td colspan="5">
1077 varun.gupt 107
									<div class="totalAmount">
108
										Total Amount:
109
										<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
1331 varun.gupt 110
										$total_amount.intValue()
1077 varun.gupt 111
									</div>
112
								</td>
113
							</tr>
114
						</tbody>
115
					</table>
1067 varun.gupt 116
						#else
1077 varun.gupt 117
					<div class="note">
1067 varun.gupt 118
							Due to some error we are unable to display your details.
119
							Please check your account page to see the order confirmation status.
1077 varun.gupt 120
					</div>
713 rajveer 121
					#end
1067 varun.gupt 122
				</div>
1077 varun.gupt 123
				<!-- /content -->
124
				<div class="clearBoth"></div>
1067 varun.gupt 125
			</div>
713 rajveer 126
		</div>
127
 
1067 varun.gupt 128
		<div class="bottom">
1136 varun.gupt 129
			<div class="bottom-grey-left">&nbsp;</div>
1067 varun.gupt 130
		</div>
713 rajveer 131
	</div>
1067 varun.gupt 132
	<!-- /my account -->
133
		</div>
134
		<!-- /wrapper-->
135
 
136
		<!-- sidebar-->
137
		<div id="sidebar">
138
			$action.getCustomerServiceSnippet()
1372 vikas 139
			<div id="myresearch" class="lightbox">
140
			</div>
141
			<div id="browsehistory" class="lightbox">
142
			</div>
1067 varun.gupt 143
			<div style="clear:both;padding:2px;">&nbsp;</div>
144
		</div>
145
		<!-- /sidebar-->
713 rajveer 146
 
1067 varun.gupt 147
		<div class="clearBoth"></div>
148
	</div><!-- /main -->
149
	$action.getFooterSnippet()
150
 
151
	#include ( "templates/commonjsfiles.vm" )
713 rajveer 152
</body>
517 rajveer 153
</html>