Subversion Repositories SmartDukaan

Rev

Rev 33257 | Rev 33269 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33247 ranu 1
<style>
2
    #transactionList_wrapper .col-sm-6 {
3
        padding: 2px !important;
4
    }
5
 
6
    #transactionList_length, #transactionList_filter {
7
        padding: 8px !important;
8
    }
9
</style>
33261 ranu 10
<section class="wrapper" style="font-size: 12px;">
33247 ranu 11
    <div class="row">
12
        <div class="col-lg-12">
33257 ranu 13
 
33247 ranu 14
            <ol class="breadcrumb">
15
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
16
                <li><i class="icon_document_alt"></i>Warehouse Management</li>
17
                <input type="hidden" id="firstTxnId" value="$firstTransactionId">
18
            </ol>
19
        </div>
20
    </div>
21
 
22
 
23
    <div class="col-lg-4">
24
        <div class="row">
33261 ranu 25
            <div class="well" style="padding: 10px; max-height: 800px;overflow-y: auto;">
26
                <div class="row">
27
                    <div class="col-md-6"><p><b>Transaction List</b></p></div>
28
                    <div class="col-md-6">
29
                        ##                        <select class="form-control" id="selectedWarehouse" disabled>
30
                        ##                            #foreach($warehouseEntry in $warehouseMap.entrySet())
31
                        ##                                <option value="$warehouseEntry.getKey()">$warehouseEntry.getValue()</option>
32
                        ##                            #end
33
                        ##                        </select>
34
                        <div id="authWarehousesList">
35
 
36
                        </div>
37
 
38
                    </div>
33257 ranu 39
                </div>
33261 ranu 40
                <div style="max-height: 650px;overflow-y: auto;">
33247 ranu 41
                    <table class="table table-bordered" id="transactionList">
42
                        <thead>
43
                        <tr>
44
                            <th>Txn Id</th>
45
                            <th>Retailer Name</th>
46
                            <th>Created</th>
47
                        </tr>
48
                        </thead>
49
                        <tbody>
50
                            #foreach($order in $transactionIdByOrder)
51
                            <tr class="order_by_transaction" data-transaction="$order.getTransactionId()">
52
                                <td>$order.getTransactionId()</td>
53
                                <td>
54
                                    <span>
55
                                        #if($order.getRetailerName())
56
                                            $order.getRetailerName()
57
                                        #end
58
                                        #if($order.getRetailerCity() && $order.getRetailerState())
59
                                            ($order.getRetailerCity(), $order.getRetailerState())
60
                                        #end
61
                                    </span>
62
                                </td>
63
                                <td>$order.getCreateTimestamp().format($dateFormatter)</td>
64
                            </tr>
65
                            #end
66
                        </tbody>
67
                    </table>
68
                </div>
69
            </div>
70
        </div>
71
    </div>
72
    <div class="col-lg-8" id="transaction-detail-container">
73
        <div class="row" id="transaction-detail-container">
74
 
75
        </div>
76
    </div>
77
 
78
 
79
</section>
80
 
81
 
82
<script>
83
    $(document).ready(function () {
84
        $('#transactionList').DataTable(
85
                {
86
                    "bPaginate": true,
87
                    "bLengthChange": true,
88
                    "bFilter": true,
89
                    "bInfo": false,
90
                    "bAutoWidth": false
91
                }
92
        );
93
 
94
    });
95
</script>