Subversion Repositories SmartDukaan

Rev

Rev 1036 | Rev 1077 | 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">My Account </a> </div>
                                                                <!-- /breadcrumb -->
                                                                <h1 id="productHeading">My Account</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-grey-left">
                                <div class="left-white-right">&nbsp;</div>
                        </div>
                </div>
                <div class="middle">
                        <div class="middle-grey-left">
                                <div class="middle-white-right">
                                        <!-- nav -->
                                        <div id="myAccountNav">&nbsp;</div>
                                        <!-- /nav -->

                                        <!-- content -->
                                        <div class="content">
                                                <p><strong>$action.getMessage()</strong></p>
                                                
                                #set($orders = $action.getOrders())
                                #if($orders && $orders.size() != 0)
                                        #set($total_amount = 0.0)
                                                <div class="note">
                                                        Note: For Tracking click on AWB number. For order details click on Order ID
                                                </div>
                                                <table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
                                                        <thead>
                                                                <tr>
                                                                        <th width="14%">Order ID</th>
                                    <th>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>
                                                                </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>$order.getId()</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>
                                                                </tr>                                                   
                                                                        #end
                                                                #end
                                                                <tr>
                                                                        <td colspan="4">
                                                                                <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>
                
                <div class="bottom">
                        <div class="bottom-grey-left">
                                <div class="bottom-white-right">&nbsp;</div>
                        </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>