Subversion Repositories SmartDukaan

Rev

Rev 10937 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8620 kshitij.so 1
<span class="totalValue" style="display:none;">$action.getSearchCount()</span>
2
<table id="amazon-listed" style="width: 100%">
3
        <thead>
4
            <tr>
5
                <th>Item Id</th>
6
				<th>Category</th>
7
				<th>Asin</th>
8
				<th>Saholic / Amazon Item Description</th>
9
				<th>Price Difference</th>
10
				<th>Risky</th>
11
                 <th>Status</th>
12
				<th>Shipping</th>
13
				<th>Inventory Override</th>
14
				<th>Mfn Listing</th>
15
				<th>Fba Listing</th>
16
				<th>Action</th>
17
            </tr>
18
        </thead>
19
        <tbody>
20
	#set($items = $action.getAmazonItems())
21
    #foreach ( $item in $items )
22
            <tr style="border: 1px">
23
                <td>$item.getItemid()</td>
24
				<td>$item.getCategory()</td>
25
				<td>$item.getAsin()</td>
26
				#set ($saholicItem = $action.getSaholicItem("$item.getItemid()"))
27
				<td style="text-align:left;">SAHOLIC: $saholicItem.getBrand() $saholicItem.getModelName() $saholicItem.getModelNumber() $saholicItem.getColor()<br /> AMAZON: $item.getName()</td>
28
				#if($saholicItem.getSellingPrice() != $item.getFbaPrice() || $saholicItem.getSellingPrice() != $item.getSellingPrice())
29
						<td>$saholicItem.getSellingPrice() / FBA: $item.getFbaPrice() / MFN: $item.getSellingPrice()</td>
30
				#else
31
						<td>-</td>
32
				#end
33
				#if($saholicItem.isRisky())
34
						<td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
35
				#else
36
						<td><a style="visibility: hidden;">I</a><img alt="Inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
37
				#end
38
				<td>$saholicItem.getItemStatus()</td>
39
				#if($item.isIsCustomTime())
40
					<td>Set To Custom</td>
41
				#else
42
					<td>Set To Default</td>
43
				#end
44
				#if($item.isIsInventoryOverride())
45
					<td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
46
				#else
47
					<td><a style="visibility: hidden;">I</a><img alt="Inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
48
				#end
49
				#if($item.isIsNonFba())
50
					<td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
51
				#else
52
				<td><a style="visibility: hidden;">I</a><img alt="inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
53
				#end
54
				#if($item.isIsFba())
55
					<td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
56
				#else
57
					<td><a style="visibility: hidden;">I</a><img alt="inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
58
				#end
59
				<td><a href="#" class="editItem" itemId="$item.getItemid()">View/Edit</a></td>
60
				</td>
61
            </tr>
62
    #end
63
        </tbody>
64
    </table>
65