Subversion Repositories SmartDukaan

Rev

Rev 4207 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4207 mandeep.dh 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
    <head>
4
        <link rel="stylesheet" href="/Support/css/bulk-order.css" type="text/css" />
5
        <link rel="stylesheet" href="/Support/css/demo_table.css" type="text/css" />
6
        <link rel="stylesheet" href="/Support/css/demo_table_jui.css" type="text/css" />
7
        <link rel="stylesheet" href="/Support/css/demo_page.css" type="text/css" />
8
        <title>
9
            Bulk orders
10
        </title>
11
    </head>
12
    <body>
13
        <h2 >Bulk orders</h2>
14
        <form action="/Support/bulk-order/new">
22452 amit.gupta 15
        	<div><input type="text" name="customerEmailId" style="width:200px" placeholder="email"/><input type="submit" value="Create bulk order"/></div>
4207 mandeep.dh 16
        </form>
22452 amit.gupta 17
<!--        <br />
4207 mandeep.dh 18
        <br />
19
        <table >
20
            <thead >
21
                <tr >
22
                    <th >Date</th>
23
                    <th >Txn Id</th>
24
                    <th >Customer name</th>
25
                    <th >Email</th>
26
                    <th >Mobile No</th>
27
                    <th >Number of Orders</th>
28
                    <th >Amount</th>
29
                </tr>
30
            </thead>
31
            <tbody >
32
                #foreach ($txn in $action.getTransactions().keySet())
33
                    <tr >
34
                        <td >$action.convertDate($txn.getCreatedOn())</td>
35
                        <td >
36
                            <a href="/Support/bulk-order/$txn.getId()">$txn.getId()</a>
37
                        </td>
38
                        #set($order = $txn.getOrders().get(0))
39
                        <td >$order.getCustomer_name()</td>
40
                        <td >$order.getCustomer_email()</td>
41
                        <td >$order.getCustomer_mobilenumber()</td>
42
                        <td >$txn.getOrders().size()</td>
43
                        <td >$action.getTransactions().get($txn)</td>
44
                    </tr>
45
                #end
46
            </tbody>
47
        </table>
48
        <script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
49
        <script type="text/javascript" src="/Support/js/jquery.dataTables.min.js"></script>
50
        <script type="text/javascript" src="/Support/js/bulk-order-common.js"></script>
51
        <script type="text/javascript" src="/Support/js/bulk-order-events.js"></script>
52
        <script >
53
            $('table').dataTable({
54
                "aaSorting" : [ [ 1, 'desc' ] ],
55
                "iDisplayLength" : 10,
56
                "sDom": 'T<"clear">lfrtip',
57
                "bAutoWidth": false,
58
                "aoColumns" : [{ "sWidth": "20%" },
59
                               { "sWidth": "10%" },
60
                               { "sWidth": "20%" },
61
                               { "sWidth": "20%" },
62
                               { "sWidth": "10%" },
63
                               { "sWidth": "10%" },
64
                               { "sWidth": "10%" }],
65
                "aLengthMenu" : [ [ 10, 20, 30, -1 ], [ 10, 20, 30, "All" ] ]
66
            });
67
        </script>
68
 
22452 amit.gupta 69
    </body> -->
4207 mandeep.dh 70
</html>