Subversion Repositories SmartDukaan

Rev

Rev 7591 | Rev 7800 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7591 Rev 7603
Line 20... Line 20...
20
</style>
20
</style>
21
<script type="text/javascript">
21
<script type="text/javascript">
22
$(document).ready( function() {
22
$(document).ready( function() {
23
  $('#amazon-listed').dataTable( {
23
  $('#amazon-listed').dataTable( {
24
    "iDisplayLength": 25,
24
    "iDisplayLength": 25,
-
 
25
	"bAutoWidth": false,
25
    "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]
26
    "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]
26
  } );
27
  } );
27
} );
28
} );
28
</script>
29
</script>
29
<title>Amazon Listed Items</title>
30
<title>Amazon Listed Items</title>
30
</head>
31
</head>
31
<body>
32
<body>
32
	<div>
33
	<div>
33
       <a style="padding-left: 10px;" href="/Support/logout">LOGOUT</a>
34
       <a style="padding-left: 10px;" href="/Support/logout">Logout</a>
34
</div>
35
</div>
35
<div>
36
<div>
36
    <div style="color:blue;">
37
    <div style="color:blue;">
37
    #sactionmessage()
38
    #sactionmessage()
38
    </div>
39
    </div>
Line 51... Line 52...
51
        <thead>
52
        <thead>
52
            <tr>
53
            <tr>
53
                <th>Item Id</th>
54
                <th>Item Id</th>
54
				<th>Category</th>
55
				<th>Category</th>
55
				<th>Asin</th>
56
				<th>Asin</th>
56
				<th>Saholic Item Description</th>
57
				<th>Saholic / Amazon Item Description</th>
57
				<th>Amazon Item Description</th>
58
				<th>Price Difference</th>
-
 
59
				<th>Risky</th>
-
 
60
				<th>Shipping</th>
-
 
61
				<th>Inventory</th>
58
				<th>Action</th>
62
				<th>Action</th>
59
            </tr>
63
            </tr>
60
        </thead>
64
        </thead>
61
        <tbody>
65
        <tbody>
62
    #foreach ( $item in $items )
66
    #foreach ( $item in $items )
63
            <tr style="border: 1px">
67
            <tr style="border: 1px">
64
                <td>$item.getItemid()</td>
68
                <td>$item.getItemid()</td>
65
				<td>$item.getCategory()</td>
69
				<td>$item.getCategory()</td>
66
				<td>$item.getAsin()</td>
70
				<td>$item.getAsin()</td>
67
				<td>$mapItem.get($item.getItemid())</td>  
71
				<td style="text-align:left;">SAHOLIC: $mapItem.get($item.getItemid()).getBrand() $mapItem.get($item.getItemid()).getModelName() $mapItem.get($item.getItemid()).getModelNumber() $mapItem.get($item.getItemid()).getColor()<br /> AMAZON: $item.getName()</td>
-
 
72
				#if($mapItem.get($item.getItemid()).getSellingPrice() != $item.getFbaPrice() || $mapItem.get($item.getItemid()).getSellingPrice() != $item.getSellingPrice())
-
 
73
					<td>Saholic: $mapItem.get($item.getItemid()).getSellingPrice() / FBA: $item.getFbaPrice() / MFN: $item.getSellingPrice()</td>
-
 
74
				#else
-
 
75
					<td>-</td>
-
 
76
				#end
-
 
77
				#if($mapItem.get($item.getItemid()).isRisky())
-
 
78
				<td>Risky</td>
-
 
79
				#else
-
 
80
				<td></td>
-
 
81
				#end
-
 
82
				#if($item.isIsCustomTime())
-
 
83
				<td>Set To Custom</td>
-
 
84
				#else
68
				<td>$item.getName()</td>
85
				<td>Set To Default</td>
-
 
86
				#end
-
 
87
				#if($item.isIsInventoryOverride())
-
 
88
				<td>Overridden</td>
-
 
89
				#else
-
 
90
				<td></td>
-
 
91
				#end
69
				<td><a href="/Support/amazon-list/$item.getItemid()/edit">View/Edit</a></td>
92
				<td><a href="/Support/amazon-list/$item.getItemid()/edit">View/Edit</a></td>
70
				</td>
93
				</td>
71
            </tr>
94
            </tr>
72
    #end
95
    #end
73
        </tbody>
96
        </tbody>