| 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 |
}
|
| 7386 |
anupam.sin |
44 |
|
|
|
45 |
#reloadSuccessPage {
|
|
|
46 |
height: 30px;
|
|
|
47 |
width: 150px;
|
|
|
48 |
font-weight: bold;
|
|
|
49 |
font-size: 18px;
|
|
|
50 |
background-color: #2789c1;
|
|
|
51 |
border: 1px solid blue;
|
|
|
52 |
border-radius: 4px;
|
|
|
53 |
color: white;
|
|
|
54 |
}
|
| 7263 |
anupam.sin |
55 |
|
|
|
56 |
</style>
|
|
|
57 |
</head>
|
|
|
58 |
|
|
|
59 |
<body style="margin: 0;">
|
|
|
60 |
<div style="line-height:40px;height:35px;background-color:#333333;color:white;min-width:900px;overflow:hidden;">
|
| 7386 |
anupam.sin |
61 |
<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">$action.getStoreCode()</span>
|
| 7327 |
anupam.sin |
62 |
|
| 7343 |
anupam.sin |
63 |
<a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/report">REPORTS</a>
|
|
|
64 |
<a style="color:white;" href="/storewebsite/!doLogout">Logout</a>
|
| 7263 |
anupam.sin |
65 |
</div>
|
|
|
66 |
|
|
|
67 |
<div style="line-height:60px;height: 60px;background-color:#DBEEFF;min-width:900px;overflow:hidden;color: #333333;border-bottom:1px solid #67ABD3">
|
| 7483 |
anupam.sin |
68 |
<img style="float:left;" src="/storewebsite/images/hotspotLogoBlue.jpg">
|
| 7263 |
anupam.sin |
69 |
<span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span>
|
| 7386 |
anupam.sin |
70 |
|
| 7263 |
anupam.sin |
71 |
</div>
|
|
|
72 |
|
| 7293 |
anupam.sin |
73 |
#set($orders = $action.getOrders())
|
|
|
74 |
|
|
|
75 |
<div id="main" style="float:left;width:980px;overflow: hidden;margin:50px;">
|
| 7386 |
anupam.sin |
76 |
#foreach($order in $orders)
|
|
|
77 |
#if($order.getStatus().getValue() == 2)
|
|
|
78 |
<h2 style="color:#ff8000;border-bottom:1px solid #CCCCCC">Approval Pending</h2>
|
|
|
79 |
#set($button = "REFRESH")
|
|
|
80 |
#else
|
|
|
81 |
<h2 style="color:#2789C1;border-bottom:1px solid #CCCCCC">Order Successful!</h2>
|
|
|
82 |
#set($button = "RECEIPT")
|
|
|
83 |
#set($order_id = $order.getId())
|
|
|
84 |
#end
|
|
|
85 |
#end
|
|
|
86 |
<table id="cartDetail" cellpadding="0" cellspacing="0" class="left" width="100%">
|
| 7263 |
anupam.sin |
87 |
<thead>
|
|
|
88 |
<tr>
|
| 7386 |
anupam.sin |
89 |
<th class="first" style="text-align: center;"><b>ORDER ID</b></th>
|
|
|
90 |
<th>Item & Color</th>
|
|
|
91 |
<th>Total Price</th>
|
|
|
92 |
<th>Advance</th>
|
|
|
93 |
<th>Balance</th>
|
|
|
94 |
<th>Estimated Delivery Date</th>
|
|
|
95 |
<th>Order Status</th>
|
| 7263 |
anupam.sin |
96 |
</tr>
|
|
|
97 |
</thead>
|
|
|
98 |
<tbody>
|
|
|
99 |
|
|
|
100 |
#foreach($order in $orders)
|
|
|
101 |
#set($lineitems = $order.getLineitems())
|
|
|
102 |
#foreach($lineitem in $lineitems)
|
|
|
103 |
|
|
|
104 |
#set($total_price = $lineitem.getTotal_price())
|
|
|
105 |
#set($total_amount = $total_amount + $total_price)
|
|
|
106 |
<tr>
|
|
|
107 |
<td class="ordercolumn">
|
|
|
108 |
$order.getId()
|
|
|
109 |
</td>
|
|
|
110 |
<td>
|
|
|
111 |
<div class="cart-item-name-div">
|
|
|
112 |
<div class="cart-item-name">
|
|
|
113 |
#if($lineitem.getBrand()) $lineitem.getBrand() #end
|
|
|
114 |
#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
|
|
|
115 |
#if($lineitem.getModel_number()) $lineitem.getModel_number() #end
|
|
|
116 |
</div>
|
|
|
117 |
#if($lineitem.getColor())
|
|
|
118 |
<div class="cart-item-color">Color - $lineitem.getColor()</div>
|
|
|
119 |
#end
|
|
|
120 |
#if($lineitem.getDealText())
|
|
|
121 |
<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
|
|
|
122 |
#end
|
|
|
123 |
</div>
|
|
|
124 |
</td>
|
| 7326 |
anupam.sin |
125 |
<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
|
| 7386 |
anupam.sin |
126 |
<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($order.getAdvanceAmount())</td>
|
|
|
127 |
<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($action.getDifference($total_price, $order.getAdvanceAmount()))</td>
|
| 7263 |
anupam.sin |
128 |
<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
|
|
|
129 |
</td>
|
|
|
130 |
<td>
|
| 7423 |
anupam.sin |
131 |
#if($order.getStatusDescription())
|
|
|
132 |
$order.getStatusDescription()
|
| 7263 |
anupam.sin |
133 |
#end
|
|
|
134 |
</td>
|
|
|
135 |
</tr>
|
|
|
136 |
#end
|
|
|
137 |
#set($total_amount = $total_amount + $insuranceAmount)
|
|
|
138 |
#end
|
|
|
139 |
</tbody>
|
|
|
140 |
</table>
|
| 7386 |
anupam.sin |
141 |
|
|
|
142 |
<div style="margin: 30px 0px;">
|
|
|
143 |
#if($button.equals("REFRESH"))
|
|
|
144 |
<input id='reloadSuccessPage' type="button" value="REFRESH" class=''></input>
|
|
|
145 |
#elseif($button.equals("RECEIPT"))
|
|
|
146 |
<a href='/storewebsite/report!downloadInvoice?number=$order_id' target='_blank' style='color:black;padding:3px;background-color:orange;pointer:cursor;font-size:15px;text-decoration:none'>Receipt</a>
|
|
|
147 |
#end
|
|
|
148 |
</div>
|
|
|
149 |
|
| 7263 |
anupam.sin |
150 |
</div>
|
|
|
151 |
</body>
|
| 7325 |
anupam.sin |
152 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-1.4.2.js"></script>
|
| 7386 |
anupam.sin |
153 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-ui.min.js"></script>
|
| 7325 |
anupam.sin |
154 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.colorbox-min.js"></script>
|
|
|
155 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.validate.js"></script>
|
|
|
156 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.dataTables.min.js"></script>
|
| 7695 |
anupam.sin |
157 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/storewebsite_20130704.js"></script>
|
| 7386 |
anupam.sin |
158 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.ui.autocomplete.js"></script>
|
| 7263 |
anupam.sin |
159 |
</html>
|