Subversion Repositories SmartDukaan

Rev

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

Rev 12037 Rev 12038
Line 393... Line 393...
393
			dealRight=itemp.bestDealText;
393
			dealRight=itemp.bestDealText;
394
			dealLeft = itemp.dealPojo.dealText
394
			dealLeft = itemp.dealPojo.dealText
395
		}
395
		}
396
		
396
		
397
		var html = [];
397
		var html = [];
398
		html.push('<div style="background-color:yellow;padding:3px">');
398
		html.push('<div style="padding:3px">');
399
		html.push('<div class="left"><div><b>Only for You: </b><spap class="red">Rs.' + sellingPrice + '</span> (' + percentoff + '% Off) </div>');
399
		html.push('<div class="left"><div><b>Only for You: </b><spap class="red">Rs.' + sellingPrice + '</span> (' + percentoff + '% Off) </div>');
400
		if(dealLeft != ''){
400
		if(dealLeft != ''){
401
			html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">' + dealLeft +'</div>');
401
			html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">' + dealLeft +'</div>');
402
		}
402
		}
403
		html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">Use Coupon: saholicdeals</div>');
403
		html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">Use Coupon: saholicdeals</div>');
404
		html.push('</div>');
404
		html.push('</div>');
405
		html.push('<div class="right">');
405
		html.push('<div class="right">');
406
		html.push('<div class="left rupeeimage"></div><span class="mrp bold">'+ itemp.mrp +'</span>');
406
		html.push('<div class="left rupeeimage"></div><span class="bold" style="text-decoration:line-through">'+ itemp.mrp +'</span>');
407
		if(itemp.mrp!=itemp.sellingPrice) {
407
		if(itemp.mrp!=itemp.sellingPrice) {
408
			html.push('<span class="mrp bold">'+ itemp.sellingPrice +'</span>');
408
			html.push('<span class="bold" style="text-decoration:line-through"> '+ itemp.sellingPrice +'</span>');
409
		}
409
		}
410
		if(dealRight != ''){
410
		if(dealRight != ''){
411
			html.push('<div style="font-weight:bold;padding-bottom:6px;text-decoration:line-through">' + dealRight +'</div>');
411
			html.push('<div style="font-weight:bold;padding-bottom:6px;text-decoration:line-through">' + dealRight +'</div>');
412
		}
412
		}
413
		html.push('<div><span class="mk_emi" style="font-size: 14px;">EMIs from <span class="red">Rs.' + (Math.round(installment*100)/100).toFixed(2) +'</span> per month<a style="padding-left:2px" href="javascript:void(0)" id="emi_more1"><img style="vertical-align: middle;" src="/unversioned/images/quesmark.png"></a></span></div>')
413
		html.push('<div><span class="mk_emi" style="font-size: 14px;">EMIs from <span class="red">Rs.' + (Math.round(installment*100)/100).toFixed(2) +'</span> per month<a style="padding-left:2px" href="javascript:void(0)" id="emi_more1"><img style="vertical-align: middle;" src="/unversioned/images/quesmark.png"></a></span></div>')