Subversion Repositories SmartDukaan

Rev

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