Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
12152 kshitij.so 1
<script type="text/javascript">
2
$(document).ready( function() {
3
  $('#table-comp').dataTable( {
4
    "bAutoWidth": false,
5
    "iDisplayLength": 15,
6
		"aoColumns": [
7
      null,
8
      null,
9
      null,
10
      null,
11
      null,
12
	  null,
13
      null
14
    ],
15
    "aLengthMenu": [[15, 25 ,50, 100, -1], [15 ,25, 50, 100, "All"]]
16
  } );
17
} );
18
</script>
19
<table id="table-comp" style="width: 100%">
11904 kshitij.so 20
        <thead>
21
            <tr>
22
                <th>Item Id</th>
23
				<th>Product Name</th>
11936 kshitij.so 24
				<th>Deal Price</th>
11904 kshitij.so 25
				<th>Saholic Price</th>
26
				<th>Snapdeal Price</th>
27
				<th>Flipkart Price</th>
28
                <th>Amazon Price</th>
29
            </tr>
30
        </thead>
31
        <tbody>
32
	#set($items = $action.getPdData())
33
    #foreach ( $item in $items )
34
            <tr style="border: 1px">
11937 kshitij.so 35
                <td style="text-align:center;">$item.getItem_id()</td>
36
				<td style="text-align:center;">$item.getProductName()</td>
37
				<td style="color:red;text-align:center;">$item.getDealPrice()</td>
38
				<td style="text-align:center;">$item.getSaholicPrice()</td>
39
				<td style="text-align:center;">$item.getSdPrice()</td>
40
				<td style="text-align:center;">$item.getFkPrice()</td>
41
				<td style="text-align:center;">$item.getAmazonPrice()</td>
11904 kshitij.so 42
            </tr>
43
    #end
44
        </tbody>
45
    </table>