Subversion Repositories SmartDukaan

Rev

Rev 32373 | 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],
33183 shampa 15
                    [50,100, 'All'],
32373 tejbeer 16
                ]
33183 shampa 17
 
32074 tejbeer 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>
33183 shampa 29
                    <th> Vendor name</th>
30
 
32074 tejbeer 31
                 <th> Catalog Id</th>
32
                 <th> Model </th>
33
                 <th> TP</th>  
34
                 <th> DP</th>  
35
                 <th> MOP</th>  
36
                 <th> Effected On</th>
37
                </tr>
38
              </thead> 
39
 
40
              <tbody> 
41
 
42
 
43
                #foreach($vendorCatalogPricing in $vendorCatalogPricings)
32116 tejbeer 44
                <tr>
33183 shampa 45
                    <td>$suppliers.get($vendorCatalogPricing.getVendorId()).getName()</td>
46
 
32074 tejbeer 47
                <td>$vendorCatalogPricing.getCatalogId()</td>
32351 amit.gupta 48
                    <td>$itemMap.get($vendorCatalogPricing.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
32074 tejbeer 49
                <td>$vendorCatalogPricing.getTransferPrice()</td>
50
                <td>$vendorCatalogPricing.getDealerPrice()</td>
51
                <td>$vendorCatalogPricing.getMop()</td>
32261 tejbeer 52
                <td data-t="s" data-v="$vendorCatalogPricing.getEffectedOn()">$vendorCatalogPricing.getEffectedOn().format($dateFormatter)</td>
32116 tejbeer 53
               </tr>
32074 tejbeer 54
                 #end
55
 
56
             </tbody>
57
             </table>
58
  </div>
59
 
60