| Line 39... |
Line 39... |
| 39 |
.ordercolumn {
|
39 |
.ordercolumn {
|
| 40 |
background-color: #FFFFCC;
|
40 |
background-color: #FFFFCC;
|
| 41 |
font-weight: bold;
|
41 |
font-weight: bold;
|
| 42 |
text-align: center;
|
42 |
text-align: center;
|
| 43 |
}
|
43 |
}
|
| - |
|
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 |
}
|
| 44 |
|
55 |
|
| 45 |
</style>
|
56 |
</style>
|
| 46 |
</head>
|
57 |
</head>
|
| 47 |
|
58 |
|
| 48 |
<body style="margin: 0;">
|
59 |
<body style="margin: 0;">
|
| 49 |
<div style="line-height:40px;height:35px;background-color:#333333;color:white;min-width:900px;overflow:hidden;">
|
60 |
<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>
|
61 |
<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">$action.getStoreCode()</span>
|
| 51 |
|
62 |
|
| 52 |
<a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/report">REPORTS</a>
|
63 |
<a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/report">REPORTS</a>
|
| 53 |
<a style="color:white;" href="/storewebsite/!doLogout">Logout</a>
|
64 |
<a style="color:white;" href="/storewebsite/!doLogout">Logout</a>
|
| 54 |
</div>
|
65 |
</div>
|
| 55 |
|
66 |
|
| 56 |
<div style="line-height:60px;height: 60px;background-color:#DBEEFF;min-width:900px;overflow:hidden;color: #333333;border-bottom:1px solid #67ABD3">
|
67 |
<div style="line-height:60px;height: 60px;background-color:#DBEEFF;min-width:900px;overflow:hidden;color: #333333;border-bottom:1px solid #67ABD3">
|
| 57 |
<img style="float:left;" src="/storewebsite/images/Hotspot-Logo.jpg">
|
68 |
<img style="float:left;" src="/storewebsite/images/Hotspot-Logo.jpg">
|
| 58 |
<span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span>
|
69 |
<span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span>
|
| 59 |
<img style="float:right;margin-right:20px;" src="/storewebsite/images/Saholic-Logo.jpg">
|
- |
|
| - |
|
70 |
|
| 60 |
</div>
|
71 |
</div>
|
| 61 |
|
72 |
|
| 62 |
#set($orders = $action.getOrders())
|
73 |
#set($orders = $action.getOrders())
|
| 63 |
|
74 |
|
| 64 |
<div id="main" style="float:left;width:980px;overflow: hidden;margin:50px;">
|
75 |
<div id="main" style="float:left;width:980px;overflow: hidden;margin:50px;">
|
| - |
|
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
|
| 65 |
<h2 style="color:#ff8000;border-bottom:1px solid #CCCCCC">Order Successful!</h2>
|
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
|
| 66 |
<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
|
86 |
<table id="cartDetail" cellpadding="0" cellspacing="0" class="left" width="100%">
|
| 67 |
<thead>
|
87 |
<thead>
|
| 68 |
<tr>
|
88 |
<tr>
|
| 69 |
<th width="80" class="first" style="text-align: center;"><b>ORDER ID</b></th>
|
89 |
<th class="first" style="text-align: center;"><b>ORDER ID</b></th>
|
| 70 |
<th width="222">Item & Color</th>
|
90 |
<th>Item & Color</th>
|
| 71 |
<th width="100">Unit Price</th>
|
91 |
<th>Total Price</th>
|
| 72 |
<th width="50">Quantity</th>
|
92 |
<th>Advance</th>
|
| 73 |
<th width="100">Total Price</th>
|
93 |
<th>Balance</th>
|
| 74 |
<th width="180">Estimated Delivery Date</th>
|
94 |
<th>Estimated Delivery Date</th>
|
| 75 |
<th width="200">Order Status</th>
|
95 |
<th>Order Status</th>
|
| 76 |
</tr>
|
96 |
</tr>
|
| 77 |
</thead>
|
97 |
</thead>
|
| 78 |
<tbody>
|
98 |
<tbody>
|
| 79 |
|
99 |
|
| 80 |
#foreach($order in $orders)
|
100 |
#foreach($order in $orders)
|
| Line 100... |
Line 120... |
| 100 |
#if($lineitem.getDealText())
|
120 |
#if($lineitem.getDealText())
|
| 101 |
<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
|
121 |
<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
|
| 102 |
#end
|
122 |
#end
|
| 103 |
</div>
|
123 |
</div>
|
| 104 |
</td>
|
124 |
</td>
|
| 105 |
<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
|
- |
|
| 106 |
<td>$lineitem.getQuantity().intValue()</td>
|
- |
|
| 107 |
<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
|
125 |
<td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
|
| - |
|
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>
|
| 108 |
<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
|
128 |
<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
|
| 109 |
</td>
|
129 |
</td>
|
| 110 |
<td>
|
130 |
<td>
|
| 111 |
#if($order.getStatus().getDescription())
|
131 |
#if($order.getStatus().getDescription())
|
| 112 |
$order.getStatus().getDescription()
|
132 |
$order.getStatus().getDescription()
|
| Line 116... |
Line 136... |
| 116 |
#end
|
136 |
#end
|
| 117 |
#set($total_amount = $total_amount + $insuranceAmount)
|
137 |
#set($total_amount = $total_amount + $insuranceAmount)
|
| 118 |
#end
|
138 |
#end
|
| 119 |
</tbody>
|
139 |
</tbody>
|
| 120 |
</table>
|
140 |
</table>
|
| - |
|
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 |
|
| 121 |
</div>
|
150 |
</div>
|
| 122 |
</body>
|
151 |
</body>
|
| 123 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-1.4.2.js"></script>
|
152 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-1.4.2.js"></script>
|
| - |
|
153 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-ui.min.js"></script>
|
| 124 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.colorbox-min.js"></script>
|
154 |
<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>
|
155 |
<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>
|
156 |
<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>
|
157 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/storewebsite.js"></script>
|
| - |
|
158 |
<script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.ui.autocomplete.js"></script>
|
| 128 |
</html>
|
159 |
</html>
|
| 129 |
|
160 |
|