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">
5
    <link rel="stylesheet" href="css/storewebsite.css" type="text/css" />
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>
50
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">Today's Collection : </span><span style="font-size:20px">3272</span>
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">
56
    	<img style="float:left;" src="/rch/images/Hotspot-Logo.jpg">
57
		<span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span>
58
        <img style="float:right;margin-right:20px;" src="/rch/images/Saholic-Logo.jpg">
59
    </div>
60
 
61
	<div id="main" style="float:left;width:980px;overflow: hidden;">
62
		<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
63
			<thead>
64
				<tr>
65
					<th width="80" class="first" style="text-align: center;"><b>ORDER ID</b></th>
66
					<th width="222">Item &amp; Color</th>
67
					<th width="100">Unit Price</th>
68
					<th width="50">Quantity</th>
69
					<th width="100">Total Price</th>
70
					<th width="180">Estimated Delivery Date</th>
71
					<th width="200">Order Status</th>
72
                </tr>
73
            </thead>
74
			<tbody>
75
 
76
			#foreach($order in $orders)
77
				#set($lineitems = $order.getLineitems())
78
				#foreach($lineitem in $lineitems)
79
 
80
					#set($total_price = $lineitem.getTotal_price())
81
					#set($total_amount = $total_amount + $total_price)
82
					<tr>
83
						<td class="ordercolumn">
84
							$order.getId()
85
						</td>
86
						<td>
87
							<div class="cart-item-name-div">
88
                                <div class="cart-item-name">
89
									#if($lineitem.getBrand()) $lineitem.getBrand() #end
90
									#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
91
									#if($lineitem.getModel_number())  $lineitem.getModel_number() #end
92
								</div>
93
									#if($lineitem.getColor())
94
								<div class="cart-item-color">Color - $lineitem.getColor()</div>
95
									#end
96
									#if($lineitem.getDealText())
97
								<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
98
									#end
99
                            </div>
100
						</td>
101
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
102
						<td>$lineitem.getQuantity().intValue()</td>
103
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
104
						<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
105
						</td>
106
						<td>
107
    					#if($order.getStatus().getDescription())
108
    						$order.getStatus().getDescription()
109
    					#end
110
						</td>
111
					</tr>
112
				#end
113
				#set($total_amount = $total_amount + $insuranceAmount)
114
			#end
115
            </tbody>
116
		</table>
117
	</div>
118
</body>
119
<script language="javascript" type="text/javascript" src="js/jquery-1.4.2.js"></script>
120
<script language="javascript" type="text/javascript" src="js/jquery.colorbox-min.js"></script>
121
<script language="javascript" type="text/javascript" src="js/jquery.validate.js"></script>
122
<script language="javascript" type="text/javascript" src="js/jquery.dataTables.min.js"></script>
123
<script language="javascript" type="text/javascript" src="js/storewebsite.js"></script>
124
</html>