Subversion Repositories SmartDukaan

Rev

Rev 4207 | 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>
        <link rel="stylesheet" href="/Support/css/bulk-order.css" type="text/css" />
        <link rel="stylesheet" href="/Support/css/demo_table.css" type="text/css" />
        <link rel="stylesheet" href="/Support/css/demo_table_jui.css" type="text/css" />
        <link rel="stylesheet" href="/Support/css/demo_page.css" type="text/css" />
        <title>
            Bulk orders
        </title>
    </head>
    <body>
        <h2 >Bulk orders</h2>
        <form action="/Support/bulk-order/new">
                <div><input type="text" name="customerEmailId" style="width:200px" placeholder="email"/><input type="submit" value="Create bulk order"/></div>
        </form>
<!--        <br />
        <br />
        <table >
            <thead >
                <tr >
                    <th >Date</th>
                    <th >Txn Id</th>
                    <th >Customer name</th>
                    <th >Email</th>
                    <th >Mobile No</th>
                    <th >Number of Orders</th>
                    <th >Amount</th>
                </tr>
            </thead>
            <tbody >
                #foreach ($txn in $action.getTransactions().keySet())
                    <tr >
                        <td >$action.convertDate($txn.getCreatedOn())</td>
                        <td >
                            <a href="/Support/bulk-order/$txn.getId()">$txn.getId()</a>
                        </td>
                        #set($order = $txn.getOrders().get(0))
                        <td >$order.getCustomer_name()</td>
                        <td >$order.getCustomer_email()</td>
                        <td >$order.getCustomer_mobilenumber()</td>
                        <td >$txn.getOrders().size()</td>
                        <td >$action.getTransactions().get($txn)</td>
                    </tr>
                #end
            </tbody>
        </table>
        <script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
        <script type="text/javascript" src="/Support/js/jquery.dataTables.min.js"></script>
        <script type="text/javascript" src="/Support/js/bulk-order-common.js"></script>
        <script type="text/javascript" src="/Support/js/bulk-order-events.js"></script>
        <script >
            $('table').dataTable({
                "aaSorting" : [ [ 1, 'desc' ] ],
                "iDisplayLength" : 10,
                "sDom": 'T<"clear">lfrtip',
                "bAutoWidth": false,
                "aoColumns" : [{ "sWidth": "20%" },
                               { "sWidth": "10%" },
                               { "sWidth": "20%" },
                               { "sWidth": "20%" },
                               { "sWidth": "10%" },
                               { "sWidth": "10%" },
                               { "sWidth": "10%" }],
                "aLengthMenu" : [ [ 10, 20, 30, -1 ], [ 10, 20, 30, "All" ] ]
            });
        </script>

    </body> -->
</html>