Subversion Repositories SmartDukaan

Rev

Rev 33257 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<style>
    #transactionList_wrapper .col-sm-6 {
        padding: 2px !important;
    }

    #transactionList_length, #transactionList_filter {
        padding: 8px !important;
    }
</style>
<section class="wrapper">
    <div class="row">
        <div class="col-lg-8">
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                <li><i class="icon_document_alt"></i>Billed Invoice</li>
                <input type="hidden" id="firstInvoiceNumber" value="$firstInvoiceNumber">
            </ol>
        </div>
        <div class="col-md-4">
            <div id="authWarehousesList">
            </div>
        </div>
    </div>


    <div class="col-lg-4">
        <div class="row">
            <div class="well" style="padding: 10px;max-height: 800px;overflow-y: auto;">
                <div>
                    <table class="table table-bordered" id="transactionList">
                        <thead>
                        <tr>
                            <th>Invoices</th>
                            <th>Billed Date</th>
                            <th>Action</th>
                        </tr>
                        </thead>
                        <tbody>
                            #foreach($entry in $invoiceBilledTimestampMap.entrySet())
                            <tr>
                                <td class="invoice-orders" data-invoice="$entry.getKey()">$entry.getKey()</td>
                                <td>$entry.getValue()</td>
                                <td>
                                    <button type="button" class="btn btn-sm btn-info pull-right invoice-download"
                                            data-invoice="$entry.getKey()">Download
                                    </button>
                                </td>
                            </tr>
                            #end
                        </tbody>

                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-8">
        <div id="invoice-detail-container">

        </div>
    </div>


</section>


<script>
    $(document).ready(function () {
        $('#transactionList').DataTable(
                {
                    //"bPaginate": true,
                    "bLengthChange": true,
                    "bFilter": true,
                    "bInfo": false,
                    "bAutoWidth": false
                }
        );

    });
</script>