Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
31387 amit.gupta 1
<section class="wrapper">
2
    <div class="row">
3
        <div class="col-lg-12">
4
            <h3 class="page-header"><i class="icon_document_alt"></i>Invoice Summary</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Download Invoice</a></li>
7
            </ol>
8
        </div>
9
    </div>
10
 
11
    #if($isAdmin)
12
        <input placeholder="Enter Partner Name" type="text" class="typeahead form-control"
13
               id="typeaheadpartner" name="partner" data-provide="typeahead" value="" autocomplete="off">
14
    #end
15
    <div>
16
        <div class="row">
17
            <h3>Invoices for month $yearMonthString</h3>
18
            <table class="table-condensed table">
19
                <thead>
20
                <tr>
21
                    <th>Invoice Number</th>
22
                    <th>Invoice Date</th>
23
                    <th>Action</th>
24
                </tr>
25
                </thead>
26
                <tr>
27
                    <tbody>
28
                        #foreach($invoiceEntry in $invoiceMap)
29
                        <td>$invoiceEntry.getKey()</td>
30
                        <td>$datehiphenFormatter.format($invoiceEntry.getValue())</td>
31
                        #end
32
                    </tbody>
33
                </tr>
34
            </table>
35
        </div>
36
    </div>
37
</section>
38
 
39
<script type="text/javascript">
40
    $(function () {
41
        getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
42
            partnerId = selectedPartner.partnerId;
43
        });
44
    });
45
 
46
    $(function () {
47
        $('input[name="referenceTime"]').daterangepicker(getSingleDatePicker());
48
    });
49
</script>