Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
31287 tejbeer 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>Sale</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
                <li><i class="icon_document_alt"></i>Sale</li>
8
            </ol>
9
        </div>
10
    </div>
11
 
12
 
13
 
14
 
15
    <div class="row">
16
 
17
        <div class="col-lg-12">
18
            <table id="saleDetail" class="table table-striped table-advance table-hover" style="width:100%">
19
                <thead>
20
                <tr>
21
                    <th>Name</th>
22
                    #foreach($ym in $yearMonth)
23
 
24
                    <th>$ym</th>
25
                    #end
26
                     </tr>
27
                </thead>
28
                <tbody>
29
                    #foreach($name in $customRetailerMap.entrySet())
30
                    <tr>
31
                     <td>$name.getValue().getBusinessName()</td>
32
                    #foreach($ym in $yearMonth)
33
 
31294 tejbeer 34
                    <td>$partnerMonthSaleMap.get($name.getValue().getPartnerId()).get($ym)</td>
31287 tejbeer 35
                    #end
36
 
37
                     </tr>
38
                    #end
39
                </tbody>
40
            </table>
41
        </div>
42
 
43
 
44
    </div>
45
 
46
 
47
 
48
 
49
 
50
</section>
51
 
52
 
53
 
54
<script type="text/javascript">
55
 
56
 
57
        var table = $('#saleDetail').DataTable({
58
            "lengthMenu": [10, 25, 50, 75, 100, 250, 1000],
59
            "scrollX": true,
60
 
61
            orderCellsTop: true,
62
            fixedHeader: true
63
        });
64
 
65
 
66
</script>
67
 
68
 
69
 
70
 
71
 
72
 
73