Subversion Repositories SmartDukaan

Rev

Rev 12889 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12889 Rev 15703
Line 36... Line 36...
36
#upload-promo-right-ex tbody {
36
#upload-promo-right-ex tbody {
37
    background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
37
    background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
38
    font-weight: bold;
38
    font-weight: bold;
39
}
39
}
40
 
40
 
-
 
41
#upload-promo-fbd tbody {
-
 
42
    background: url("/Support/images/center-bcg.png") repeat-y scroll right top #F6F6F6;
-
 
43
    font-weight: bold;
-
 
44
}
-
 
45
 
41
#upload-promo-right > table {
46
#upload-promo-right > table {
42
    color: #747474;
47
    color: #747474;
43
    width: 100%;
48
    width: 100%;
44
	font-weight: bold;
49
	font-weight: bold;
45
}
50
}
46
 
51
 
-
 
52
#upload-promo-fbd > table {
-
 
53
    color: #747474;
-
 
54
    width: 100%;
-
 
55
	font-weight: bold;
-
 
56
}
-
 
57
 
47
#upload-promo-right-ex > table {
58
#upload-promo-right-ex > table {
48
    color: #747474;
59
    color: #747474;
49
    width: 100%;
60
    width: 100%;
50
	font-weight: bold;
61
	font-weight: bold;
51
}
62
}
Line 143... Line 154...
143
	#else
154
	#else
144
	<input id="fbgTaxCode" name="fbgTaxCode" value=''type="text"/></td>
155
	<input id="fbgTaxCode" name="fbgTaxCode" value=''type="text"/></td>
145
	#end
156
	#end
146
</tr>
157
</tr>
147
<tr>
158
<tr>
-
 
159
<td class="detail">FBD Tax Code (Delhi)</td>
-
 
160
<td class="value">
-
 
161
	#if($itemDetail.getFbdtaxCode())
-
 
162
	<input id="fbdTaxCode" name="fbdTaxCode" value='$itemDetail.getFbdtaxCode()'type="text"/></td>
-
 
163
	#else
-
 
164
	<input id="fbdTaxCode" name="fbdTaxCode" value=''type="text"/></td>
-
 
165
	#end
-
 
166
</tr>
-
 
167
<tr>
148
<td class="detail">MFN Listing</td>
168
<td class="detail">MFN Listing</td>
149
<td class="value">#if ($itemDetail.isIsNonFba())
169
<td class="value">#if ($itemDetail.isIsNonFba())
150
      <select name="" disabled><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
170
      <select name="" disabled><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
151
	  <input name="isNonFba" value='True' type="hidden"/>
171
	  <input name="isNonFba" value='True' type="hidden"/>
152
	  #else
172
	  #else
Line 184... Line 204...
184
		<input name="isFbg" value='False' type="hidden"/>
204
		<input name="isFbg" value='False' type="hidden"/>
185
#end
205
#end
186
</td>
206
</td>
187
</tr>
207
</tr>
188
<tr>
208
<tr>
-
 
209
<td class="detail">FBD Listing (Delhi)</td>
-
 
210
<td class="value">#if ($itemDetail.isIsFbd())
-
 
211
      <select name="" disabled><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
-
 
212
	  <input name="isFbd" value='True' type="hidden"/>
-
 
213
	  #else
-
 
214
		<select name="" disabled><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
-
 
215
		<input name="isFbd" value='False' type="hidden"/>
-
 
216
#end
-
 
217
</td>
-
 
218
</tr>
-
 
219
<tr>
189
<td class="detail">MFN Price</td>
220
<td class="detail">MFN Price</td>
190
<td class="value"><input id="sellingPrice" name="sellingPrice" value='$itemDetail.getSellingPrice()'type="text"/></td>
221
<td class="value"><input id="sellingPrice" name="sellingPrice" value='$itemDetail.getSellingPrice()'type="text"/></td>
191
</tr>
222
</tr>
192
<tr>
223
<tr>
193
<td class="detail">FBA Price (Maharashtra)</td>
224
<td class="detail">FBA Price (Maharashtra)</td>
Line 200... Line 231...
200
<tr>
231
<tr>
201
<td class="detail">FBG Price (Gurgaon)</td>
232
<td class="detail">FBG Price (Gurgaon)</td>
202
<td class="value"><input id="fbgPrice" name="fbgPrice" value='$itemDetail.getFbgPrice()'type="text"/></td>
233
<td class="value"><input id="fbgPrice" name="fbgPrice" value='$itemDetail.getFbgPrice()'type="text"/></td>
203
</tr>
234
</tr>
204
<tr>
235
<tr>
205
<td class="detail">WANLC</td>
236
<td class="detail">FBD Price (Delhi)</td>
206
<td class="value"><input id="wanlc" name="wanlc" value='$action.getWanlcForItem("$itemDetail.getItemid()")'type="text" disabled/></td>
237
<td class="value"><input id="fbdPrice" name="fbdPrice" value='$itemDetail.getFbdPrice()'type="text"/></td>
207
</tr>
238
</tr>
208
<tr>
239
<tr>
209
<td class="detail">Exceptional WANLC</td>
240
<td class="detail">WANLC</td>
210
<td class="value"><input id="exceptionalWanlc" name="exceptionalWanlc" value='$itemDetail.getExceptionalWanlc()'type="text" /></td>
241
<td class="value"><input id="wanlc" name="wanlc" value='$action.getWanlcForItem("$itemDetail.getItemid()")'type="text" disabled/></td>
211
</tr>
242
</tr>
212
<!--<tr>
243
<!--<tr>
213
<td class="detail">FBA Sale Price</td>
244
<td class="detail">FBA Sale Price</td>
214
<td class="value"><input id="fbaSalePrice" name="fbaSalePrice" value='$itemDetail.getFbaSalePrice()'type="text" disabled/></td>
245
<td class="value"><input id="fbaSalePrice" name="fbaSalePrice" value='$itemDetail.getFbaSalePrice()'type="text" disabled/></td>
215
</tr>
246
</tr>
Line 224... Line 255...
224
<table id="upload" style="text-align: center;width: 100%;height:200px;">
255
<table id="upload" style="text-align: center;width: 100%;height:200px;">
225
<thead>
256
<thead>
226
</thead>
257
</thead>
227
<tbody>
258
<tbody>
228
<tr>
259
<tr>
-
 
260
<td class="detail">Exceptional WANLC</td>
-
 
261
<td class="value"><input id="exceptionalWanlc" name="exceptionalWanlc" value='$itemDetail.getExceptionalWanlc()'type="text" /></td>
-
 
262
</tr>
-
 
263
<tr>
229
<td class="detail">Other Cost</td>
264
<td class="detail">Other Cost</td>
230
<td class="value"><input id="otherCost" name="otherCost" value='$itemDetail.getOtherCost()'type="text"></td>
265
<td class="value"><input id="otherCost" name="otherCost" value='$itemDetail.getOtherCost()'type="text"></td>
231
</tr>
266
</tr>
232
<tr>
267
<tr>
233
<td class="detail">WANLC Override</td>
268
<td class="detail">WANLC Override</td>
Line 315... Line 350...
315
	  #else
350
	  #else
316
		<select name="suppressFbgPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
351
		<select name="suppressFbgPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
317
	  #end</td>
352
	  #end</td>
318
</tr>
353
</tr>
319
<tr>
354
<tr>
-
 
355
<td class="detail">Suppress FBD Price (Delhi)</td>
-
 
356
<td class="value">#if ($itemDetail.isSuppressFbdPriceUpdate())
-
 
357
      <select name="suppressFbdPriceUpdate"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
-
 
358
	  #else
-
 
359
		<select name="suppressFbdPriceUpdate"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
-
 
360
	  #end</td>
-
 
361
</tr>
-
 
362
 
-
 
363
<tr>
320
<td class="detail">Lead Time To Ship</td>
364
<td class="detail">Lead Time To Ship</td>
321
<td class="value">
365
<td class="value">
322
	#if ( !$itemDetail.isIsCustomTime() )
366
	#if ( !$itemDetail.isIsCustomTime() )
323
<input type="radio" value="False" name="isTime" checked="checked" style="width: 10%;">Default
367
<input type="radio" value="False" name="isTime" checked="checked" style="width: 10%;">Default
324
<input type="text" value=$action.getTimetoShip("$itemDetail.getItemid()") name="handlingTime" id="handlingTime" style="width: 10%;" readonly/>
368
<input type="text" value=$action.getTimetoShip("$itemDetail.getItemid()") name="handlingTime" id="handlingTime" style="width: 10%;" readonly/>
Line 363... Line 407...
363
	</tr>
407
	</tr>
364
</thead>
408
</thead>
365
<tbody></tbody>
409
<tbody></tbody>
366
</table>
410
</table>
367
<form id="amazon-promo-form" action="/Support/amazon-list!updatePromotion" enctype="multipart/form-data" method="post">
411
<form id="amazon-promo-form" action="/Support/amazon-list!updatePromotion" enctype="multipart/form-data" method="post">
368
<div class="left" style="float: left; width: 33%;">
412
<div class="left" style="float: left; width: 50%;">
369
#if ($itemDetail.isIsFbaPromotionActive())
413
#if ($itemDetail.isIsFbaPromotionActive())
370
	#set($dis-fba="")
414
	#set($dis-fba="")
371
#else
415
#else
372
	#set($dis-fba="disabled")
416
	#set($dis-fba="disabled")
373
#end
417
#end
Line 406... Line 450...
406
<td class="detail">Fba Promo End Date</td>
450
<td class="detail">Fba Promo End Date</td>
407
<td class="value">
451
<td class="value">
408
	<input id="fbaPromoEndDate" class="extended" name="fbaPromoEndDate" value='$action.getDate($itemDetail.getFbaPromoEndDate())' type="text" disabled/>
452
	<input id="fbaPromoEndDate" class="extended" name="fbaPromoEndDate" value='$action.getDate($itemDetail.getFbaPromoEndDate())' type="text" disabled/>
409
</td>
453
</td>
410
</tr>
454
</tr>
411
<tr>
-
 
412
	<td colspan="2" class="detail"></td>
-
 
413
</tr>
-
 
414
</tbody>
455
</tbody>
415
</table>
456
</table>
416
</div>
457
</div>
417
<div class="left" style="float: left;width:33%;">
458
<div class="left" style="float: right;width:50%;">
418
#if ($itemDetail.isIsFbbPromotionActive())
459
#if ($itemDetail.isIsFbbPromotionActive())
419
	#set($dis-fbb="")
460
	#set($dis-fbb="")
420
#else
461
#else
421
	#set($dis-fbb="disabled")
462
	#set($dis-fbb="disabled")
422
#end
463
#end
Line 450... Line 491...
450
<td class="detail">Fbb Promo End Date</td>
491
<td class="detail">Fbb Promo End Date</td>
451
<td class="value">
492
<td class="value">
452
	<input id="fbbPromoEndDate" class="extended" name="fbbPromoEndDate" value='$action.getDate($itemDetail.getFbbPromoEndDate())' type="text" disabled/>
493
	<input id="fbbPromoEndDate" class="extended" name="fbbPromoEndDate" value='$action.getDate($itemDetail.getFbbPromoEndDate())' type="text" disabled/>
453
</td>
494
</td>
454
</tr>
495
</tr>
-
 
496
</tbody>
-
 
497
</table>
-
 
498
</div>
-
 
499
 
-
 
500
<div class="left" style="float: left;width:50%;">
-
 
501
#if ($itemDetail.isIsFbdPromotionActive())
-
 
502
	#set($dis-fbd="")
-
 
503
#else
-
 
504
	#set($dis-fbd="disabled")
-
 
505
#end
-
 
506
<table id="upload-promo-fbd" style="text-align: center;width: 100%;height:200px;">
-
 
507
<thead>
-
 
508
</thead>
-
 
509
<tbody>
-
 
510
<tr>
-
 
511
#if ($itemDetail.isIsFbdPromotionActive())
-
 
512
	<td class="detail" colspan="2" style="color:green;">FBD PROMO ACTIVE</td>
-
 
513
#else
-
 
514
	<td class="detail" colspan="2" style="color:red;">FBD PROMO INACTIVE</td>
-
 
515
#end
-
 
516
</tr>
-
 
517
<tr>
-
 
518
<td class="detail">Fbd Promo Price</td>
-
 
519
<td class="value"><input id="fbdPromoPrice" class="extended" name="fbdPromoPrice" value='$itemDetail.getFbdPromoPrice()' type="text" $dis-fbd></td>
-
 
520
</tr>
-
 
521
<tr>
-
 
522
<td class="detail">Fbd Max Promo Price</td>
-
 
523
<td class="value">
-
 
524
	<input id="fbdMaxSalePrice" class="extended" name="fbdMaxSalePrice" value='$itemDetail.getMaxFbdSalePrice()' type="text" disabled/></td>
-
 
525
</tr>
-
 
526
<tr>
-
 
527
<td class="detail">Fbd Promo Start Date</td>
-
 
528
<td class="value">
-
 
529
	<input id="fbdPromoStartDate" class="extended" name="fbdPromoStartDate" value='$action.getDate($itemDetail.getFbdPromoStartDate())' type="text" disabled/>
-
 
530
</td>
-
 
531
</tr>
-
 
532
<tr>
-
 
533
<td class="detail">Fbd Promo End Date</td>
-
 
534
<td class="value">
-
 
535
	<input id="fbdPromoEndDate" class="extended" name="fbdPromoEndDate" value='$action.getDate($itemDetail.getFbdPromoEndDate())' type="text" disabled/>
-
 
536
</td>
-
 
537
</tr>
455
<tr style="height:36px;">
538
<tr style="height:36px;">
-
 
539
	<td class="detail"></td>
456
	<td class="value" colspan="2"></td>
540
	<td class="detail"></td>
457
</tr>
541
</tr>
458
</tboy>
542
</tbody>
459
</table>
543
</table>
460
</div>
544
</div>
-
 
545
 
-
 
546
 
-
 
547
 
-
 
548
 
-
 
549
 
-
 
550
 
-
 
551
 
-
 
552
 
-
 
553
 
-
 
554
 
-
 
555
 
-
 
556
 
-
 
557
 
461
<div class="left" style="float:right;width:33%;">
558
<div class="left" style="float:right;width:50%;">
462
#if ($itemDetail.isIsFbgPromotionActive())
559
#if ($itemDetail.isIsFbgPromotionActive())
463
	#set($dis-fbg="")
560
	#set($dis-fbg="")
464
#else
561
#else
465
	#set($dis-fbg="disabled")
562
	#set($dis-fbg="disabled")
466
#end
563
#end
Line 495... Line 592...
495
<td class="value">
592
<td class="value">
496
	<input id="fbgPromoEndDate" name="fbgPromoEndDate" class="extended" value='$action.getDate($itemDetail.getFbgPromoEndDate())' type="text" disabled/>
593
	<input id="fbgPromoEndDate" name="fbgPromoEndDate" class="extended" value='$action.getDate($itemDetail.getFbgPromoEndDate())' type="text" disabled/>
497
</td>
594
</td>
498
</tr>
595
</tr>
499
<tr style="height:36px;">
596
<tr style="height:36px;">
500
	#if ($itemDetail.isIsFbaPromotionActive() || $itemDetail.isIsFbbPromotionActive() || $itemDetail.isIsFbgPromotionActive())
597
	#if ($itemDetail.isIsFbaPromotionActive() || $itemDetail.isIsFbbPromotionActive() || $itemDetail.isIsFbgPromotionActive() || $itemDetail.isIsFbdPromotionActive())
501
		<td class="value" colspan="2"><input type="submit" value="Update FBA/FBB/FBG Promo" name="upload" style="width:60%;"></td>
598
		<td class="value" colspan="2"><input type="submit" value="Update Promo" name="upload" style="width:60%;"></td>
502
	#else
599
	#else
503
		<td class="value" colspan="2"><input type="submit" value="Update FBA/FBB/FBG Promo" name="upload" style="width:60%;" disabled></td>
600
		<td class="value" colspan="2"><input type="submit" value="Update Promo" name="upload" style="width:60%;" disabled></td>
504
	#end
601
	#end
505
</tr>
602
</tr>
506
<tr style="display:none">
603
<tr style="display:none">
507
<td class="detail">Is Fba Promo</td>
604
<td class="detail">Is Fba Promo</td>
508
<td class="value">
605
<td class="value">
Line 519... Line 616...
519
<td class="detail">Is Fbg Promo</td>
616
<td class="detail">Is Fbg Promo</td>
520
<td class="value">
617
<td class="value">
521
	<input id="isFbgPromotionActive" name="isFbgPromotionActive" value='$itemDetail.isIsFbgPromotionActive()' type="text">
618
	<input id="isFbgPromotionActive" name="isFbgPromotionActive" value='$itemDetail.isIsFbgPromotionActive()' type="text">
522
</td>
619
</td>
523
</tr>
620
</tr>
-
 
621
<tr style="display:none;">
-
 
622
<td class="detail">Is Fbd Promo</td>
-
 
623
<td class="value">
-
 
624
	<input id="isFbdPromotionActive" name="isFbdPromotionActive" value='$itemDetail.isIsFbdPromotionActive()' type="text">
-
 
625
</td>
-
 
626
</tr>
524
</tbody>
627
</tbody>
525
</table>
628
</table>
526
</div>
629
</div>
527
</form>
630
</form>
528
#set($mapAvailable = $action.getAvailableItemInventory("$itemDetail.getItemid()"))
631
#set($mapAvailable = $action.getAvailableItemInventory("$itemDetail.getItemid()"))
Line 578... Line 681...
578
              #else
681
              #else
579
                <td class="detail">$amazonInventory.getReserved()</td>
682
                <td class="detail">$amazonInventory.getReserved()</td>
580
			  #end
683
			  #end
581
			  #set($mumbai="False")
684
			  #set($mumbai="False")
582
			  #set($bangalore="False")
685
			  #set($bangalore="False")
-
 
686
			  #set($gurgaon="False")
-
 
687
			  #set($delhi="False")
583
			  <td class="value">
688
			  <td class="value">
584
				#foreach($amazonFbaInventoryLocationWise in $amazonFbaInventory)
689
				#foreach($amazonFbaInventoryLocationWise in $amazonFbaInventory)
585
					#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Mumbai")
690
					#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Mumbai")
586
						#set($mumbai="True")
691
						#set($mumbai="True")
587
					#end
692
					#end
588
					#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Bangalore")
693
					#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Bangalore")
589
						#set($bangalore="True")
694
						#set($bangalore="True")
590
					#end
695
					#end
-
 
696
					#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Gurgaon")
-
 
697
						#set($gurgaon="True")
-
 
698
					#end
-
 
699
					#if ($amazonFbaInventoryLocationWise.getLocation().toString()=="Delhi")
-
 
700
						#set($delhi="True")
-
 
701
					#end
591
				#end
702
				#end
592
				#foreach($amazonFbaInventoryLocationWise in $amazonFbaInventory)
703
				#foreach($amazonFbaInventoryLocationWise in $amazonFbaInventory)
593
					$amazonFbaInventoryLocationWise.getLocation() - $amazonFbaInventoryLocationWise.getAvailability()
704
					$amazonFbaInventoryLocationWise.getLocation() - $amazonFbaInventoryLocationWise.getAvailability()
594
					&nbsp;
705
					&nbsp;
-
 
706
				#end
595
					#if ($mumbai=="False")
707
				#if ($mumbai=="False")
596
						Mumbai - 0
708
					Mumbai - 0
597
					#end
709
				#end
598
					#if ($bangalore=="False")
710
				#if ($bangalore=="False")
599
						Bangalore - 0
711
					Bangalore - 0
-
 
712
				#end
-
 
713
				#if ($gurgaon=="False")
-
 
714
					Gurgaon - 0
600
					#end
715
				#end
-
 
716
				#if ($delhi=="False")
-
 
717
					Delhi - 0
601
				#end
718
				#end
602
			  </td>
719
			  </td>
603
			  
720
			  
604
 
721
 
605
		</tr>
722
		</tr>