Subversion Repositories SmartDukaan

Rev

Rev 12171 | 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,
12243 kshitij.so 14
      null,
15
	  null
12152 kshitij.so 16
    ],
17
    "aLengthMenu": [[15, 25 ,50, 100, -1], [15 ,25, 50, 100, "All"]]
18
  } );
19
} );
20
</script>
21
<table id="table-comp" style="width: 100%">
11904 kshitij.so 22
        <thead>
23
            <tr>
24
                <th>Item Id</th>
25
				<th>Product Name</th>
11936 kshitij.so 26
				<th>Deal Price</th>
11904 kshitij.so 27
				<th>Saholic Price</th>
28
				<th>Snapdeal Price</th>
29
				<th>Flipkart Price</th>
30
                <th>Amazon Price</th>
12243 kshitij.so 31
				<th>Price Difference</th>
11904 kshitij.so 32
            </tr>
33
        </thead>
34
        <tbody>
35
	#set($items = $action.getPdData())
36
    #foreach ( $item in $items )
37
            <tr style="border: 1px">
11937 kshitij.so 38
                <td style="text-align:center;">$item.getItem_id()</td>
39
				<td style="text-align:center;">$item.getProductName()</td>
40
				<td style="color:red;text-align:center;">$item.getDealPrice()</td>
41
				<td style="text-align:center;">$item.getSaholicPrice()</td>
42
				<td style="text-align:center;">$item.getSdPrice()</td>
43
				<td style="text-align:center;">$item.getFkPrice()</td>
44
				<td style="text-align:center;">$item.getAmazonPrice()</td>
12243 kshitij.so 45
				<td style="text-align:center;">$item.getDiff()</td>
11904 kshitij.so 46
            </tr>
47
    #end
48
        </tbody>
49
    </table>