Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
8620 kshitij.so 1
<table id="amazon-listed" style="width: 100%">
2
        <thead>
3
            <tr>
4
                <th>Item Id</th>
5
				<th>Category</th>
6
				<th>Asin</th>
7
				<th>Saholic / Amazon Item Description</th>
8
				<th>Price Difference</th>
9
				<th>Risky</th>
10
                 <th>Status</th>
11
				<th>Shipping</th>
12
				<th>Inventory Override</th>
10937 kshitij.so 13
				<th>MFN Listing</th>
14
				<th>FBA Listing</th>
15
				<th>FBB Listing</th>
8620 kshitij.so 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
10937 kshitij.so 59
				#if($item.isIsFbb())
60
					<td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
61
				#else
62
					<td><a style="visibility: hidden;">I</a><img alt="inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
63
				#end
8620 kshitij.so 64
				<td><a href="#" class="editItem" itemId="$item.getItemid()">View/Edit</a></td>
65
				</td>
66
            </tr>
67
    #end
68
        </tbody>
69
    </table>
70