Subversion Repositories SmartDukaan

Rev

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

  
  <script>
   $(document).ready(function () {
        
      var dtable = $('#vendor-pricing-circular').DataTable({
                "scrollX": true,
                "bPaginate": true,
                "bLengthChange": true,
                "bFilter": true,
                "bInfo": false,
                "bAutoWidth": false,
                "pageLength": 100,
                lengthMenu: [
                    [100, -1],
                    [100, 'All'],
                ]
            
       });
    
    }); 
 
 </script>
 
 
 <div class="col-lg-12">
            <table id="vendor-pricing-circular" class="table table-striped table-advance table-hover" >
              <thead>
                <tr>
                 <th> Catalog Id</th>
                 <th> Model </th>
                 <th> TP</th>  
                 <th> DP</th>  
                 <th> MOP</th>  
                 <th> Effected On</th>
                </tr>
              </thead> 
                
              <tbody> 
              
              
                #foreach($vendorCatalogPricing in $vendorCatalogPricings)
                <tr>
                <td>$vendorCatalogPricing.getCatalogId()</td>
                    <td>$itemMap.get($vendorCatalogPricing.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
                <td>$vendorCatalogPricing.getTransferPrice()</td>
                <td>$vendorCatalogPricing.getDealerPrice()</td>
                <td>$vendorCatalogPricing.getMop()</td>
                <td data-t="s" data-v="$vendorCatalogPricing.getEffectedOn()">$vendorCatalogPricing.getEffectedOn().format($dateFormatter)</td>
               </tr>
                 #end
                 
             </tbody>
             </table>
  </div>