Subversion Repositories SmartDukaan

Rev

Rev 3037 | 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 - Failed Orders</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">
                #include("templates/mainmenu.vm")
                $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">
                                <ul class="menu">
                                    <li class="menu-item first">
                                        <h2>Order History</h2>
                                    </li>
                                    <li class="menu-item">
                                        <a href="/myaccount">Open Orders</a>
                                    </li>
                                    <li class="menu-item">
                                        <a href="/completed-orders">Completed Orders</a>
                                    </li>
                                                                        <li class="menu-item">
                                                                                <a href="/failed-orders"  class="active">Failed Orders</a>
                                                                        </li>
                                    <li class="menu-item">
                                        <h2 class="spacing">Account Settings</h2>
                                    </li>
                                    <li class="menu-item">
                                        <a href="/personal-details">Personal Details</a>
                                    </li>
                                    <li class="menu-item">
                                        <a href="/login-details">Login Details</a>
                                    </li>
                                    <li class="menu-item last">
                                        <a href="/address">Shipping Address</a>
                                    </li>
                                </ul>
                            </div>
                            <!-- /nav -->
                        <!-- content -->
                            <div class="content">
                                <h1>Failed Orders</h1>
                                                #set($orders = $action.getOrders())
                                                
                        #if($orders && $orders.size() != 0)
                                <table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
                                <thead>
                                    <tr>
                                        <th width="20%">Order ID</th>
                                        <th width="20%">Ordered on</th>
                                        <th width="25%">
                                            <span class="price">Price</span>
                                            <img src="images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
                                        </th>
                                        <th width="35%">Status</th>
                                    </tr>
                                </thead>
                                <tbody>
                            #set($count = 0)
                            #foreach($order in $orders)
                                    <tr>
                                        <td><a href="order/$order.getId()">$order.getId()</a></td>
                                        <td>
                                                                $action.getOrderCreationDate($order)
                                        </td>
                                        <td>
                                #if($order.getTotal_amount())
                                    $action.formatPrice($order.getTotal_amount())
                                #end
                                        </td>
                                        <td>
                                #if($order.getStatus().getDescription())
                                    $order.getStatus().getDescription()
                                #end
                                        </td>
                                    </tr>
                                #set($count = $count + 1)
                            #end
                                </tbody>
                            </table>
                        #else
                            <div class="note">No failed order available.</div>
                        #end
                            <br /><br /><br />
                                        <!-- shipmentDetails -->
                            <div id="shipmentDetails" style="display:none;">
                                <div class="heading">
                                    <div class="title"><span class="awbNo"></span> Shipment Details</div>
                                    <div class="close"><a href="javascript:closeShipmentDetails();">[x]</a></div>
                                    <div class="clearBoth"></div>
                                </div>
                                <div id="orderShippingStatus">
                            </div>
                        </div>
                                        <!-- /shipmentDetails -->
                    </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">
                        
                        <div id="myresearch" class="lightbox">
                #include("templates/myresearch.vm")
            </div>
            <div id="browsehistory" class="lightbox">
                #include("templates/browsehistory.vm")
            </div>
                        <div id="paymentoptions" class="lightbox">
                                #include("templates/paymentmodes.vm")
                        </div>
                        <div style="clear:both;"></div>
                </div>
                <!-- /sidebar-->
                
                <div class="clearBoth"></div>
    </div><!-- /main -->
         
         #include("templates/footer.vm")

#include ( "templates/commonjsfiles.vm" )
</body>
</html>