Subversion Repositories SmartDukaan

Rev

Rev 1136 | Rev 1372 | 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" />

<!-- Prevent MS Office toolbar from changing layout -->
<meta http-equiv="imagetoolbar" content="false">
<meta name="MSSmartTagsPreventParsing" content="true">

<title>Saholic</title>
#include ( "templates/commoncssfiles.vm" )

</head>

<body>
        <noscript>
                <p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
        </noscript>

        $action.getHeaderSnippet()
     <!-- Wrapper start -->
        <div id="main">
                $action.getMainMenuSnippet()
                $action.getSearchBarSnippet()

                <!-- wrapper-->
                <div id="wrapper">
<!-- Product detail -->
                        <div id="productDetail">
                                <div class="top">
                                        <div class="left">
                                                <div class="right"> &nbsp; </div>
                                        </div>
                                </div>
                                <div class="middle">
                                        <div class="content">
                                                <form id="frmProductDetail" name="frmProductDetail" method="post" action="">
                                                        <div class="blockLeft">
                                                                <!-- breadcrumb -->
                                                                <div id="breadcrumb"> <a href="/home">Home</a>&nbsp;&gt; <a href="#" class="deselect">Payment Success</a></div>
                                                                <!-- /breadcrumb -->
                                                                <h1 id="productHeading">Payment Success</h1>
                                                        </div>
                                                        <div class="padding_topbottom">&nbsp;</div>
                                                </form>
                                                <div class="clearBoth"></div>
                                        </div>
                                </div>
                                <div class="bottom">
                                        <div class="left">
                                                <div class="right"> &nbsp; </div>
                                        </div>
                                </div>
                        </div>
<!-- /Product detail -->

<!-- my account -->
        <div id="myAccount">
                <div class="left-grey-top">
                        <div class="left-white-right">&nbsp;</div>
                </div>
                <div class="middle">
                        <div class="middle-white-right">
                                <!-- content -->
                                <div class="content" align="center">
                                        <p align="center"><strong>$action.getMessage()</strong></p>
                                        
                        #set($orders = $action.getOrders())
                        #if($orders && $orders.size() != 0)
                                #set($total_amount = 0.0)
                                        <div align="center" class="note">Note: For order details click on Order ID</div>
                                        <table id="paySuccess" align="center" cellpadding="0" cellspacing="0" border="0" width="100%" class="tablesorter">
                                                <thead>
                                                        <tr>
                                                                <th width="14%">Order ID</th>
                                                                <th width="40%">Item Name</th>
                                                                <th>Quantity</th>
                                                                <th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
                                                                <th width="23%">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><a href="/order/$order.getId()">$order.getId()</a></td>
                                                                <td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
                                                                        #if($lineitem.getModel_name()) $lineitem.getModel_name() #end
                                                                        #if($lineitem.getModel_name())  $lineitem.getModel_name() #end
                                                                        #if($lineitem.getColor()) ($lineitem.getColor()) #end
                                                                </td>
                                                                <td>$lineitem.getQuantity()</td>
                                                                <td>$total_price</td>
                                                                <td>
                                        #if($order.getStatus().getDescription())
                                                $order.getStatus().getDescription()
                                        #end
                                                                </td>
                                                        </tr>
                                                                        #end
                                                                #end
                                                        <tr>
                                                                <td colspan="5">
                                                                        <div class="totalAmount">
                                                                                Total Amount:
                                                                                <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
                                                                                $total_amount
                                                                        </div>
                                                                </td>
                                                        </tr>
                                                </tbody>
                                        </table>
                                                #else
                                        <div class="note">
                                                        Due to some error we are unable to display your details.
                                                        Please check your account page to see the order confirmation status.
                                        </div>
                                        #end
                                </div>
                                <!-- /content -->
                                <div class="clearBoth"></div>
                        </div>
                </div>
                
                <div class="bottom">
                        <div class="bottom-grey-left">&nbsp;</div>
                </div>
        </div>
        <!-- /my account -->
                </div>
                <!-- /wrapper-->

                <!-- sidebar-->
                <div id="sidebar">
                        $action.getCustomerServiceSnippet()
                        $action.getMyResearchSnippet()
                        $action.getBrowseHistorySnippet()
                        <div style="clear:both;padding:2px;">&nbsp;</div>
                </div>
                <!-- /sidebar-->
                
                <div class="clearBoth"></div>
        </div><!-- /main -->
        $action.getFooterSnippet()
        
        #include ( "templates/commonjsfiles.vm" )
</body>
</html>