Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
9242 kshitij.so 1
<span class="totalValue" style="display:none;">$action.getSearchCount()</span>
2
<table id="snapdeal-listed" style="width: 100%">
3
        <thead>
4
            <tr>
5
                <th>Item Id</th>
6
				<th>Brand</th>
7
				<th>Model Name</th>
8
				<th>Model Number</th>
9
				<th>Color</th>
10
				<th>Snapdeal Listed</th>
11
				<th>Risky</th>
12
                <th>Status</th>
13
				<th>Action</th>
11015 kshitij.so 14
				<th>Competitive Analysis</th>
9242 kshitij.so 15
            </tr>
16
        </thead>
17
        <tbody>
18
	#set($items = $action.getSnapdealItems())
19
    #foreach ( $item in $items )
20
            <tr style="border: 1px">
21
                <td style="text-align:center;">$item.getItem_id()</td>
22
				<td style="text-align:center;">$item.getBrand()</td>
23
				<td style="text-align:center;">$item.getModel_name()</td>
24
				<td style="text-align:center;">$item.getModel_number()</td>
25
				<td style="text-align:center;">$item.getColor()</td>
26
				#if($item.isIsListedOnSnapdeal())
27
						<td style="text-align:center;"><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
28
				#else
29
						<td style="text-align:center;"><a style="visibility: hidden;">I</a><img alt="Inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
30
				#end
31
				#if($item.isRisky())
32
						<td style="text-align:center;"><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
33
				#else
34
						<td style="text-align:center;"><a style="visibility: hidden;">I</a><img alt="Inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
35
				#end
36
				<td style="text-align:center;">$item.getItemStatus()</td>
9923 kshitij.so 37
				<td style="text-align:center;"><a href="#" class="editItem" it="$item.getItem_id()">View/Edit</a></td>
11015 kshitij.so 38
				<td style="text-align:center;width:10%;"><a href="/Support/snapdeal-list/competition-analysis?itemId=$item.getItem_id()" target="_blank" class="showCompetitionAnalysis" it="$item.getItem_id()">Show</a></td>
9242 kshitij.so 39
				</td>
40
            </tr>
41
    #end
42
        </tbody>
43
    </table>
44