| Line 15... |
Line 15... |
| 15 |
#upload tbody {
|
15 |
#upload tbody {
|
| 16 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
16 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
| 17 |
font-weight: bold;
|
17 |
font-weight: bold;
|
| 18 |
}
|
18 |
}
|
| 19 |
|
19 |
|
| - |
|
20 |
#upload-promo > table {
|
| - |
|
21 |
color: #747474;
|
| - |
|
22 |
width: 100%;
|
| - |
|
23 |
}
|
| - |
|
24 |
|
| - |
|
25 |
|
| - |
|
26 |
#upload-promo tbody {
|
| - |
|
27 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
| - |
|
28 |
font-weight: bold;
|
| - |
|
29 |
}
|
| - |
|
30 |
|
| - |
|
31 |
#upload-promo-right > table {
|
| - |
|
32 |
color: #747474;
|
| - |
|
33 |
width: 100%;
|
| - |
|
34 |
}
|
| - |
|
35 |
|
| - |
|
36 |
|
| - |
|
37 |
#upload-promo-right tbody {
|
| - |
|
38 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
| - |
|
39 |
font-weight: bold;
|
| - |
|
40 |
}
|
| - |
|
41 |
|
| 20 |
.detail {
|
42 |
.detail {
|
| 21 |
background: url("/Support/images/center-blue.png") repeat-y scroll left top #E4EBF8;
|
43 |
background: url("/Support/images/center-blue.png") repeat-y scroll left top #E4EBF8;
|
| 22 |
border-bottom: 1px solid #B3C1DB;
|
44 |
border-bottom: 1px solid #B3C1DB;
|
| 23 |
border-right: 1px solid #CED9EC;
|
45 |
border-right: 1px solid #CED9EC;
|
| 24 |
color: #1F3D71;
|
46 |
color: #1F3D71;
|
| Line 51... |
Line 73... |
| 51 |
}
|
73 |
}
|
| 52 |
</style>
|
74 |
</style>
|
| 53 |
<link href="/Support/css/jquery.alerts.css" type="text/css" rel="stylesheet">
|
75 |
<link href="/Support/css/jquery.alerts.css" type="text/css" rel="stylesheet">
|
| 54 |
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
|
76 |
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
|
| 55 |
<script type="text/javascript" src="/Support/js/jquery.alerts.js"></script>
|
77 |
<script type="text/javascript" src="/Support/js/jquery.alerts.js"></script>
|
| 56 |
<script>
|
- |
|
| 57 |
function validateForm()
|
- |
|
| 58 |
{
|
- |
|
| 59 |
|
- |
|
| 60 |
var x=document.forms["upload"]["fbaPrice"].value;
|
- |
|
| 61 |
var fbaPrice = Math.floor( x );
|
- |
|
| 62 |
var y=document.forms["upload"]["sellingPrice"].value;
|
- |
|
| 63 |
var nonFbaPrice = Math.floor( y );
|
- |
|
| 64 |
var z=document.forms["upload"]["saholicPrice"].value;
|
- |
|
| 65 |
var saholicPrice = Math.floor( z );
|
- |
|
| 66 |
var holdInventory=document.forms["upload"]["holdInventory"].value;
|
- |
|
| 67 |
var defaultInventory=document.forms["upload"]["defaultInventory"].value;
|
- |
|
| 68 |
var customHandlingTime=document.forms["upload"]["customHandlingTime"].value;
|
- |
|
| 69 |
if ( x==null || x=="" || isNaN(x))
|
- |
|
| 70 |
{
|
- |
|
| 71 |
jAlert('Illegal Entry In Fba Price Field', 'ERROR');
|
- |
|
| 72 |
return false;
|
- |
|
| 73 |
}
|
- |
|
| 74 |
if ( y==null || y=="" || isNaN(y) )
|
- |
|
| 75 |
{
|
- |
|
| 76 |
jAlert('Illegal Entry In Non Fba Price Field', 'ERROR');
|
- |
|
| 77 |
return false;
|
- |
|
| 78 |
}
|
- |
|
| 79 |
|
- |
|
| 80 |
if ( customHandlingTime > 30 || customHandlingTime==null || customHandlingTime=="" || isNaN(customHandlingTime) )
|
- |
|
| 81 |
{
|
- |
|
| 82 |
jAlert('Unacceptable Value In Lead Time To Ship', 'ERROR');
|
- |
|
| 83 |
return false;
|
- |
|
| 84 |
}
|
- |
|
| 85 |
if ( holdInventory==null || holdInventory=="" || isNaN(holdInventory))
|
- |
|
| 86 |
{
|
- |
|
| 87 |
jAlert('Illegal Entry In Hold Inventory Field', 'ERROR');
|
- |
|
| 88 |
return false;
|
- |
|
| 89 |
}
|
- |
|
| 90 |
if ( defaultInventory==null || defaultInventory=="" || isNaN(defaultInventory) )
|
- |
|
| 91 |
{
|
- |
|
| 92 |
jAlert('Illegal Entry In Default Inventory Field', 'ERROR');
|
- |
|
| 93 |
return false;
|
- |
|
| 94 |
}
|
- |
|
| 95 |
|
- |
|
| 96 |
}
|
- |
|
| 97 |
|
- |
|
| 98 |
</script>
|
- |
|
| 99 |
<script type="text/javascript">
|
78 |
<script type="text/javascript">
|
| 100 |
$(document).ready(function() {
|
79 |
$(document).ready(function() {
|
| 101 |
$('#cancelbutton').click(function(e) {
|
80 |
$('#cancelbutton').click(function(e) {
|
| 102 |
window.location.href = '/Support/amazon-list';
|
81 |
window.location.href = '/Support/amazon-list';
|
| 103 |
});
|
82 |
});
|
| Line 183... |
Line 162... |
| 183 |
</tr>
|
162 |
</tr>
|
| 184 |
<tr>
|
163 |
<tr>
|
| 185 |
<td class="detail">Exceptional WANLC</td>
|
164 |
<td class="detail">Exceptional WANLC</td>
|
| 186 |
<td class="value"><input id="exceptionalWanlc" name="exceptionalWanlc" value='$itemDetail.getExceptionalWanlc()'type="text" /></td>
|
165 |
<td class="value"><input id="exceptionalWanlc" name="exceptionalWanlc" value='$itemDetail.getExceptionalWanlc()'type="text" /></td>
|
| 187 |
</tr>
|
166 |
</tr>
|
| 188 |
<tr>
|
167 |
<!--<tr>
|
| 189 |
<td class="detail">FBA Sale Price</td>
|
168 |
<td class="detail">FBA Sale Price</td>
|
| 190 |
<td class="value"><input id="fbaSalePrice" name="fbaSalePrice" value='$itemDetail.getFbaSalePrice()'type="text" disabled/></td>
|
169 |
<td class="value"><input id="fbaSalePrice" name="fbaSalePrice" value='$itemDetail.getFbaSalePrice()'type="text" disabled/></td>
|
| 191 |
</tr>
|
170 |
</tr>
|
| 192 |
<tr>
|
171 |
<tr>
|
| 193 |
<td class="detail">FBB Sale Price</td>
|
172 |
<td class="detail">FBB Sale Price</td>
|
| 194 |
<td class="value"><input id="fbbSalePrice" name="fbbSalePrice" value='$itemDetail.getFbbSalePrice()'type="text" disabled/></td>
|
173 |
<td class="value"><input id="fbbSalePrice" name="fbbSalePrice" value='$itemDetail.getFbbSalePrice()'type="text" disabled/></td>
|
| - |
|
174 |
</tr>-->
|
| - |
|
175 |
<tr>
|
| - |
|
176 |
<td class="detail">Other Cost</td>
|
| - |
|
177 |
<td class="value"><input id="otherCost" name="otherCost" value='$itemDetail.getOtherCost()'type="text"></td>
|
| 195 |
</tr>
|
178 |
</tr>
|
| 196 |
</tbody>
|
179 |
</tbody>
|
| 197 |
</table>
|
180 |
</table>
|
| 198 |
</div>
|
181 |
</div>
|
| 199 |
<div class="left" style="float: right; width: 48%;">
|
182 |
<div class="left" style="float: right; width: 48%;">
|
| 200 |
<table id="upload" style="text-align: center;width: 100%;height:200px;">
|
183 |
<table id="upload" style="text-align: center;width: 100%;height:200px;">
|
| 201 |
<thead>
|
184 |
<thead>
|
| 202 |
</thead>
|
185 |
</thead>
|
| 203 |
<tbody>
|
186 |
<tbody>
|
| 204 |
<tr>
|
187 |
<tr>
|
| 205 |
<td class="detail">Other Cost</td>
|
- |
|
| 206 |
<td class="value"><input id="otherCost" name="otherCost" value='$itemDetail.getOtherCost()'type="text"></td>
|
- |
|
| 207 |
</tr>
|
- |
|
| 208 |
<tr>
|
- |
|
| 209 |
<td class="detail">WANLC Override</td>
|
188 |
<td class="detail">WANLC Override</td>
|
| 210 |
<td class="value">#if ($itemDetail.isOverrrideWanlc())
|
189 |
<td class="value">#if ($itemDetail.isOverrrideWanlc())
|
| 211 |
<select name="overrrideWanlc"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
190 |
<select name="overrrideWanlc"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| 212 |
#else
|
191 |
#else
|
| 213 |
<select name="overrrideWanlc"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
192 |
<select name="overrrideWanlc"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| Line 311... |
Line 290... |
| 311 |
<input type="text" value='$item.getHoldInventory()' name="holdInventory" id="holdInventory" style="width: 10%;">
|
290 |
<input type="text" value='$item.getHoldInventory()' name="holdInventory" id="holdInventory" style="width: 10%;">
|
| 312 |
<span>Virtual Inventory</span>
|
291 |
<span>Virtual Inventory</span>
|
| 313 |
<input type="text" value='$item.getDefaultInventory()' name="defaultInventory" id="defaultInventory" style="width: 10%;">
|
292 |
<input type="text" value='$item.getDefaultInventory()' name="defaultInventory" id="defaultInventory" style="width: 10%;">
|
| 314 |
</td>
|
293 |
</td>
|
| 315 |
</tr>
|
294 |
</tr>
|
| 316 |
|
- |
|
| 317 |
<tr>
|
295 |
<tr>
|
| 318 |
<td class="detail">Action</td>
|
296 |
<td class="detail">Action</td>
|
| 319 |
<td class="value"><input type="submit" value="Update" name="upload" style="width: 25%;">
|
297 |
<td class="value"><input type="submit" value="Update" name="upload" style="width: 25%;">
|
| 320 |
<input type="button" style="padding-left: 5px; margin-left: 10px;width: 25%;" id="cancelbutton" name="cancel" value="Cancel">
|
298 |
<input type="button" style="padding-left: 5px; margin-left: 10px;width: 25%;" id="cancelbutton" name="cancel" value="Cancel">
|
| 321 |
</td>
|
299 |
</td>
|
| 322 |
</tr>
|
300 |
</tr>
|
| 323 |
</tbody>
|
301 |
</tbody>
|
| 324 |
</table>
|
302 |
</table>
|
| 325 |
</div>
|
303 |
</div>
|
| 326 |
</form>
|
304 |
</form>
|
| - |
|
305 |
<!--Amazon Promotion Starts -->
|
| - |
|
306 |
<table style="text-align: center;width: 100%;">
|
| - |
|
307 |
<thead>
|
| - |
|
308 |
<tr>
|
| - |
|
309 |
<th>Amazon WPI Promotion</th>
|
| - |
|
310 |
</tr>
|
| - |
|
311 |
</thead>
|
| - |
|
312 |
<tbody></tbody>
|
| - |
|
313 |
</table>
|
| - |
|
314 |
<form id="amazon-promo-form" action="/Support/amazon-list!updatePromotion" enctype="multipart/form-data" method="post">
|
| - |
|
315 |
<div class="left" style="float: left; width: 48%;">
|
| - |
|
316 |
#if ($itemDetail.isIsFbaPromotionActive())
|
| - |
|
317 |
#set($dis-fba="")
|
| - |
|
318 |
#else
|
| - |
|
319 |
#set($dis-fba="disabled")
|
| - |
|
320 |
#end
|
| - |
|
321 |
<table id="upload-promo" style="text-align: center;width: 100%;height:200px;">
|
| - |
|
322 |
<thead>
|
| - |
|
323 |
</thead>
|
| - |
|
324 |
<tbody>
|
| - |
|
325 |
<tr style="display:none;">
|
| - |
|
326 |
<td class="detail">Item Id</td>
|
| - |
|
327 |
<td class="value"><input id="promoItemId" name="promoItemId" value='$itemDetail.getItemid()' type="text" ></td>
|
| - |
|
328 |
</tr>
|
| - |
|
329 |
<tr>
|
| - |
|
330 |
#if ($itemDetail.isIsFbaPromotionActive())
|
| - |
|
331 |
<td class="detail" colspan="2" style="color:green;">FBA PROMO ACTIVE</td>
|
| - |
|
332 |
#else
|
| - |
|
333 |
<td class="detail" colspan="2" style="color:red;">FBA PROMO INACTIVE</td>
|
| - |
|
334 |
#end
|
| - |
|
335 |
</tr>
|
| - |
|
336 |
<tr>
|
| - |
|
337 |
<td class="detail">Fba Promo Price</td>
|
| - |
|
338 |
<td class="value"><input id="fbaPromoPrice" name="fbaPromoPrice" value='$itemDetail.getFbaPromoPrice()' type="text" $dis-fba></td>
|
| - |
|
339 |
</tr>
|
| - |
|
340 |
<tr>
|
| - |
|
341 |
<td class="detail">Fba Max Promo Price</td>
|
| - |
|
342 |
<td class="value">
|
| - |
|
343 |
<input id="fbaMaxSalePrice" name="fbaMaxSalePrice" value='$itemDetail.getMaxFbaSalePrice()' type="text" disabled/>
|
| - |
|
344 |
</td>
|
| - |
|
345 |
</tr>
|
| - |
|
346 |
<tr>
|
| - |
|
347 |
<td class="detail">Fba Promo Start Date</td>
|
| - |
|
348 |
<td class="value">
|
| - |
|
349 |
<input id="fbaPromoStartDate" name="fbaPromoStartDate" value='$action.getDate($itemDetail.getFbaPromoStartDate())' type="text" disabled/>
|
| - |
|
350 |
</td>
|
| - |
|
351 |
</tr>
|
| - |
|
352 |
<tr>
|
| - |
|
353 |
<td class="detail">Fba Promo End Date</td>
|
| - |
|
354 |
<td class="value">
|
| - |
|
355 |
<input id="fbaPromoEndDate" name="fbaPromoEndDate" value='$action.getDate($itemDetail.getFbaPromoEndDate())' type="text" disabled/>
|
| - |
|
356 |
</td>
|
| - |
|
357 |
</tr>
|
| - |
|
358 |
<tr>
|
| - |
|
359 |
<td colspan="2" class="detail">Update FBA/FBB Promo</td>
|
| - |
|
360 |
</tr>
|
| - |
|
361 |
</table>
|
| - |
|
362 |
</div>
|
| - |
|
363 |
<div class="left" style="float: right; width: 48%;">
|
| - |
|
364 |
#if ($itemDetail.isIsFbbPromotionActive())
|
| - |
|
365 |
#set($dis-fbb="")
|
| - |
|
366 |
#else
|
| - |
|
367 |
#set($dis-fbb="disabled")
|
| - |
|
368 |
#end
|
| - |
|
369 |
<table id="upload-promo-right" style="text-align: center;width: 100%;height:200px;">
|
| - |
|
370 |
<thead>
|
| - |
|
371 |
</thead>
|
| - |
|
372 |
<tbody>
|
| - |
|
373 |
<tr>
|
| - |
|
374 |
#if ($itemDetail.isIsFbbPromotionActive())
|
| - |
|
375 |
<td class="detail" colspan="2" style="color:green;">FBB PROMO ACTIVE</td>
|
| - |
|
376 |
#else
|
| - |
|
377 |
<td class="detail" colspan="2" style="color:red;">FBB PROMO INACTIVE</td>
|
| - |
|
378 |
#end
|
| - |
|
379 |
</tr>
|
| - |
|
380 |
<tr>
|
| - |
|
381 |
<td class="detail">Fbb Promo Price</td>
|
| - |
|
382 |
<td class="value"><input id="fbbPromoPrice" name="fbbPromoPrice" value='$itemDetail.getFbbPromoPrice()' type="text" $dis-fbb></td>
|
| - |
|
383 |
</tr>
|
| - |
|
384 |
<tr>
|
| - |
|
385 |
<td class="detail">Fbb Max Promo Price</td>
|
| - |
|
386 |
<td class="value">
|
| - |
|
387 |
<input id="fbbMaxSalePrice" name="fbbMaxSalePrice" value='$itemDetail.getMaxFbbSalePrice()' type="text" disabled/></td>
|
| - |
|
388 |
</tr>
|
| - |
|
389 |
<tr>
|
| - |
|
390 |
<td class="detail">Fbb Promo Start Date</td>
|
| - |
|
391 |
<td class="value">
|
| - |
|
392 |
<input id="fbbPromoStartDate" name="fbbPromoStartDate" value='$action.getDate($itemDetail.getFbbPromoStartDate())' type="text" disabled/>
|
| - |
|
393 |
</td>
|
| - |
|
394 |
</tr>
|
| - |
|
395 |
<tr>
|
| - |
|
396 |
<td class="detail">Fbb Promo End Date</td>
|
| - |
|
397 |
<td class="value">
|
| - |
|
398 |
<input id="fbbPromoEndDate" name="fbbPromoEndDate" value='$action.getDate($itemDetail.getFbbPromoEndDate())' type="text" disabled/>
|
| - |
|
399 |
</td>
|
| - |
|
400 |
</tr>
|
| - |
|
401 |
<tr style="height:36px;">
|
| - |
|
402 |
#if ($itemDetail.isIsFbaPromotionActive() || $itemDetail.isIsFbbPromotionActive())
|
| - |
|
403 |
<td class="value" colspan="2"><input type="submit" value="Update FBA/FBB Promo" name="upload" style="width:40%;"></td>
|
| - |
|
404 |
#else
|
| - |
|
405 |
<td class="value" colspan="2"><input type="submit" value="Update FBA/FBB Promo" name="upload" style="width:40%;" disabled></td>
|
| - |
|
406 |
#end
|
| - |
|
407 |
</tr>
|
| - |
|
408 |
<tr style="display:none">
|
| - |
|
409 |
<td class="detail">Is Fba Promo</td>
|
| - |
|
410 |
<td class="value">
|
| - |
|
411 |
<input id="isFbaPromotionActive" name="isFbaPromotionActive" value='$itemDetail.isIsFbaPromotionActive()' type="text">
|
| - |
|
412 |
</td>
|
| - |
|
413 |
</tr>
|
| - |
|
414 |
<tr style="display:none;">
|
| - |
|
415 |
<td class="detail">Is Fbb Promo</td>
|
| - |
|
416 |
<td class="value">
|
| - |
|
417 |
<input id="isFbbPromotionActive" name="isFbbPromotionActive" value='$itemDetail.isIsFbbPromotionActive()' type="text">
|
| - |
|
418 |
</td>
|
| - |
|
419 |
</tr>
|
| - |
|
420 |
</table>
|
| - |
|
421 |
</div>
|
| - |
|
422 |
</form>
|
| 327 |
#set($mapAvailable = $action.getAvailableItemInventory("$itemDetail.getItemid()"))
|
423 |
#set($mapAvailable = $action.getAvailableItemInventory("$itemDetail.getItemid()"))
|
| 328 |
#set($mapReserved = $action.getReservedItemInventory("$itemDetail.getItemid()"))
|
424 |
#set($mapReserved = $action.getReservedItemInventory("$itemDetail.getItemid()"))
|
| 329 |
<div class="left" style="padding-top:10px;">
|
425 |
<div class="left" style="padding-top:10px;">
|
| 330 |
<table id="upload" style="text-align: center;width: 100%;font-size: 14px;padding-top:10px;">
|
426 |
<table id="upload" style="text-align: center;width: 100%;font-size: 14px;padding-top:10px;">
|
| 331 |
<thead>
|
427 |
<thead>
|