Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33257 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>
10
<section class="wrapper">
11
    <div class="row">
12
        <div class="col-lg-6">
13
            <ol class="breadcrumb">
14
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
15
                <li><i class="icon_document_alt"></i>Billed Invoice</li>
16
                <input type="hidden" id="firstInvoiceNumber" value="$firstInvoiceNumber">
17
            </ol>
18
        </div>
19
        <div class="col-md-6">
20
            <select class="form-control page-header" id="selectedWarehouse" disabled>
21
                #foreach($warehouseEntry in $warehouseMap.entrySet())
22
                    <option value="$warehouseEntry.getKey()">$warehouseEntry.getValue()</option>
23
                #end
24
            </select>
25
        </div>
26
    </div>
27
 
28
 
29
    <div class="col-lg-4">
30
        <div class="row">
31
            <div class="well" style="padding: 10px;max-height: 800px;overflow-y: auto;">
32
                <div>
33
                    <table class="table table-bordered" id="transactionList">
34
                        <thead>
35
                        <tr>
36
                            <th>Invoices</th>
37
                            <th>Billed Date</th>
38
                            <th>Action</th>
39
                        </tr>
40
                        </thead>
41
                        <tbody>
42
                            #foreach($entry in $invoiceBilledTimestampMap.entrySet())
43
                            <tr>
44
                                <td class="invoice-orders" data-invoice="$entry.getKey()">$entry.getKey()</td>
45
                                <td>$entry.getValue()</td>
46
                                <td>
47
                                    <button type="button" class="btn btn-sm btn-info pull-right invoice-download"
48
                                            data-invoice="$entry.getKey()">Download
49
                                    </button>
50
                                </td>
51
                            </tr>
52
                            #end
53
                        </tbody>
54
 
55
                    </table>
56
                </div>
57
            </div>
58
        </div>
59
    </div>
60
    <div class="col-lg-8">
61
        <div id="invoice-detail-container">
62
 
63
        </div>
64
    </div>
65
 
66
 
67
</section>
68
 
69
 
70
<script>
71
    $(document).ready(function () {
72
        $('#transactionList').DataTable(
73
                {
74
                    //"bPaginate": true,
75
                    "bLengthChange": true,
76
                    "bFilter": true,
77
                    "bInfo": false,
78
                    "bAutoWidth": false
79
                }
80
        );
81
 
82
    });
83
</script>