Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
7263 anupam.sin 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">
7325 anupam.sin 5
    <link rel="stylesheet" href="/storewebsite/css/storewebsite.css" type="text/css" />
7263 anupam.sin 6
	<style>
7
		#cartDetail	{
8
        	border: 1px solid #AAAAAA;
9
        }
10
 
11
        #cartDetail th	{
12
        	height: 30px;
13
        	background-color: #F1F1F1;
14
        	border-left: 1px solid #BBBBBB;
15
        	border-bottom: 1px solid #BBBBBB;
16
        	font-weight: normal;
7343 anupam.sin 17
        	font-size: 17px;
18
        	text-align: center;
7263 anupam.sin 19
        	padding: 5px;
7343 anupam.sin 20
			font-weight:bold;
7263 anupam.sin 21
        }
22
 
23
        #cartDetail th.first {
24
        	border-left: none;
25
        }
26
 
27
        #cartDetail tr	{
28
        	color: #333333;
7343 anupam.sin 29
        	font-size: 16px;
7263 anupam.sin 30
        }
31
        #cartDetail tr td	{
32
        	border-bottom: 1px solid #BBBBBB;
33
        }
34
 
35
        #cartDetail tbody td	{
36
        	padding: 5px;
37
        }
38
 
39
		.ordercolumn {
40
            background-color: #FFFFCC;
41
            font-weight: bold;
42
            text-align: center;
43
		}
44
 
45
	</style>
46
</head>
47
 
48
<body style="margin: 0;">
49
	<div style="line-height:40px;height:35px;background-color:#333333;color:white;min-width:900px;overflow:hidden;">
50
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">ANC</span>
7327 anupam.sin 51
 
7343 anupam.sin 52
    	<a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/report">REPORTS</a>
53
    	<a style="color:white;" href="/storewebsite/!doLogout">Logout</a>	
7263 anupam.sin 54
    </div>
55
 
56
	<div style="line-height:60px;height: 60px;background-color:#DBEEFF;min-width:900px;overflow:hidden;color: #333333;border-bottom:1px solid #67ABD3">
7324 anupam.sin 57
    	<img style="float:left;" src="/storewebsite/images/Hotspot-Logo.jpg">
7263 anupam.sin 58
		<span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span>
7324 anupam.sin 59
        <img style="float:right;margin-right:20px;" src="/storewebsite/images/Saholic-Logo.jpg">
7263 anupam.sin 60
    </div>
61
 
7293 anupam.sin 62
	#set($orders = $action.getOrders())
63
 
64
	<div id="main" style="float:left;width:980px;overflow: hidden;margin:50px;">
7343 anupam.sin 65
		<h2 style="color:#ff8000;border-bottom:1px solid #CCCCCC">Order Successful!</h2>
7263 anupam.sin 66
		<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
67
			<thead>
68
				<tr>
69
					<th width="80" class="first" style="text-align: center;"><b>ORDER ID</b></th>
70
					<th width="222">Item &amp; Color</th>
71
					<th width="100">Unit Price</th>
72
					<th width="50">Quantity</th>
73
					<th width="100">Total Price</th>
74
					<th width="180">Estimated Delivery Date</th>
75
					<th width="200">Order Status</th>
76
                </tr>
77
            </thead>
78
			<tbody>
79
 
80
			#foreach($order in $orders)
81
				#set($lineitems = $order.getLineitems())
82
				#foreach($lineitem in $lineitems)
83
 
84
					#set($total_price = $lineitem.getTotal_price())
85
					#set($total_amount = $total_amount + $total_price)
86
					<tr>
87
						<td class="ordercolumn">
88
							$order.getId()
89
						</td>
90
						<td>
91
							<div class="cart-item-name-div">
92
                                <div class="cart-item-name">
93
									#if($lineitem.getBrand()) $lineitem.getBrand() #end
94
									#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
95
									#if($lineitem.getModel_number())  $lineitem.getModel_number() #end
96
								</div>
97
									#if($lineitem.getColor())
98
								<div class="cart-item-color">Color - $lineitem.getColor()</div>
99
									#end
100
									#if($lineitem.getDealText())
101
								<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
102
									#end
103
                            </div>
104
						</td>
7326 anupam.sin 105
						<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
7263 anupam.sin 106
						<td>$lineitem.getQuantity().intValue()</td>
7326 anupam.sin 107
						<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
7263 anupam.sin 108
						<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
109
						</td>
110
						<td>
111
    					#if($order.getStatus().getDescription())
112
    						$order.getStatus().getDescription()
113
    					#end
114
						</td>
115
					</tr>
116
				#end
117
				#set($total_amount = $total_amount + $insuranceAmount)
118
			#end
119
            </tbody>
120
		</table>
121
	</div>
122
</body>
7325 anupam.sin 123
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-1.4.2.js"></script>
124
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.colorbox-min.js"></script>
125
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.validate.js"></script>
126
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.dataTables.min.js"></script>
127
<script language="javascript" type="text/javascript" src="/storewebsite/js/storewebsite.js"></script>
7263 anupam.sin 128
</html>