Rev 7483 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="/storewebsite/css/storewebsite.css" type="text/css" /><style>#cartDetail {border: 1px solid #AAAAAA;}#cartDetail th {height: 30px;background-color: #F1F1F1;border-left: 1px solid #BBBBBB;border-bottom: 1px solid #BBBBBB;font-weight: normal;font-size: 17px;text-align: center;padding: 5px;font-weight:bold;}#cartDetail th.first {border-left: none;}#cartDetail tr {color: #333333;font-size: 16px;}#cartDetail tr td {border-bottom: 1px solid #BBBBBB;}#cartDetail tbody td {padding: 5px;}.ordercolumn {background-color: #FFFFCC;font-weight: bold;text-align: center;}#reloadSuccessPage {height: 30px;width: 150px;font-weight: bold;font-size: 18px;background-color: #2789c1;border: 1px solid blue;border-radius: 4px;color: white;}</style></head><body style="margin: 0;"><div style="line-height:40px;height:35px;background-color:#333333;color:white;min-width:900px;overflow:hidden;"><span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">$action.getStoreCode()</span><a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/report">REPORTS</a><a style="color:white;" href="/storewebsite/!doLogout">Logout</a></div><div style="line-height:60px;height: 60px;background-color:#DBEEFF;min-width:900px;overflow:hidden;color: #333333;border-bottom:1px solid #67ABD3"><img style="float:left;" src="/storewebsite/images/hotspotLogoBlue.jpg"><span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span></div>#set($orders = $action.getOrders())<div id="main" style="float:left;width:980px;overflow: hidden;margin:50px;">#foreach($order in $orders)#if($order.getStatus().getValue() == 2)<h2 style="color:#ff8000;border-bottom:1px solid #CCCCCC">Approval Pending</h2>#set($button = "REFRESH")#else<h2 style="color:#2789C1;border-bottom:1px solid #CCCCCC">Order Successful!</h2>#set($button = "RECEIPT")#set($order_id = $order.getId())#end#end<table id="cartDetail" cellpadding="0" cellspacing="0" class="left" width="100%"><thead><tr><th class="first" style="text-align: center;"><b>ORDER ID</b></th><th>Item & Color</th><th>Total Price</th><th>Advance</th><th>Balance</th><th>Estimated Delivery Date</th><th>Order Status</th></tr></thead><tbody>#foreach($order in $orders)#set($lineitems = $order.getLineitems())#foreach($lineitem in $lineitems)#set($total_price = $lineitem.getTotal_price())#set($total_amount = $total_amount + $total_price)<tr><td class="ordercolumn">$order.getId()</td><td><div class="cart-item-name-div"><div class="cart-item-name">#if($lineitem.getBrand()) $lineitem.getBrand() #end#if($lineitem.getModel_name()) $lineitem.getModel_name() #end#if($lineitem.getModel_number()) $lineitem.getModel_number() #end</div>#if($lineitem.getColor())<div class="cart-item-color">Color - $lineitem.getColor()</div>#end#if($lineitem.getDealText())<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>#end</div></td><td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td><td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($order.getAdvanceAmount())</td><td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($action.getDifference($total_price, $order.getAdvanceAmount()))</td><td><div>$action.formatDate($order.getExpected_delivery_time())</div></td><td>#if($order.getStatusDescription())$order.getStatusDescription()#end</td></tr>#end#set($total_amount = $total_amount + $insuranceAmount)#end</tbody></table><div style="margin: 30px 0px;">#if($button.equals("REFRESH"))<input id='reloadSuccessPage' type="button" value="REFRESH" class=''></input>#elseif($button.equals("RECEIPT"))<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>#end</div></div></body><script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-1.4.2.js"></script><script language="javascript" type="text/javascript" src="/storewebsite/js/jquery-ui.min.js"></script><script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.colorbox-min.js"></script><script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.validate.js"></script><script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.dataTables.min.js"></script><script language="javascript" type="text/javascript" src="/storewebsite/js/storewebsite_20130704.js"></script><script language="javascript" type="text/javascript" src="/storewebsite/js/jquery.ui.autocomplete.js"></script></html>