Subversion Repositories SmartDukaan

Rev

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

Rev 12060 Rev 12066
Line 394... Line 394...
394
			dealRight=itemp.bestDealText;
394
			dealRight=itemp.bestDealText;
395
			dealLeft = itemp.dealPojo.dealText
395
			dealLeft = itemp.dealPojo.dealText
396
		}
396
		}
397
		
397
		
398
		var html = [];
398
		var html = [];
399
		html.push('<div class="left" style="padding-right:3px;"><div style="font-size:14px;"><b>Only for You: </b><spap class="red">Rs.' + sellingPrice + '</span> (' + percentoff + '% Off) </div>');
-
 
400
		if(typeof dealLeft != "undefined" && dealLeft != ''){
-
 
401
			html.push('<div class="red" style="font-weight:bold;padding-bottom:3px">' + dealLeft +'</div>');
-
 
402
		}
-
 
403
		html.push('<div class="red" style="font-weight:bold;font-size:14px;">Use Coupon: saholicdeals</div>');
-
 
404
		html.push('</div>');
399
		html.push('<div>');
405
		html.push('<div class="right">');
-
 
406
		html.push('<div class="left rupeeimage"></div><span class="bold" style="text-decoration:line-through;font-size:14px;">'+ itemp.mrp +'</span>');
400
		html.push('<div class="left rupeeimage"></div><span class="bold" style="text-decoration:line-through;font-size:14px;">'+ itemp.mrp +'</span>');
407
		if(itemp.mrp!=itemp.sellingPrice) {
401
		if(itemp.mrp!=itemp.sellingPrice) {
408
			html.push('<span class="bold" style="text-decoration:line-through;font-size:14px;"> '+ itemp.sellingPrice +'</span>');
402
			html.push('<span class="bold" style="text-decoration:line-through;font-size:14px;"> '+ itemp.sellingPrice +' </span>');
409
		}
403
		}
410
		if(typeof dealRight != "undefined" && dealRight != ''){
404
		if(typeof dealRight != "undefined" && dealRight != ''){
411
			html.push('<div style="font-weight:bold;padding-bottom:3px;text-decoration:line-through;">' + dealRight +'</div>');
405
			html.push('<span>style="font-weight:bold;padding-bottom:3px;text-decoration:line-through;"> ' + dealRight +'</span>');
-
 
406
		}
-
 
407
 
-
 
408
		html.push('<div class="left" style="padding-right:3px;"><div style="font-size:14px;"><b>Only for You: </b><span class="red">Rs.' + sellingPrice + '</span> (' + percentoff + '% Off) </div>');
-
 
409
		if(typeof dealLeft != "undefined" && dealLeft != ''){
-
 
410
			html.push('<div class="red" style="font-weight:bold;padding-bottom:3px">' + dealLeft +'</div>');
412
		}
411
		}
-
 
412
		html.push('<div class="red" style="font-weight:bold;font-size:14px;">Use Coupon: saholicdeals</div>');
-
 
413
		html.push('</div>');
-
 
414
		
-
 
415
		
413
		html.push('<div><span class="mk_emi" style="font-size:14px;">EMIs from <span class="red">Rs.' + Math.round(installment) +'</span> per month<a style="padding-left:2px" href="javascript:void(0)" id="emi_more1"><img style="vertical-align: middle;" src="/images/quesmark.png"></a></span></div>')
416
		html.push('<div><span class="mk_emi" style="font-size:14px;">EMIs from <span class="red">Rs.' + Math.round(installment) +'</span> per month<a style="padding-left:2px" href="javascript:void(0)" id="emi_more1"><img style="vertical-align: middle;" src="/images/quesmark.png"></a></span></div>')
414
		html.push('</div>');
417
		html.push('</div>');
415
		$('div.mk_nodeal').hide();
418
		$('div.mk_nodeal').hide();
416
		$('div.mk_deal').html(html.join('')).show();
419
		$('div.mk_deal').html(html.join('')).show();
417
	}
420
	}