Subversion Repositories SmartDukaan

Rev

Rev 33257 | Details | Compare with Previous | 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">
33261 ranu 12
        <div class="col-lg-8">
33257 ranu 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>
33261 ranu 19
        <div class="col-md-4">
20
            <div id="authWarehousesList">
21
            </div>
33257 ranu 22
        </div>
23
    </div>
24
 
25
 
26
    <div class="col-lg-4">
27
        <div class="row">
28
            <div class="well" style="padding: 10px;max-height: 800px;overflow-y: auto;">
29
                <div>
30
                    <table class="table table-bordered" id="transactionList">
31
                        <thead>
32
                        <tr>
33
                            <th>Invoices</th>
34
                            <th>Billed Date</th>
35
                            <th>Action</th>
36
                        </tr>
37
                        </thead>
38
                        <tbody>
39
                            #foreach($entry in $invoiceBilledTimestampMap.entrySet())
40
                            <tr>
41
                                <td class="invoice-orders" data-invoice="$entry.getKey()">$entry.getKey()</td>
42
                                <td>$entry.getValue()</td>
43
                                <td>
44
                                    <button type="button" class="btn btn-sm btn-info pull-right invoice-download"
45
                                            data-invoice="$entry.getKey()">Download
46
                                    </button>
47
                                </td>
48
                            </tr>
49
                            #end
50
                        </tbody>
51
 
52
                    </table>
53
                </div>
54
            </div>
55
        </div>
56
    </div>
57
    <div class="col-lg-8">
58
        <div id="invoice-detail-container">
59
 
60
        </div>
61
    </div>
62
 
63
 
64
</section>
65
 
66
 
67
<script>
68
    $(document).ready(function () {
69
        $('#transactionList').DataTable(
70
                {
71
                    //"bPaginate": true,
72
                    "bLengthChange": true,
73
                    "bFilter": true,
74
                    "bInfo": false,
75
                    "bAutoWidth": false
76
                }
77
        );
78
 
79
    });
80
</script>