| Line 1... |
Line 1... |
| 1 |
#set ($itemDetail = $action.fetchItemDetail())
|
1 |
#set ($itemDetail = $action.fetchItemDetail())
|
| 2 |
#set ($mpDetail = $action.fetchMarketplaceDetail())
|
2 |
#set ($mpDetail = $action.fetchMarketplaceDetail())
|
| - |
|
3 |
#set ($sdItem = $action.fetchSdItem())
|
| 3 |
<style>
|
4 |
<style>
|
| 4 |
* { font-family: Verdana; font-size: 96%; }
|
5 |
* { font-family: Verdana; font-size: 96%; }
|
| 5 |
label {
|
6 |
label {
|
| 6 |
float: left;
|
7 |
float: left;
|
| 7 |
}
|
8 |
}
|
| Line 129... |
Line 130... |
| 129 |
break;
|
130 |
break;
|
| 130 |
}
|
131 |
}
|
| 131 |
});
|
132 |
});
|
| 132 |
</script>
|
133 |
</script>
|
| 133 |
<script type="text/javascript">
|
134 |
<script type="text/javascript">
|
| - |
|
135 |
function calculateStuffVOI()
|
| - |
|
136 |
{
|
| - |
|
137 |
$('input#minPosTpVoi').removeClass("border-highlight");
|
| - |
|
138 |
$('input#minPosSpVoi').removeClass("border-highlight");
|
| - |
|
139 |
$('input#transferPriceVOI').removeClass("border-highlight");
|
| - |
|
140 |
$('input#serviceTaxVOI').removeClass("border-highlight");
|
| - |
|
141 |
$('input#commissionVoi').removeClass("border-highlight");
|
| - |
|
142 |
$('input#marginVOI').removeClass();
|
| - |
|
143 |
$('input#marginPerVOI').removeClass();
|
| - |
|
144 |
var itemWeight=$('#itemWeight').val();
|
| - |
|
145 |
itemWeight = +itemWeight+.05;
|
| - |
|
146 |
console.log(itemWeight);
|
| - |
|
147 |
var packagingCost=$('#packagingCost').val();
|
| - |
|
148 |
if (itemWeight==0){
|
| - |
|
149 |
var courierCost =40;
|
| - |
|
150 |
}
|
| - |
|
151 |
else{
|
| - |
|
152 |
var slabs = parseInt((parseFloat(itemWeight)-.001)/.5)
|
| - |
|
153 |
var courierCost = 40;
|
| - |
|
154 |
for (var i=0;i<slabs;i++)
|
| - |
|
155 |
{
|
| - |
|
156 |
courierCost = courierCost + 30;
|
| - |
|
157 |
}
|
| - |
|
158 |
}
|
| - |
|
159 |
console.log(courierCost);
|
| - |
|
160 |
//courierCost = ((courierCost+0)*1.1236).toFixed(2);
|
| - |
|
161 |
var voiSellingPrice=$('#voiSellingPrice').val();
|
| - |
|
162 |
var nlc=$('#maxNlc').val();
|
| - |
|
163 |
var otherCost=$('#otherCost').val();
|
| - |
|
164 |
var othCost=parseFloat(otherCost);
|
| - |
|
165 |
var pc=parseFloat(packagingCost);
|
| - |
|
166 |
if ( voiSellingPrice==null || voiSellingPrice=="" || isNaN(voiSellingPrice) || nlc==null || nlc=="" || isNaN(nlc)){
|
| - |
|
167 |
$('input#courierCostVoi').val('0.00');
|
| - |
|
168 |
$('input#serviceTaxVoi').val('0.00');
|
| - |
|
169 |
$('input#commissionVoi').val('0.00');
|
| - |
|
170 |
}
|
| - |
|
171 |
else{
|
| - |
|
172 |
var serviceTaxRate=$('#serviceTaxRate').val();
|
| - |
|
173 |
console.log(serviceTaxRate)
|
| - |
|
174 |
var stRate = serviceTaxRate/100;
|
| - |
|
175 |
var com=$('#commissionRate').val();
|
| - |
|
176 |
var comRate=(com/100);
|
| - |
|
177 |
console.log(comRate);
|
| - |
|
178 |
var pgVal=$('#pgFee').val();
|
| - |
|
179 |
var pgFeeRate=pgVal/100;
|
| - |
|
180 |
console.log(pgVal);
|
| - |
|
181 |
var emiFeeRate=$('#emiFee').val();
|
| - |
|
182 |
console.log(emiFeeRate);
|
| - |
|
183 |
var emiFee=emiFeeRate/100;
|
| - |
|
184 |
var closingFee=parseFloat($('#closingFee').val());
|
| - |
|
185 |
var returnProvision=parseFloat($('#returnProvision').val());
|
| - |
|
186 |
console.log(returnProvision);
|
| - |
|
187 |
console.log(closingFee);
|
| - |
|
188 |
console.log(pgFeeRate);
|
| - |
|
189 |
var margin=$('#margin').val();
|
| - |
|
190 |
var vatRate=$('#vat').val();
|
| - |
|
191 |
if ( vatRate==null || vatRate=="" || isNaN(vatRate)){
|
| - |
|
192 |
jAlert('Please enter VAT Rate for item','ERROR');
|
| - |
|
193 |
$('input#voiSellingPrice').val('0.00');
|
| - |
|
194 |
return false;
|
| - |
|
195 |
}
|
| - |
|
196 |
var vat=vatRate/100;
|
| - |
|
197 |
if (pgFeeRate*parseFloat(voiSellingPrice)>=20){
|
| - |
|
198 |
var commisionPrice=((comRate+pgFeeRate)*parseFloat(voiSellingPrice)).toFixed(2);
|
| - |
|
199 |
}
|
| - |
|
200 |
else{
|
| - |
|
201 |
var commisionPrice=(comRate*parseFloat(voiSellingPrice)+20).toFixed(2);
|
| - |
|
202 |
console.log("Default pg fee block");
|
| - |
|
203 |
}
|
| - |
|
204 |
console.log(+courierCost);
|
| - |
|
205 |
var ourTp=(parseFloat(voiSellingPrice)-parseFloat(voiSellingPrice)*(1+stRate)*((comRate)+emiFee)-((+courierCost+closingFee)*(1+stRate))-(Math.max(20,pgFeeRate*parseFloat(voiSellingPrice))*(1+stRate)));
|
| - |
|
206 |
var vatValue=(((voiSellingPrice/(1+vat))-(nlc/(1+vat)))*vat).toFixed(2);
|
| - |
|
207 |
var inHouseCost=(+vatValue+pc+((returnProvision/100)*voiSellingPrice)+othCost);
|
| - |
|
208 |
var lowestTp=(+nlc+inHouseCost).toFixed(2);
|
| - |
|
209 |
if (pgFeeRate*parseFloat(voiSellingPrice)>=20){
|
| - |
|
210 |
var lowestSp=(+nlc+(+courierCost+closingFee)*(1+stRate)*(1+vat)+(pc+othCost)*(1+vat))/(1-(comRate+emiFee+pgFeeRate)*(1+stRate)*(1+vat)-(returnProvision/100)*(1+vat));
|
| - |
|
211 |
}
|
| - |
|
212 |
else{
|
| - |
|
213 |
var lowestSp=(+nlc+(+courierCost+closingFee+20)*(1+stRate)*(1+vat)+(pc+othCost)*(1+vat))/(1-(comRate+emiFee)*(1+stRate)*(1+vat)-(returnProvision/100)*(1+vat));
|
| - |
|
214 |
}
|
| - |
|
215 |
ourTp = (parseFloat(ourTp)).toFixed(2);
|
| - |
|
216 |
$('input#minPosTpVoi').val(lowestTp);
|
| - |
|
217 |
$('input#minPosSpVoi').val(parseFloat(lowestSp).toFixed(2));
|
| - |
|
218 |
$('input#transferPriceVOI').val(ourTp);
|
| - |
|
219 |
var serviceTax=(stRate*(+commisionPrice+(+courierCost))).toFixed(2);
|
| - |
|
220 |
lowest_possible_tp=parseFloat(lowestTp);
|
| - |
|
221 |
newMargin=(ourTp-lowest_possible_tp).toFixed(2);
|
| - |
|
222 |
marginPercentage=(((ourTp-lowest_possible_tp)/voiSellingPrice)*100).toFixed(2);
|
| - |
|
223 |
$('input#marginPerVOI').val(marginPercentage);
|
| - |
|
224 |
$('input#marginVOI').val(newMargin);
|
| - |
|
225 |
$('input#voiSellingPrice').val(voiSellingPrice);
|
| - |
|
226 |
$('input#courierCostVoi').val(courierCost);
|
| - |
|
227 |
$('input#commissionVoi').val(commisionPrice);
|
| - |
|
228 |
$('input#serviceTaxVOI').val(serviceTax);
|
| - |
|
229 |
$('input#minPosTpVoi').addClass("border-highlight");
|
| - |
|
230 |
$('input#minPosSpVoi').addClass("border-highlight");
|
| - |
|
231 |
$('input#transferPriceVOI').addClass("border-highlight");
|
| - |
|
232 |
$('input#serviceTaxVOI').addClass("border-highlight");
|
| - |
|
233 |
$('input#commissionVoi').addClass("border-highlight");
|
| - |
|
234 |
$('input#marginVOI').addClass("border-highlight");
|
| - |
|
235 |
$('input#marginPerVOI').addClass("border-highlight");
|
| - |
|
236 |
if (ourTp-lowest_possible_tp < 0){
|
| - |
|
237 |
$('input#marginVOI').removeClass().addClass("border-highlight-red");
|
| - |
|
238 |
$('input#marginPerVOI').addClass("border-highlight-red");
|
| - |
|
239 |
}
|
| - |
|
240 |
}
|
| - |
|
241 |
}
|
| - |
|
242 |
</script>
|
| - |
|
243 |
<script type="text/javascript">
|
| 134 |
function calculateStuff()
|
244 |
function calculateStuff()
|
| 135 |
{
|
245 |
{
|
| 136 |
$('input#minPosTp').removeClass();
|
246 |
$('input#minPosTp').removeClass();
|
| 137 |
$('input#minPosSp').removeClass();
|
247 |
$('input#minPosSp').removeClass();
|
| 138 |
$('input#transferPrice').removeClass();
|
248 |
$('input#transferPrice').removeClass();
|
| Line 232... |
Line 342... |
| 232 |
if (ourTp-lowest_possible_tp < 0){
|
342 |
if (ourTp-lowest_possible_tp < 0){
|
| 233 |
$('input#margin').removeClass().addClass("border-highlight-red");
|
343 |
$('input#margin').removeClass().addClass("border-highlight-red");
|
| 234 |
$('input#marginPer').addClass("border-highlight-red");
|
344 |
$('input#marginPer').addClass("border-highlight-red");
|
| 235 |
}
|
345 |
}
|
| 236 |
}
|
346 |
}
|
| - |
|
347 |
calculateStuffVOI();
|
| 237 |
}
|
348 |
}
|
| 238 |
</script>
|
349 |
</script>
|
| 239 |
<script type="text/javascript">
|
350 |
<script type="text/javascript">
|
| 240 |
$('#getMxNlc').live('click', function(){
|
351 |
$('#getMxNlc').live('click', function(){
|
| 241 |
var itemId=$('#itemId').val();
|
352 |
var itemId=$('#itemId').val();
|
| Line 326... |
Line 437... |
| 326 |
<td class="detail">Snapdeal Selling Price</td>
|
437 |
<td class="detail">Snapdeal Selling Price</td>
|
| 327 |
<td class="value">
|
438 |
<td class="value">
|
| 328 |
<input id="sellingPrice" name="sellingPrice" value='$itemDetail.getSellingPrice()'type="text" onkeyup="calculateStuff()"></td>
|
439 |
<input id="sellingPrice" name="sellingPrice" value='$itemDetail.getSellingPrice()'type="text" onkeyup="calculateStuff()"></td>
|
| 329 |
</tr>
|
440 |
</tr>
|
| 330 |
<tr>
|
441 |
<tr>
|
| - |
|
442 |
<td class="detail">Snapdeal VOI Selling Price</td>
|
| - |
|
443 |
<td class="value">
|
| - |
|
444 |
<input id="voiSellingPrice" name="voiSellingPrice" value='$sdItem.getVoiSellingPrice()'type="text" onkeyup="calculateStuff()"></td>
|
| - |
|
445 |
</tr>
|
| - |
|
446 |
<tr>
|
| 331 |
<td class="detail">Transfer Price</td>
|
447 |
<td class="detail">Transfer Price</td>
|
| 332 |
<td class="value"><input id="transferPrice" name="transferPrice" value='$itemDetail.getTransferPrice()'type="text" readonly/></td>
|
448 |
<td class="value"><input id="transferPrice" name="transferPrice" value='$itemDetail.getTransferPrice()'type="text" readonly/></td>
|
| 333 |
</tr>
|
449 |
</tr>
|
| 334 |
<tr>
|
450 |
<tr>
|
| - |
|
451 |
<td class="detail">Transfer Price VOI</td>
|
| - |
|
452 |
<td class="value"><input id="transferPriceVOI" name="transferPriceVOI" value='$sdItem.getTransferPriceVoi()' type="text" readonly/></td>
|
| - |
|
453 |
</tr>
|
| - |
|
454 |
<tr>
|
| 335 |
<td class="detail">Webiste MRP</td>
|
455 |
<td class="detail">Webiste MRP</td>
|
| 336 |
<td class="value"><input id="webisteMrp" name="webisteMrp" value='$itemDetail.getMrp()'type="text" disabled/></td>
|
456 |
<td class="value"><input id="webisteMrp" name="webisteMrp" value='$itemDetail.getMrp()'type="text" disabled/></td>
|
| 337 |
</tr>
|
457 |
</tr>
|
| 338 |
<tr>
|
458 |
<tr>
|
| 339 |
<td class="detail">Webiste Selling Price</td>
|
459 |
<td class="detail">Webiste Selling Price</td>
|
| Line 356... |
Line 476... |
| 356 |
<td class="value">
|
476 |
<td class="value">
|
| 357 |
<input id="minPosTp" name="minPosTp" value='$mpDetail.getMinimumPossibleTp()' type="text" readonly/>
|
477 |
<input id="minPosTp" name="minPosTp" value='$mpDetail.getMinimumPossibleTp()' type="text" readonly/>
|
| 358 |
</td>
|
478 |
</td>
|
| 359 |
</tr>
|
479 |
</tr>
|
| 360 |
<tr>
|
480 |
<tr>
|
| - |
|
481 |
<td class="detail">Minimum Possible SP VOI(Calculated)</td>
|
| - |
|
482 |
<td class="value"><input id="minPosSpVoi" name="minPosSpVoi" value='$sdItem.getMinimumPossibleSpVoi()' type="text" readonly/></td><!--Inventory details end-->
|
| - |
|
483 |
</tr>
|
| - |
|
484 |
<tr>
|
| - |
|
485 |
<td class="detail">Minimum Possible TP VOI(Calculated)</td>
|
| - |
|
486 |
<td class="value">
|
| - |
|
487 |
<input id="minPosTpVoi" name="minPosTpVoi" value='$sdItem.getMinimumPossibleTpVoi()' type="text" readonly/>
|
| - |
|
488 |
</td>
|
| - |
|
489 |
</tr>
|
| - |
|
490 |
<tr>
|
| 361 |
<td class="detail">Last Updated SP</td>
|
491 |
<td class="detail">Last Updated SP</td>
|
| 362 |
<td class="value">
|
492 |
<td class="value">
|
| 363 |
<input id="currentSp" name="currentSp" value='$mpDetail.getCurrentSp()' type="text" readonly/>
|
493 |
<input id="currentSp" name="currentSp" value='$mpDetail.getCurrentSp()' type="text" readonly/>
|
| 364 |
</td>
|
494 |
</td>
|
| 365 |
</tr>
|
495 |
</tr>
|
| Line 372... |
Line 502... |
| 372 |
#if ($margin < 0)
|
502 |
#if ($margin < 0)
|
| 373 |
#set ($cls = 'border-highlight-red')
|
503 |
#set ($cls = 'border-highlight-red')
|
| 374 |
#else
|
504 |
#else
|
| 375 |
#set ($cls='')
|
505 |
#set ($cls='')
|
| 376 |
#end
|
506 |
#end
|
| - |
|
507 |
#set ($marginVoi = $sdItem.getTransferPriceVoi() - $sdItem.getMinimumPossibleTpVoi())
|
| - |
|
508 |
#if ($marginVoi < 0)
|
| - |
|
509 |
#set ($cls = 'border-highlight-red')
|
| - |
|
510 |
#else
|
| - |
|
511 |
#set ($cls='')
|
| - |
|
512 |
#end
|
| - |
|
513 |
|
| 377 |
<tr>
|
514 |
<tr>
|
| 378 |
<td class="detail">Margin</td>
|
515 |
<td class="detail">Margin</td>
|
| 379 |
<td class="value"><input id="margin" name="margin" class='$cls' value='$action.getRoundOfValue("$margin")'type="text" style="width:20%;" disabled/>
|
516 |
<td class="value"><input id="margin" name="margin" class='$cls' value='$action.getRoundOfValue("$margin")'type="text" style="width:20%;" disabled/>
|
| 380 |
#if($mpDetail.getCurrentSp()==0)
|
517 |
#if($mpDetail.getCurrentSp()==0)
|
| 381 |
#set ($marginPercentage = 0)
|
518 |
#set ($marginPercentage = 0)
|
| Line 384... |
Line 521... |
| 384 |
#end
|
521 |
#end
|
| 385 |
#set($roundMarginPer = $action.getRoundOfValue("$marginPercentage"))
|
522 |
#set($roundMarginPer = $action.getRoundOfValue("$marginPercentage"))
|
| 386 |
<span style="font-weight:bold;color:black;">Margin %</span><input id="marginPer" class='$cls' name="marginPer" value='$roundMarginPer' type="text" style="width:20%;" disabled/></td>
|
523 |
<span style="font-weight:bold;color:black;">Margin %</span><input id="marginPer" class='$cls' name="marginPer" value='$roundMarginPer' type="text" style="width:20%;" disabled/></td>
|
| 387 |
</tr>
|
524 |
</tr>
|
| 388 |
<tr>
|
525 |
<tr>
|
| - |
|
526 |
<td class="detail">Margin VOI</td>
|
| - |
|
527 |
<td class="value"><input id="marginVOI" name="marginVOI" class='$cls' value='$action.getRoundOfValue("$marginVoi")' type="text" style="width:20%;" disabled/>
|
| - |
|
528 |
#if($sdItem.getVoiSellingPrice()==0)
|
| - |
|
529 |
#set ($marginPerVoi = 0)
|
| - |
|
530 |
#else
|
| - |
|
531 |
#set ($marginPerVoi = ($marginVoi/$sdItem.getVoiSellingPrice()*100))
|
| - |
|
532 |
#end
|
| - |
|
533 |
#set($roundMarginPerVoi = $action.getRoundOfValue("$marginPerVoi"))
|
| - |
|
534 |
<span style="font-weight:bold;color:black;">Margin %</span><input id="marginPerVOI" class='$cls' name="marginPerVOI" value='$roundMarginPerVoi' type="text" style="width:20%;" disabled/></td>
|
| - |
|
535 |
</td>
|
| - |
|
536 |
</tr>
|
| - |
|
537 |
<tr>
|
| 389 |
<td class="detail">Last Updated Inventory</td>
|
538 |
<td class="detail">Last Updated Inventory</td>
|
| 390 |
<td class="value"><input id="lastUpdatedInventory" name="lastUpdatedInventory" value='$itemDetail.getLastUpdatedInventory()' type="text" disabled></td>
|
539 |
<td class="value"><input id="lastUpdatedInventory" name="lastUpdatedInventory" value='$itemDetail.getLastUpdatedInventory()' type="text" disabled></td>
|
| 391 |
</tr>
|
540 |
</tr>
|
| 392 |
<tr>
|
541 |
<tr>
|
| 393 |
<td class="detail">Last Updated Inventory TimeStamp</td>
|
542 |
<td class="detail">Last Updated Inventory TimeStamp</td>
|
| Line 408... |
Line 557... |
| 408 |
<tr>
|
557 |
<tr>
|
| 409 |
<td class="detail">Maximum Selling Price</td>
|
558 |
<td class="detail">Maximum Selling Price</td>
|
| 410 |
<td class="value">
|
559 |
<td class="value">
|
| 411 |
<input id="maxSp" name="maxSp" value='$mpDetail.getMaximumSellingPrice()' type="text"></td>
|
560 |
<input id="maxSp" name="maxSp" value='$mpDetail.getMaximumSellingPrice()' type="text"></td>
|
| 412 |
</tr>
|
561 |
</tr>
|
| - |
|
562 |
<tr>
|
| - |
|
563 |
<td class="detail"></td>
|
| - |
|
564 |
<td class="value"></td>
|
| - |
|
565 |
</tr>
|
| 413 |
</tbody>
|
566 |
</tbody>
|
| 414 |
</table>
|
567 |
</table>
|
| 415 |
</div>
|
568 |
</div>
|
| 416 |
<div class="left" style="float: right; width: 48%;">
|
569 |
<div class="left" style="float: right; width: 48%;">
|
| 417 |
<table id="upload" style="text-align: center;width: 100%;height:200px;">
|
570 |
<table id="upload" style="text-align: center;width: 100%;height:200px;">
|
| Line 437... |
Line 590... |
| 437 |
<select name="isSuppressPriceFeed" selectType="1"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
590 |
<select name="isSuppressPriceFeed" selectType="1"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| 438 |
#end
|
591 |
#end
|
| 439 |
</td>
|
592 |
</td>
|
| 440 |
</tr>
|
593 |
</tr>
|
| 441 |
<tr>
|
594 |
<tr>
|
| - |
|
595 |
<td class="detail">Suppress VOI Pricing Feed</td>
|
| - |
|
596 |
<td class="value">#if ($sdItem.isSuppressVoiPriceFeed())
|
| - |
|
597 |
<select name="isSuppressVoiPriceFeed" selectType="1" class="border-highlight-red"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| - |
|
598 |
#else
|
| - |
|
599 |
<select name="isSuppressVoiPriceFeed" selectType="1"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| - |
|
600 |
#end
|
| - |
|
601 |
</td>
|
| - |
|
602 |
</tr>
|
| - |
|
603 |
<tr>
|
| 442 |
<td class="detail">Suppress Inventory Feed</td>
|
604 |
<td class="detail">Suppress Inventory Feed</td>
|
| 443 |
<td class="value">#if ($itemDetail.isSuppressInventoryFeed())
|
605 |
<td class="value">#if ($itemDetail.isSuppressInventoryFeed())
|
| 444 |
<select name="isSuppressInventoryFeed" selectType="1" class="border-highlight-red"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
606 |
<select name="isSuppressInventoryFeed" selectType="1" class="border-highlight-red"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| 445 |
#else
|
607 |
#else
|
| 446 |
<select name="isSuppressInventoryFeed" selectType="1"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
608 |
<select name="isSuppressInventoryFeed" selectType="1"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| Line 455... |
Line 617... |
| 455 |
<select name="isListedOnSnapdeal" selectType="2" class="border-highlight-red"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
617 |
<select name="isListedOnSnapdeal" selectType="2" class="border-highlight-red"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| 456 |
#end
|
618 |
#end
|
| 457 |
</td>
|
619 |
</td>
|
| 458 |
</tr>
|
620 |
</tr>
|
| 459 |
<tr>
|
621 |
<tr>
|
| - |
|
622 |
<td class="detail">Snapdeal VOI Listed</td>
|
| - |
|
623 |
<td class="value">#if ($sdItem.isIsVoiListed())
|
| - |
|
624 |
<select name="isVoiListedOnSnapdeal" selectType="2"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| - |
|
625 |
#else
|
| - |
|
626 |
<select name="isVoiListedOnSnapdeal" selectType="2" class="border-highlight-red"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| - |
|
627 |
#end
|
| - |
|
628 |
</td>
|
| - |
|
629 |
</tr>
|
| - |
|
630 |
<tr>
|
| 460 |
<td class="detail">Auto Increment</td>
|
631 |
<td class="detail">Auto Increment</td>
|
| 461 |
<td class="value">#if ($mpDetail.isAutoIncrement())
|
632 |
<td class="value">#if ($mpDetail.isAutoIncrement())
|
| 462 |
<select name="isAutoIncrement" selectType="3" class="border-highlight-green"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
633 |
<select name="isAutoIncrement" selectType="3" class="border-highlight-green"><option selected="selected" value="True">Active</option><option value="False">InActive</option></select>
|
| 463 |
#else
|
634 |
#else
|
| 464 |
<select name="isAutoIncrement" selectType="3"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
635 |
<select name="isAutoIncrement" selectType="3"><option selected="selected" value="False">InActive</option><option value="True">Active</option></select>
|
| Line 503... |
Line 674... |
| 503 |
<tr>
|
674 |
<tr>
|
| 504 |
<td class="detail">Commission</td>
|
675 |
<td class="detail">Commission</td>
|
| 505 |
<td class="value"><input id="commission" name="commission" value='$itemDetail.getCommission()'type="text" readonly/></td>
|
676 |
<td class="value"><input id="commission" name="commission" value='$itemDetail.getCommission()'type="text" readonly/></td>
|
| 506 |
</tr>
|
677 |
</tr>
|
| 507 |
<tr>
|
678 |
<tr>
|
| - |
|
679 |
<td class="detail">Commission VOI</td>
|
| - |
|
680 |
<td class="value"><input id="commissionVoi" name="commissionVoi" value='$sdItem.getCommissionVoi()'type="text" readonly/></td>
|
| - |
|
681 |
</tr>
|
| - |
|
682 |
<tr>
|
| 508 |
<td class="detail">Service Tax</td>
|
683 |
<td class="detail">Service Tax</td>
|
| 509 |
<td class="value"><input id="serviceTax" name="serviceTax" value='$itemDetail.getServiceTax()'type="text" readonly/></td>
|
684 |
<td class="value"><input id="serviceTax" name="serviceTax" value='$itemDetail.getServiceTax()'type="text" readonly/></td>
|
| 510 |
</tr>
|
685 |
</tr>
|
| 511 |
<tr>
|
686 |
<tr>
|
| - |
|
687 |
<td class="detail">Service Tax VOI</td>
|
| - |
|
688 |
<td class="value"><input id="serviceTaxVOI" name="serviceTaxVOI" value='$sdItem.getServiceTaxVoi()' type="text" readonly/></td>
|
| - |
|
689 |
</tr>
|
| - |
|
690 |
<tr>
|
| 512 |
<td class="detail">Courier Cost</td>
|
691 |
<td class="detail">Courier Cost</td>
|
| 513 |
<td class="value"><input id="courierCost" name="courierCost" value='$itemDetail.getCourierCost()'type="text" style="width:20%;" readonly/>
|
692 |
<td class="value"><input id="courierCost" name="courierCost" value='$itemDetail.getCourierCost()'type="text" style="width:20%;" readonly/>
|
| 514 |
<span style="font-weight:bold;color:black;">Snapdeal</span>
|
693 |
<span style="font-weight:bold;color:black;">Snapdeal</span>
|
| 515 |
<input id="courierCostMarketplace" name="courierCostMarketplace" value='$itemDetail.getCourierCostMarketplace()'type="text" style="width:20%;" onkeyup="calculateStuff()">
|
694 |
<input id="courierCostMarketplace" name="courierCostMarketplace" value='$itemDetail.getCourierCostMarketplace()'type="text" style="width:20%;" onkeyup="calculateStuff()">
|
| 516 |
</td>
|
695 |
</td>
|
| - |
|
696 |
</tr>
|
| - |
|
697 |
<tr>
|
| - |
|
698 |
<td class="detail">Courier Cost VOI</td>
|
| 517 |
|
699 |
<td>
|
| - |
|
700 |
<input id="courierCostVoi" name="courierCostVoi" value='$sdItem.getCourierCostVoi()' type="text" style="width:20%;" onkeyup="calculateStuff()"/>
|
| - |
|
701 |
</td>
|
| 518 |
</tr>
|
702 |
</tr>
|
| 519 |
<tr>
|
703 |
<tr>
|
| 520 |
<td class="detail">VAT %</td>
|
704 |
<td class="detail">VAT %</td>
|
| 521 |
<td class="value"><input id="vat" name="vat" value='$mpDetail.getVat()' type="text" onkeyup="calculateStuff()"></td>
|
705 |
<td class="value"><input id="vat" name="vat" value='$mpDetail.getVat()' type="text" onkeyup="calculateStuff()"></td>
|
| 522 |
</tr>
|
706 |
</tr>
|
| Line 527... |
Line 711... |
| 527 |
#else
|
711 |
#else
|
| 528 |
<td class="value"><input id="sdItemCode" name="sdItemCode" value='' type="text"></td>
|
712 |
<td class="value"><input id="sdItemCode" name="sdItemCode" value='' type="text"></td>
|
| 529 |
#end
|
713 |
#end
|
| 530 |
</tr>
|
714 |
</tr>
|
| 531 |
<tr>
|
715 |
<tr>
|
| - |
|
716 |
<td class="detail">Item Id @ Snapdeal VOI</td>
|
| - |
|
717 |
#if($sdItem.getVoiSkuAtSnapdeal())
|
| - |
|
718 |
<td class="value"><input id="sdVoiItemCode" name="sdVoiItemCode" value='$sdItem.getVoiSkuAtSnapdeal()' type="text"></td>
|
| - |
|
719 |
#else
|
| - |
|
720 |
<td class="value"><input id="sdVoiItemCode" name="sdVoiItemCode" value='' type="text"></td>
|
| - |
|
721 |
#end
|
| - |
|
722 |
</tr>
|
| - |
|
723 |
<tr>
|
| 532 |
<td class="detail">SUPC Code</td>
|
724 |
<td class="detail">SUPC Code</td>
|
| 533 |
#if($itemDetail.getSupc())
|
725 |
#if($itemDetail.getSupc())
|
| 534 |
<td class="value"><input id="supc" name="supc" value='$itemDetail.getSupc()' type="text"></td>
|
726 |
<td class="value"><input id="supc" name="supc" value='$itemDetail.getSupc()' type="text"></td>
|
| 535 |
#else
|
727 |
#else
|
| 536 |
<td class="value"><input id="supc" name="supc" value='' type="text"></td>
|
728 |
<td class="value"><input id="supc" name="supc" value='' type="text"></td>
|
| Line 575... |
Line 767... |
| 575 |
</div>
|
767 |
</div>
|
| 576 |
</form>
|
768 |
</form>
|
| 577 |
</div>
|
769 |
</div>
|
| 578 |
<!--product details end-->
|
770 |
<!--product details end-->
|
| 579 |
<!--Inventory details -->
|
771 |
<!--Inventory details -->
|
| - |
|
772 |
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
| 580 |
<div class="top-header-inventory">
|
773 |
<div class="top-header-inventory">
|
| 581 |
<h2 style="font-weight: bolder; font-size: 20px; border-top: 4px solid rgb(134, 163, 189); background-color: rgb(134, 163, 189);color:white;">
|
774 |
<h2 style="font-weight: bolder; font-size: 20px; border-top: 4px solid rgb(134, 163, 189); background-color: rgb(134, 163, 189);color:white;">
|
| 582 |
Inventory Details
|
775 |
Inventory Details
|
| 583 |
</h2>
|
776 |
</h2>
|
| 584 |
</div>
|
777 |
</div>
|