Subversion Repositories SmartDukaan

Rev

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

Rev 12048 Rev 12049
Line 394... Line 394...
394
			dealLeft = itemp.dealPojo.dealText
394
			dealLeft = itemp.dealPojo.dealText
395
		}
395
		}
396
		
396
		
397
		var html = [];
397
		var html = [];
398
		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>');
398
		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>');
399
		if(dealLeft != ''){
399
		if(typeof dealLeft != "undefined" && dealLeft != ''){
400
			html.push('<div class="red" style="font-weight:bold;padding-bottom:3px">' + dealLeft +'</div>');
400
			html.push('<div class="red" style="font-weight:bold;padding-bottom:3px">' + dealLeft +'</div>');
401
		}
401
		}
402
		html.push('<div class="red" style="font-weight:bold;font-size:14px;">Use Coupon: saholicdeals</div>');
402
		html.push('<div class="red" style="font-weight:bold;font-size:14px;">Use Coupon: saholicdeals</div>');
403
		html.push('</div>');
403
		html.push('</div>');
404
		html.push('<div class="right">');
404
		html.push('<div class="right">');
405
		html.push('<div class="left rupeeimage"></div><span class="bold" style="text-decoration:line-through;font-size:14px;">'+ itemp.mrp +'</span>');
405
		html.push('<div class="left rupeeimage"></div><span class="bold" style="text-decoration:line-through;font-size:14px;">'+ itemp.mrp +'</span>');
406
		if(itemp.mrp!=itemp.sellingPrice) {
406
		if(itemp.mrp!=itemp.sellingPrice) {
407
			html.push('<span class="bold" style="text-decoration:line-through;font-size:14px;"> '+ itemp.sellingPrice +'</span>');
407
			html.push('<span class="bold" style="text-decoration:line-through;font-size:14px;"> '+ itemp.sellingPrice +'</span>');
408
		}
408
		}
409
		if(dealRight != ''){
409
		if(typeof dealRight != "undefined" && dealRight != ''){
410
			html.push('<div style="font-weight:bold;padding-bottom:3px;text-decoration:line-through;">' + dealRight +'</div>');
410
			html.push('<div style="font-weight:bold;padding-bottom:3px;text-decoration:line-through;">' + dealRight +'</div>');
411
		}
411
		}
412
		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="/unversioned/images/quesmark.png"></a></span></div>')
412
		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="/unversioned/images/quesmark.png"></a></span></div>')
413
		html.push('</div>');
413
		html.push('</div>');
414
		$('div.mk_nodeal').hide();
414
		$('div.mk_nodeal').hide();