Subversion Repositories SmartDukaan

Rev

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

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