Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32074 tejbeer 1
 
2
  <script>
3
   $(document).ready(function () {
4
 
5
      var dtable = $('#vendor-pricing-circular').DataTable({
32373 tejbeer 6
                "scrollX": true,
7
                "bPaginate": true,
8
                "bLengthChange": true,
9
                "bFilter": true,
10
                "bInfo": false,
11
                "bAutoWidth": false,
12
                "pageLength": 100,
13
                lengthMenu: [
14
                    [100, -1],
15
                    [100, 'All'],
16
                ]
32074 tejbeer 17
 
18
       });
19
 
20
    }); 
21
 
22
 </script>
23
 
24
 
25
 <div class="col-lg-12">
26
            <table id="vendor-pricing-circular" class="table table-striped table-advance table-hover" >
27
              <thead>
28
                <tr>
29
                 <th> Catalog Id</th>
30
                 <th> Model </th>
31
                 <th> TP</th>  
32
                 <th> DP</th>  
33
                 <th> MOP</th>  
34
                 <th> Effected On</th>
35
                </tr>
36
              </thead> 
37
 
38
              <tbody> 
39
 
40
 
41
                #foreach($vendorCatalogPricing in $vendorCatalogPricings)
32116 tejbeer 42
                <tr>
32074 tejbeer 43
                <td>$vendorCatalogPricing.getCatalogId()</td>
32351 amit.gupta 44
                    <td>$itemMap.get($vendorCatalogPricing.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
32074 tejbeer 45
                <td>$vendorCatalogPricing.getTransferPrice()</td>
46
                <td>$vendorCatalogPricing.getDealerPrice()</td>
47
                <td>$vendorCatalogPricing.getMop()</td>
32261 tejbeer 48
                <td data-t="s" data-v="$vendorCatalogPricing.getEffectedOn()">$vendorCatalogPricing.getEffectedOn().format($dateFormatter)</td>
32116 tejbeer 49
               </tr>
32074 tejbeer 50
                 #end
51
 
52
             </tbody>
53
             </table>
54
  </div>
55
 
56