| 7283 |
kshitij.so |
1 |
#set ($itemDetail = $action.fetchItemDetail())
|
| 7365 |
kshitij.so |
2 |
#set ($item = $action.getSaholicItem("$itemDetail.getItemid()"))
|
| 7283 |
kshitij.so |
3 |
<style>
|
|
|
4 |
* { font-family: Verdana; font-size: 96%; }
|
|
|
5 |
label {
|
|
|
6 |
float: left;
|
|
|
7 |
}
|
|
|
8 |
|
|
|
9 |
#upload > table {
|
|
|
10 |
color: #747474;
|
|
|
11 |
width: 100%;
|
|
|
12 |
}
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
#upload tbody {
|
|
|
16 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
|
|
17 |
font-weight: bold;
|
|
|
18 |
}
|
|
|
19 |
|
| 12661 |
kshitij.so |
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 |
|
| 12889 |
kshitij.so |
31 |
#upload-promo-right tbody {
|
|
|
32 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
|
|
33 |
font-weight: bold;
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
#upload-promo-right-ex tbody {
|
|
|
37 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
|
|
38 |
font-weight: bold;
|
|
|
39 |
}
|
|
|
40 |
|
| 12661 |
kshitij.so |
41 |
#upload-promo-right > table {
|
|
|
42 |
color: #747474;
|
|
|
43 |
width: 100%;
|
| 12889 |
kshitij.so |
44 |
font-weight: bold;
|
| 12661 |
kshitij.so |
45 |
}
|
|
|
46 |
|
| 12889 |
kshitij.so |
47 |
#upload-promo-right-ex > table {
|
|
|
48 |
color: #747474;
|
|
|
49 |
width: 100%;
|
|
|
50 |
font-weight: bold;
|
|
|
51 |
}
|
| 12661 |
kshitij.so |
52 |
|
|
|
53 |
#upload-promo-right tbody {
|
|
|
54 |
background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
|
|
|
55 |
font-weight: bold;
|
|
|
56 |
}
|
|
|
57 |
|
| 7283 |
kshitij.so |
58 |
.detail {
|
|
|
59 |
background: url("/Support/images/center-blue.png") repeat-y scroll left top #E4EBF8;
|
|
|
60 |
border-bottom: 1px solid #B3C1DB;
|
|
|
61 |
border-right: 1px solid #CED9EC;
|
|
|
62 |
color: #1F3D71;
|
|
|
63 |
height: 25px;
|
|
|
64 |
padding: 10px 0 0 24px;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
.value {
|
|
|
68 |
border-bottom: 1px solid #B3C1DB;
|
|
|
69 |
border-right: 1px solid #CED9EC;
|
|
|
70 |
height: 24px;
|
|
|
71 |
text-align: center;
|
|
|
72 |
color: #747474;
|
|
|
73 |
}
|
|
|
74 |
|
|
|
75 |
select {
|
|
|
76 |
padding-top: 2px;
|
|
|
77 |
vertical-align: middle;
|
| 7420 |
kshitij.so |
78 |
direction: ltr;
|
| 7283 |
kshitij.so |
79 |
font-weight: bold;
|
|
|
80 |
width: 50%;
|
| 7591 |
kshitij.so |
81 |
height: 22px;
|
| 7283 |
kshitij.so |
82 |
}
|
|
|
83 |
|
|
|
84 |
input {
|
|
|
85 |
font-size: 12px;
|
|
|
86 |
text-align: center;
|
|
|
87 |
width: 50%;
|
|
|
88 |
font-weight: bold;
|
|
|
89 |
}
|
| 12889 |
kshitij.so |
90 |
|
|
|
91 |
.extended {
|
|
|
92 |
width : 75%;
|
|
|
93 |
}
|
|
|
94 |
|
| 7283 |
kshitij.so |
95 |
</style>
|
|
|
96 |
<link href="/Support/css/jquery.alerts.css" type="text/css" rel="stylesheet">
|
|
|
97 |
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
|
|
|
98 |
<script type="text/javascript" src="/Support/js/jquery.alerts.js"></script>
|
|
|
99 |
<script type="text/javascript">
|
|
|
100 |
$(document).ready(function() {
|
|
|
101 |
$('#cancelbutton').click(function(e) {
|
|
|
102 |
window.location.href = '/Support/amazon-list';
|
|
|
103 |
});
|
|
|
104 |
});
|
|
|
105 |
</script>
|
| 8620 |
kshitij.so |
106 |
<form id="amazon-form" action="/Support/amazon-list!update" enctype="multipart/form-data" method="post">
|
|
|
107 |
<div class="left" style="float: left; width: 48%;">
|
|
|
108 |
<table id="upload" style="text-align: center;width: 100%;height:200px;">
|
| 7283 |
kshitij.so |
109 |
<thead>
|
|
|
110 |
</thead>
|
|
|
111 |
<tbody>
|
| 8620 |
kshitij.so |
112 |
<tr style="display:none;">
|
| 7283 |
kshitij.so |
113 |
<td class="detail">Item Id</td>
|
| 12449 |
kshitij.so |
114 |
<td class="value"><input id="itemId" name="itemId" value='$itemDetail.getItemid()'type="text" ></td>
|
| 7283 |
kshitij.so |
115 |
</tr>
|
|
|
116 |
<tr>
|
| 8620 |
kshitij.so |
117 |
<td class="detail">Product Description</td>
|
|
|
118 |
<td class="value">$itemDetail.getItemid() | $itemDetail.getName()</td>
|
| 7283 |
kshitij.so |
119 |
</tr>
|
|
|
120 |
<tr>
|
| 12889 |
kshitij.so |
121 |
<td class="detail">FBA Tax Code (Maharashtra)</td>
|
| 8620 |
kshitij.so |
122 |
<td class="value">
|
|
|
123 |
#if($itemDetail.getTaxCode())
|
|
|
124 |
<input id="taxCode" name="taxCode" value='$itemDetail.getTaxCode()'type="text"/></td>
|
|
|
125 |
#else
|
|
|
126 |
<input id="taxCode" name="taxCode" value=''type="text"/></td>
|
|
|
127 |
#end
|
| 7283 |
kshitij.so |
128 |
</tr>
|
| 10922 |
kshitij.so |
129 |
<tr>
|
| 12889 |
kshitij.so |
130 |
<td class="detail">FBB Tax Code (Bangalore)</td>
|
| 10922 |
kshitij.so |
131 |
<td class="value">
|
|
|
132 |
#if($itemDetail.getFbbtaxCode())
|
|
|
133 |
<input id="fbbTaxCode" name="fbbTaxCode" value='$itemDetail.getFbbtaxCode()'type="text"/></td>
|
|
|
134 |
#else
|
|
|
135 |
<input id="fbbTaxCode" name="fbbTaxCode" value=''type="text"/></td>
|
|
|
136 |
#end
|
|
|
137 |
</tr>
|
| 7283 |
kshitij.so |
138 |
<tr>
|
| 12889 |
kshitij.so |
139 |
<td class="detail">FBG Tax Code (Gurgaon)</td>
|
|
|
140 |
<td class="value">
|
|
|
141 |
#if($itemDetail.getFbgtaxCode())
|
|
|
142 |
<input id="fbgTaxCode" name="fbgTaxCode" value='$itemDetail.getFbgtaxCode()'type="text"/></td>
|
|
|
143 |
#else
|
|
|
144 |
<input id="fbgTaxCode" name="fbgTaxCode" value=''type="text"/></td>
|
|
|
145 |
#end
|
|
|
146 |
</tr>
|
|
|
147 |
<tr>
|
| 7603 |
kshitij.so |
148 |
<td class="detail">MFN Listing</td>
|
| 7283 |
kshitij.so |
149 |
<td class="value">#if ($itemDetail.isIsNonFba())
|
| 8401 |
kshitij.so |
150 |
<select name="" disabled><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
151 |
<input name="isNonFba" value='True' type="hidden"/>
|
| 7283 |
kshitij.so |
152 |
#else
|
| 8401 |
kshitij.so |
153 |
<select name="" disabled><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
154 |
<input name="isNonFba" value='False' type="hidden"/>
|
| 7283 |
kshitij.so |
155 |
#end
|
|
|
156 |
</td>
|
|
|
157 |
</tr>
|
|
|
158 |
<tr>
|
| 12889 |
kshitij.so |
159 |
<td class="detail">FBA Listing (Maharashtra)</td>
|
| 10938 |
kshitij.so |
160 |
<td class="value">#if ($itemDetail.isIsFba())
|
|
|
161 |
<select name="" disabled><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
162 |
<input name="isFba" value='True' type="hidden"/>
|
|
|
163 |
#else
|
|
|
164 |
<select name="" disabled><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
165 |
<input name="isFba" value='False' type="hidden"/>
|
|
|
166 |
#end</td>
|
| 7283 |
kshitij.so |
167 |
</tr>
|
| 10922 |
kshitij.so |
168 |
<tr>
|
| 12889 |
kshitij.so |
169 |
<td class="detail">FBB Listing (Bangalore)</td>
|
| 10922 |
kshitij.so |
170 |
<td class="value">#if ($itemDetail.isIsFbb())
|
| 10926 |
kshitij.so |
171 |
<select name="isFbb"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| 10922 |
kshitij.so |
172 |
#else
|
| 10926 |
kshitij.so |
173 |
<select name="isFbb"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| 10922 |
kshitij.so |
174 |
#end
|
|
|
175 |
</td>
|
|
|
176 |
</tr>
|
| 10938 |
kshitij.so |
177 |
<tr>
|
| 12889 |
kshitij.so |
178 |
<td class="detail">FBG Listing (Gurgaon)</td>
|
|
|
179 |
<td class="value">#if ($itemDetail.isIsFbg())
|
|
|
180 |
<select name="" disabled><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
181 |
<input name="isFbg" value='True' type="hidden"/>
|
|
|
182 |
#else
|
|
|
183 |
<select name="" disabled><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
184 |
<input name="isFbg" value='False' type="hidden"/>
|
|
|
185 |
#end
|
|
|
186 |
</td>
|
|
|
187 |
</tr>
|
|
|
188 |
<tr>
|
| 10938 |
kshitij.so |
189 |
<td class="detail">MFN Price</td>
|
|
|
190 |
<td class="value"><input id="sellingPrice" name="sellingPrice" value='$itemDetail.getSellingPrice()'type="text"/></td>
|
|
|
191 |
</tr>
|
|
|
192 |
<tr>
|
| 12889 |
kshitij.so |
193 |
<td class="detail">FBA Price (Maharashtra)</td>
|
| 10938 |
kshitij.so |
194 |
<td class="value"><input id="fbaPrice" name="fbaPrice" value='$itemDetail.getFbaPrice()'type="text"/></td>
|
|
|
195 |
</tr>
|
| 12449 |
kshitij.so |
196 |
<tr>
|
| 12889 |
kshitij.so |
197 |
<td class="detail">FBB Price (Bangalore)</td>
|
| 12449 |
kshitij.so |
198 |
<td class="value"><input id="fbbPrice" name="fbbPrice" value='$itemDetail.getFbbPrice()'type="text"/></td>
|
|
|
199 |
</tr>
|
|
|
200 |
<tr>
|
| 12889 |
kshitij.so |
201 |
<td class="detail">FBG Price (Gurgaon)</td>
|
|
|
202 |
<td class="value"><input id="fbgPrice" name="fbgPrice" value='$itemDetail.getFbgPrice()'type="text"/></td>
|
|
|
203 |
</tr>
|
|
|
204 |
<tr>
|
| 12449 |
kshitij.so |
205 |
<td class="detail">WANLC</td>
|
|
|
206 |
<td class="value"><input id="wanlc" name="wanlc" value='$action.getWanlcForItem("$itemDetail.getItemid()")'type="text" disabled/></td>
|
|
|
207 |
</tr>
|
|
|
208 |
<tr>
|
|
|
209 |
<td class="detail">Exceptional WANLC</td>
|
|
|
210 |
<td class="value"><input id="exceptionalWanlc" name="exceptionalWanlc" value='$itemDetail.getExceptionalWanlc()'type="text" /></td>
|
|
|
211 |
</tr>
|
| 12661 |
kshitij.so |
212 |
<!--<tr>
|
| 12449 |
kshitij.so |
213 |
<td class="detail">FBA Sale Price</td>
|
|
|
214 |
<td class="value"><input id="fbaSalePrice" name="fbaSalePrice" value='$itemDetail.getFbaSalePrice()'type="text" disabled/></td>
|
|
|
215 |
</tr>
|
|
|
216 |
<tr>
|
|
|
217 |
<td class="detail">FBB Sale Price</td>
|
|
|
218 |
<td class="value"><input id="fbbSalePrice" name="fbbSalePrice" value='$itemDetail.getFbbSalePrice()'type="text" disabled/></td>
|
| 12661 |
kshitij.so |
219 |
</tr>-->
|
| 8620 |
kshitij.so |
220 |
</tbody>
|
|
|
221 |
</table>
|
|
|
222 |
</div>
|
|
|
223 |
<div class="left" style="float: right; width: 48%;">
|
|
|
224 |
<table id="upload" style="text-align: center;width: 100%;height:200px;">
|
|
|
225 |
<thead>
|
|
|
226 |
</thead>
|
|
|
227 |
<tbody>
|
| 7283 |
kshitij.so |
228 |
<tr>
|
| 12889 |
kshitij.so |
229 |
<td class="detail">Other Cost</td>
|
|
|
230 |
<td class="value"><input id="otherCost" name="otherCost" value='$itemDetail.getOtherCost()'type="text"></td>
|
|
|
231 |
</tr>
|
|
|
232 |
<tr>
|
| 12449 |
kshitij.so |
233 |
<td class="detail">WANLC Override</td>
|
|
|
234 |
<td class="value">#if ($itemDetail.isOverrrideWanlc())
|
|
|
235 |
<select name="overrrideWanlc"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
236 |
#else
|
|
|
237 |
<select name="overrrideWanlc"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
238 |
#end
|
|
|
239 |
</td>
|
|
|
240 |
</tr>
|
|
|
241 |
<tr>
|
|
|
242 |
<td class="detail">Auto Favourite</td>
|
|
|
243 |
<td class="value">#if ($itemDetail.isAutoFavourite())
|
| 12454 |
kshitij.so |
244 |
<select name="autoFavourite"><option selected="selected" value="True">Active</option></select>
|
| 12449 |
kshitij.so |
245 |
#else
|
| 12454 |
kshitij.so |
246 |
<select name="autoFavourite"><option selected="selected" value="False">InActive</option></select>
|
| 12449 |
kshitij.so |
247 |
#end
|
|
|
248 |
</td>
|
|
|
249 |
</tr>
|
|
|
250 |
<tr>
|
|
|
251 |
<td class="detail">Manual Favourite</td>
|
|
|
252 |
<td class="value">#if ($itemDetail.isManualFavourite())
|
|
|
253 |
<select name="manualFavourite"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
254 |
#else
|
|
|
255 |
<select name="manualFavourite"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
256 |
#end
|
|
|
257 |
</td>
|
|
|
258 |
</tr>
|
|
|
259 |
<tr>
|
|
|
260 |
<td class="detail">Auto Increment</td>
|
|
|
261 |
<td class="value">#if ($itemDetail.isAutoIncrement())
|
|
|
262 |
<select name="autoIncrement"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
263 |
#else
|
|
|
264 |
<select name="autoIncrement"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
265 |
#end
|
|
|
266 |
</td>
|
|
|
267 |
</tr>
|
|
|
268 |
<tr>
|
|
|
269 |
<td class="detail">Auto Decrement</td>
|
|
|
270 |
<td class="value">#if ($itemDetail.isAutoDecrement())
|
|
|
271 |
<select name="autoDecrement"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
272 |
#else
|
|
|
273 |
<select name="autoDecrement"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
274 |
#end
|
|
|
275 |
</td>
|
|
|
276 |
</tr>
|
|
|
277 |
<tr>
|
| 7834 |
vikram.rag |
278 |
<td class="detail">Inventory Override</td>
|
| 7283 |
kshitij.so |
279 |
<td class="value">#if ($itemDetail.isIsInventoryOverride())
|
| 7591 |
kshitij.so |
280 |
<select name="isInventoryOverride"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| 7283 |
kshitij.so |
281 |
#else
|
| 7591 |
kshitij.so |
282 |
<select name="isInventoryOverride"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| 7283 |
kshitij.so |
283 |
#end
|
|
|
284 |
</td>
|
|
|
285 |
</tr>
|
|
|
286 |
<tr>
|
| 10938 |
kshitij.so |
287 |
<td class="detail">Suppress MFN Price</td>
|
|
|
288 |
<td class="value">#if ($itemDetail.isSuppressMfnPriceUpdate())
|
|
|
289 |
<select name="suppressMfnPriceUpdate"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
290 |
#else
|
|
|
291 |
<select name="suppressMfnPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
292 |
#end
|
|
|
293 |
</td>
|
|
|
294 |
</tr>
|
|
|
295 |
<tr>
|
| 12889 |
kshitij.so |
296 |
<td class="detail">Suppress FBA Price (Maharashtra)</td>
|
| 8168 |
kshitij.so |
297 |
<td class="value">#if ($itemDetail.isSuppressFbaPriceUpdate())
|
|
|
298 |
<select name="suppressFbaPriceUpdate"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
299 |
#else
|
|
|
300 |
<select name="suppressFbaPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
301 |
#end</td>
|
|
|
302 |
</tr>
|
|
|
303 |
<tr>
|
| 12889 |
kshitij.so |
304 |
<td class="detail">Suppress FBB Price (Bangalore)</td>
|
| 10922 |
kshitij.so |
305 |
<td class="value">#if ($itemDetail.isSuppressFbbPriceUpdate())
|
|
|
306 |
<select name="suppressFbbPriceUpdate"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
307 |
#else
|
|
|
308 |
<select name="suppressFbbPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
309 |
#end</td>
|
|
|
310 |
</tr>
|
|
|
311 |
<tr>
|
| 12889 |
kshitij.so |
312 |
<td class="detail">Suppress FBG Price (Gurgaon)</td>
|
|
|
313 |
<td class="value">#if ($itemDetail.isSuppressFbgPriceUpdate())
|
|
|
314 |
<select name="suppressFbgPriceUpdate"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
|
|
315 |
#else
|
|
|
316 |
<select name="suppressFbgPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
|
|
317 |
#end</td>
|
|
|
318 |
</tr>
|
|
|
319 |
<tr>
|
| 7365 |
kshitij.so |
320 |
<td class="detail">Lead Time To Ship</td>
|
|
|
321 |
<td class="value">
|
|
|
322 |
#if ( !$itemDetail.isIsCustomTime() )
|
| 7591 |
kshitij.so |
323 |
<input type="radio" value="False" name="isTime" checked="checked" style="width: 10%;">Default
|
| 7365 |
kshitij.so |
324 |
<input type="text" value=$action.getTimetoShip("$itemDetail.getItemid()") name="handlingTime" id="handlingTime" style="width: 10%;" readonly/>
|
|
|
325 |
<span>Days</span>
|
| 7591 |
kshitij.so |
326 |
<input type="radio" value="True" name="isTime" style="width: 10%;">Custom
|
| 7365 |
kshitij.so |
327 |
<input type="text" value='$itemDetail.getHandlingTime()' name="customHandlingTime" id="customHandlingTime" style="width: 10%;">
|
|
|
328 |
<span>Days</span>
|
|
|
329 |
#else
|
| 7591 |
kshitij.so |
330 |
<input type="radio" value="False" name="isTime" style="width: 10%;">Default
|
| 7365 |
kshitij.so |
331 |
<input type="text" value=$action.getTimetoShip("$itemDetail.getItemid()") name="handlingTime" id="handlingTime" style="width: 10%;" readonly/>
|
|
|
332 |
<span>Days</span>
|
| 7591 |
kshitij.so |
333 |
<input type="radio" value="True" name="isTime" checked="checked" style="width: 10%;">Custom
|
| 7365 |
kshitij.so |
334 |
<input type="text" value='$itemDetail.getHandlingTime()' name="customHandlingTime" id="customHandlingTime" style="width: 10%;">
|
|
|
335 |
<span>Days</span>
|
|
|
336 |
#end
|
|
|
337 |
</td>
|
|
|
338 |
</tr>
|
|
|
339 |
<tr>
|
| 7603 |
kshitij.so |
340 |
<td class="detail">Risky Inventory / Virtual Inventory</td>
|
| 7461 |
kshitij.so |
341 |
<td class="value">
|
| 7603 |
kshitij.so |
342 |
<span>Risky Inventory</span>
|
| 7461 |
kshitij.so |
343 |
<input type="text" value='$item.getHoldInventory()' name="holdInventory" id="holdInventory" style="width: 10%;">
|
| 7603 |
kshitij.so |
344 |
<span>Virtual Inventory</span>
|
| 7461 |
kshitij.so |
345 |
<input type="text" value='$item.getDefaultInventory()' name="defaultInventory" id="defaultInventory" style="width: 10%;">
|
|
|
346 |
</td>
|
|
|
347 |
</tr>
|
|
|
348 |
<tr>
|
| 7283 |
kshitij.so |
349 |
<td class="detail">Action</td>
|
|
|
350 |
<td class="value"><input type="submit" value="Update" name="upload" style="width: 25%;">
|
|
|
351 |
<input type="button" style="padding-left: 5px; margin-left: 10px;width: 25%;" id="cancelbutton" name="cancel" value="Cancel">
|
| 12661 |
kshitij.so |
352 |
</td>
|
| 7283 |
kshitij.so |
353 |
</tr>
|
|
|
354 |
</tbody>
|
|
|
355 |
</table>
|
| 8620 |
kshitij.so |
356 |
</div>
|
| 7283 |
kshitij.so |
357 |
</form>
|
| 12661 |
kshitij.so |
358 |
<!--Amazon Promotion Starts -->
|
|
|
359 |
<table style="text-align: center;width: 100%;">
|
|
|
360 |
<thead>
|
|
|
361 |
<tr>
|
|
|
362 |
<th>Amazon WPI Promotion</th>
|
|
|
363 |
</tr>
|
|
|
364 |
</thead>
|
|
|
365 |
<tbody></tbody>
|
|
|
366 |
</table>
|
|
|
367 |
<form id="amazon-promo-form" action="/Support/amazon-list!updatePromotion" enctype="multipart/form-data" method="post">
|
| 12889 |
kshitij.so |
368 |
<div class="left" style="float: left; width: 33%;">
|
| 12661 |
kshitij.so |
369 |
#if ($itemDetail.isIsFbaPromotionActive())
|
|
|
370 |
#set($dis-fba="")
|
|
|
371 |
#else
|
|
|
372 |
#set($dis-fba="disabled")
|
|
|
373 |
#end
|
|
|
374 |
<table id="upload-promo" style="text-align: center;width: 100%;height:200px;">
|
|
|
375 |
<thead>
|
|
|
376 |
</thead>
|
|
|
377 |
<tbody>
|
|
|
378 |
<tr style="display:none;">
|
|
|
379 |
<td class="detail">Item Id</td>
|
|
|
380 |
<td class="value"><input id="promoItemId" name="promoItemId" value='$itemDetail.getItemid()' type="text" ></td>
|
|
|
381 |
</tr>
|
|
|
382 |
<tr>
|
|
|
383 |
#if ($itemDetail.isIsFbaPromotionActive())
|
|
|
384 |
<td class="detail" colspan="2" style="color:green;">FBA PROMO ACTIVE</td>
|
|
|
385 |
#else
|
|
|
386 |
<td class="detail" colspan="2" style="color:red;">FBA PROMO INACTIVE</td>
|
|
|
387 |
#end
|
|
|
388 |
</tr>
|
|
|
389 |
<tr>
|
|
|
390 |
<td class="detail">Fba Promo Price</td>
|
| 12889 |
kshitij.so |
391 |
<td class="value"><input id="fbaPromoPrice" class="extended" name="fbaPromoPrice" value='$itemDetail.getFbaPromoPrice()' type="text" $dis-fba></td>
|
| 12661 |
kshitij.so |
392 |
</tr>
|
|
|
393 |
<tr>
|
|
|
394 |
<td class="detail">Fba Max Promo Price</td>
|
|
|
395 |
<td class="value">
|
| 12889 |
kshitij.so |
396 |
<input id="fbaMaxSalePrice" class="extended" name="fbaMaxSalePrice" value='$itemDetail.getMaxFbaSalePrice()' type="text" disabled/>
|
| 12661 |
kshitij.so |
397 |
</td>
|
|
|
398 |
</tr>
|
|
|
399 |
<tr>
|
|
|
400 |
<td class="detail">Fba Promo Start Date</td>
|
|
|
401 |
<td class="value">
|
| 12889 |
kshitij.so |
402 |
<input id="fbaPromoStartDate" class="extended" name="fbaPromoStartDate" value='$action.getDate($itemDetail.getFbaPromoStartDate())' type="text" disabled/>
|
| 12661 |
kshitij.so |
403 |
</td>
|
|
|
404 |
</tr>
|
|
|
405 |
<tr>
|
|
|
406 |
<td class="detail">Fba Promo End Date</td>
|
|
|
407 |
<td class="value">
|
| 12889 |
kshitij.so |
408 |
<input id="fbaPromoEndDate" class="extended" name="fbaPromoEndDate" value='$action.getDate($itemDetail.getFbaPromoEndDate())' type="text" disabled/>
|
| 12661 |
kshitij.so |
409 |
</td>
|
|
|
410 |
</tr>
|
|
|
411 |
<tr>
|
| 12889 |
kshitij.so |
412 |
<td colspan="2" class="detail"></td>
|
| 12661 |
kshitij.so |
413 |
</tr>
|
| 12889 |
kshitij.so |
414 |
</tbody>
|
| 12661 |
kshitij.so |
415 |
</table>
|
|
|
416 |
</div>
|
| 12889 |
kshitij.so |
417 |
<div class="left" style="float: left;width:33%;">
|
| 12661 |
kshitij.so |
418 |
#if ($itemDetail.isIsFbbPromotionActive())
|
|
|
419 |
#set($dis-fbb="")
|
|
|
420 |
#else
|
|
|
421 |
#set($dis-fbb="disabled")
|
|
|
422 |
#end
|
|
|
423 |
<table id="upload-promo-right" style="text-align: center;width: 100%;height:200px;">
|
|
|
424 |
<thead>
|
|
|
425 |
</thead>
|
|
|
426 |
<tbody>
|
|
|
427 |
<tr>
|
|
|
428 |
#if ($itemDetail.isIsFbbPromotionActive())
|
|
|
429 |
<td class="detail" colspan="2" style="color:green;">FBB PROMO ACTIVE</td>
|
|
|
430 |
#else
|
|
|
431 |
<td class="detail" colspan="2" style="color:red;">FBB PROMO INACTIVE</td>
|
|
|
432 |
#end
|
|
|
433 |
</tr>
|
|
|
434 |
<tr>
|
|
|
435 |
<td class="detail">Fbb Promo Price</td>
|
| 12889 |
kshitij.so |
436 |
<td class="value"><input id="fbbPromoPrice" class="extended" name="fbbPromoPrice" value='$itemDetail.getFbbPromoPrice()' type="text" $dis-fbb></td>
|
| 12661 |
kshitij.so |
437 |
</tr>
|
|
|
438 |
<tr>
|
|
|
439 |
<td class="detail">Fbb Max Promo Price</td>
|
|
|
440 |
<td class="value">
|
| 12889 |
kshitij.so |
441 |
<input id="fbbMaxSalePrice" class="extended" name="fbbMaxSalePrice" value='$itemDetail.getMaxFbbSalePrice()' type="text" disabled/></td>
|
| 12661 |
kshitij.so |
442 |
</tr>
|
|
|
443 |
<tr>
|
|
|
444 |
<td class="detail">Fbb Promo Start Date</td>
|
|
|
445 |
<td class="value">
|
| 12889 |
kshitij.so |
446 |
<input id="fbbPromoStartDate" class="extended" name="fbbPromoStartDate" value='$action.getDate($itemDetail.getFbbPromoStartDate())' type="text" disabled/>
|
| 12661 |
kshitij.so |
447 |
</td>
|
|
|
448 |
</tr>
|
|
|
449 |
<tr>
|
|
|
450 |
<td class="detail">Fbb Promo End Date</td>
|
|
|
451 |
<td class="value">
|
| 12889 |
kshitij.so |
452 |
<input id="fbbPromoEndDate" class="extended" name="fbbPromoEndDate" value='$action.getDate($itemDetail.getFbbPromoEndDate())' type="text" disabled/>
|
| 12661 |
kshitij.so |
453 |
</td>
|
|
|
454 |
</tr>
|
|
|
455 |
<tr style="height:36px;">
|
| 12889 |
kshitij.so |
456 |
<td class="value" colspan="2"></td>
|
|
|
457 |
</tr>
|
|
|
458 |
</tboy>
|
|
|
459 |
</table>
|
|
|
460 |
</div>
|
|
|
461 |
<div class="left" style="float:right;width:33%;">
|
|
|
462 |
#if ($itemDetail.isIsFbgPromotionActive())
|
|
|
463 |
#set($dis-fbg="")
|
|
|
464 |
#else
|
|
|
465 |
#set($dis-fbg="disabled")
|
|
|
466 |
#end
|
|
|
467 |
<table id="upload-promo-right-ex" style="text-align: center;width: 100%;height:200px;">
|
|
|
468 |
<thead>
|
|
|
469 |
</thead>
|
|
|
470 |
<tbody>
|
|
|
471 |
<tr>
|
|
|
472 |
#if ($itemDetail.isIsFbgPromotionActive())
|
|
|
473 |
<td class="detail" colspan="2" style="color:green;">FBG PROMO ACTIVE</td>
|
|
|
474 |
#else
|
|
|
475 |
<td class="detail" colspan="2" style="color:red;">FBG PROMO INACTIVE</td>
|
|
|
476 |
#end
|
|
|
477 |
</tr>
|
|
|
478 |
<tr>
|
|
|
479 |
<td class="detail">Fbg Promo Price</td>
|
|
|
480 |
<td class="value"><input id="fbgPromoPrice" class="extended" name="fbgPromoPrice" value='$itemDetail.getFbgPromoPrice()' type="text" $dis-fbg></td>
|
|
|
481 |
</tr>
|
|
|
482 |
<tr>
|
|
|
483 |
<td class="detail">Fbg Max Promo Price</td>
|
|
|
484 |
<td class="value">
|
|
|
485 |
<input id="fbgMaxSalePrice" name="fbgMaxSalePrice" class="extended" value='$itemDetail.getMaxFbgSalePrice()' type="text" disabled/></td>
|
|
|
486 |
</tr>
|
|
|
487 |
<tr>
|
|
|
488 |
<td class="detail">Fbg Promo Start Date</td>
|
|
|
489 |
<td class="value">
|
|
|
490 |
<input id="fbgPromoStartDate" name="fbgPromoStartDate" class="extended" value='$action.getDate($itemDetail.getFbgPromoStartDate())' type="text" disabled/>
|
|
|
491 |
</td>
|
|
|
492 |
</tr>
|
|
|
493 |
<tr>
|
|
|
494 |
<td class="detail">Fbg Promo End Date</td>
|
|
|
495 |
<td class="value">
|
|
|
496 |
<input id="fbgPromoEndDate" name="fbgPromoEndDate" class="extended" value='$action.getDate($itemDetail.getFbgPromoEndDate())' type="text" disabled/>
|
|
|
497 |
</td>
|
|
|
498 |
</tr>
|
|
|
499 |
<tr style="height:36px;">
|
|
|
500 |
#if ($itemDetail.isIsFbaPromotionActive() || $itemDetail.isIsFbbPromotionActive() || $itemDetail.isIsFbgPromotionActive())
|
|
|
501 |
<td class="value" colspan="2"><input type="submit" value="Update FBA/FBB/FBG Promo" name="upload" style="width:60%;"></td>
|
| 12661 |
kshitij.so |
502 |
#else
|
| 12889 |
kshitij.so |
503 |
<td class="value" colspan="2"><input type="submit" value="Update FBA/FBB/FBG Promo" name="upload" style="width:60%;" disabled></td>
|
| 12661 |
kshitij.so |
504 |
#end
|
|
|
505 |
</tr>
|
|
|
506 |
<tr style="display:none">
|
|
|
507 |
<td class="detail">Is Fba Promo</td>
|
|
|
508 |
<td class="value">
|
|
|
509 |
<input id="isFbaPromotionActive" name="isFbaPromotionActive" value='$itemDetail.isIsFbaPromotionActive()' type="text">
|
|
|
510 |
</td>
|
|
|
511 |
</tr>
|
|
|
512 |
<tr style="display:none;">
|
|
|
513 |
<td class="detail">Is Fbb Promo</td>
|
|
|
514 |
<td class="value">
|
|
|
515 |
<input id="isFbbPromotionActive" name="isFbbPromotionActive" value='$itemDetail.isIsFbbPromotionActive()' type="text">
|
|
|
516 |
</td>
|
|
|
517 |
</tr>
|
| 12889 |
kshitij.so |
518 |
<tr style="display:none;">
|
|
|
519 |
<td class="detail">Is Fbg Promo</td>
|
|
|
520 |
<td class="value">
|
|
|
521 |
<input id="isFbgPromotionActive" name="isFbgPromotionActive" value='$itemDetail.isIsFbgPromotionActive()' type="text">
|
|
|
522 |
</td>
|
|
|
523 |
</tr>
|
|
|
524 |
</tbody>
|
| 12661 |
kshitij.so |
525 |
</table>
|
|
|
526 |
</div>
|
|
|
527 |
</form>
|
| 7283 |
kshitij.so |
528 |
#set($mapAvailable = $action.getAvailableItemInventory("$itemDetail.getItemid()"))
|
|
|
529 |
#set($mapReserved = $action.getReservedItemInventory("$itemDetail.getItemid()"))
|
| 8620 |
kshitij.so |
530 |
<div class="left" style="padding-top:10px;">
|
|
|
531 |
<table id="upload" style="text-align: center;width: 100%;font-size: 14px;padding-top:10px;">
|
| 7283 |
kshitij.so |
532 |
<thead>
|
|
|
533 |
<tr>
|
| 7365 |
kshitij.so |
534 |
<th colspan="3">Inventory Saholic & Amazon (Total)</th>
|
| 7283 |
kshitij.so |
535 |
</tr>
|
|
|
536 |
</thead>
|
|
|
537 |
<tbody>
|
|
|
538 |
<tr>
|
| 8620 |
kshitij.so |
539 |
<td class="detail" style="width:33%">Warehouse</td>
|
| 7283 |
kshitij.so |
540 |
<td class="value">Available</td>
|
|
|
541 |
<td class="value">Reserved</td>
|
|
|
542 |
</tr>
|
|
|
543 |
#foreach( $keyAvailable in $mapAvailable.keySet() )
|
|
|
544 |
<tr>
|
|
|
545 |
<td class="detail">$action.getWarehouseName("$keyAvailable")</td>
|
|
|
546 |
<td class="value">$mapAvailable.get($keyAvailable)</td>
|
|
|
547 |
<td class="value">$mapReserved.get($keyAvailable)</td>
|
|
|
548 |
</tr>
|
|
|
549 |
#end
|
|
|
550 |
</tbody>
|
|
|
551 |
</table>
|
| 7591 |
kshitij.so |
552 |
<br />
|
|
|
553 |
<br />
|
| 8620 |
kshitij.so |
554 |
</div>
|
| 7283 |
kshitij.so |
555 |
#set( $amazonInventory = $action.getInventoryForAmazonItem("$itemDetail.getItemid()") )
|
| 8620 |
kshitij.so |
556 |
#set( $amazonFbaInventory = $action.getFbaInventoryForAmazonItem("$itemDetail.getItemid()") )
|
|
|
557 |
<div class="right" style="padding-top:10px;">
|
| 7283 |
kshitij.so |
558 |
<table style="text-align: center; width: 100%; font-size: 14px;">
|
|
|
559 |
<thead>
|
|
|
560 |
<tr>
|
| 8620 |
kshitij.so |
561 |
<th colspan="3">Amazon Inventory</th>
|
| 7283 |
kshitij.so |
562 |
</tr>
|
|
|
563 |
</thead>
|
|
|
564 |
<tbody>
|
|
|
565 |
<tr>
|
| 8620 |
kshitij.so |
566 |
<td class="detail">MFN Available</td>
|
|
|
567 |
<td class="detail">MFN Reserved</td>
|
|
|
568 |
<td class="value">FBA Available</td>
|
| 7283 |
kshitij.so |
569 |
</tr>
|
|
|
570 |
<tr>
|
| 7316 |
kshitij.so |
571 |
#if ( !$amazonInventory.getAvailability() )
|
|
|
572 |
<td class="detail"></td>
|
|
|
573 |
#else
|
|
|
574 |
<td class="detail">$amazonInventory.getAvailability()</td>
|
|
|
575 |
#end
|
|
|
576 |
#if ( !$amazonInventory.getReserved() )
|
| 8620 |
kshitij.so |
577 |
<td class="detail"></td>
|
| 7316 |
kshitij.so |
578 |
#else
|
| 8620 |
kshitij.so |
579 |
<td class="detail">$amazonInventory.getReserved()</td>
|
|
|
580 |
#end
|
| 11201 |
kshitij.so |
581 |
#set($mumbai="False")
|
|
|
582 |
#set($bangalore="False")
|
| 11197 |
kshitij.so |
583 |
<td class="value">
|
|
|
584 |
#foreach($amazonFbaInventoryLocationWise in $amazonFbaInventory)
|
| 11201 |
kshitij.so |
585 |
#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Mumbai")
|
|
|
586 |
#set($mumbai="True")
|
|
|
587 |
#end
|
|
|
588 |
#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Bangalore")
|
|
|
589 |
#set($bangalore="True")
|
|
|
590 |
#end
|
|
|
591 |
#end
|
|
|
592 |
#foreach($amazonFbaInventoryLocationWise in $amazonFbaInventory)
|
| 11197 |
kshitij.so |
593 |
$amazonFbaInventoryLocationWise.getLocation() - $amazonFbaInventoryLocationWise.getAvailability()
|
|
|
594 |
|
| 11201 |
kshitij.so |
595 |
#if ($mumbai=="False")
|
|
|
596 |
Mumbai - 0
|
|
|
597 |
#end
|
|
|
598 |
#if ($bangalore=="False")
|
| 11206 |
kshitij.so |
599 |
Bangalore - 0
|
| 11201 |
kshitij.so |
600 |
#end
|
| 11197 |
kshitij.so |
601 |
#end
|
|
|
602 |
</td>
|
| 8620 |
kshitij.so |
603 |
|
| 7316 |
kshitij.so |
604 |
|
| 7283 |
kshitij.so |
605 |
</tr>
|
|
|
606 |
</tbody>
|
|
|
607 |
</table>
|
| 8620 |
kshitij.so |
608 |
</div>
|