Subversion Repositories SmartDukaan

Rev

Rev 7327 | Rev 7423 | Go to most recent revision | 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;
                }

        </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">ANC</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/Hotspot-Logo.jpg">
                <span style="font-size: 35px;font-family:'Verdana', Verdana, sans-serif;float:left">Online Catalog</span>
        <img style="float:right;margin-right:20px;" src="/storewebsite/images/Saholic-Logo.jpg">
    </div>
        
        #set($orders = $action.getOrders())
        
        <div id="main" style="float:left;width:980px;overflow: hidden;margin:50px;">
                <h2 style="color:#ff8000;border-bottom:1px solid #CCCCCC">Order Successful!</h2>
                <table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
                        <thead>
                                <tr>
                                        <th width="80" class="first" style="text-align: center;"><b>ORDER ID</b></th>
                                        <th width="222">Item &amp; Color</th>
                                        <th width="100">Unit Price</th>
                                        <th width="50">Quantity</th>
                                        <th width="100">Total Price</th>
                                        <th width="180">Estimated Delivery Date</th>
                                        <th width="200">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($lineitem.getUnit_price())</td>
                                                <td>$lineitem.getQuantity().intValue()</td>
                                                <td><img src="/storewebsite/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
                                                <td><div>$action.formatDate($order.getExpected_delivery_time())</div>
                                                </td>
                                                <td>
                                        #if($order.getStatus().getDescription())
                                                $order.getStatus().getDescription()
                                        #end
                                                </td>
                                        </tr>
                                #end
                                #set($total_amount = $total_amount + $insuranceAmount)
                        #end
            </tbody>
                </table>
        </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.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.js"></script>
</html>