Subversion Repositories SmartDukaan

Rev

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

Rev 12040 Rev 12041
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="padding:6px">');
-
 
399
		html.push('<div class="left"><div><b>Only for You: </b><spap class="red">Rs.' + sellingPrice + '</span> (' + percentoff + '% Off) </div>');
398
		html.push('<div class="left"><div><b>Only for You: </b><spap class="red">Rs.' + sellingPrice + '</span> (' + percentoff + '% Off) </div>');
400
		if(dealLeft != ''){
399
		if(dealLeft != ''){
401
			html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">' + dealLeft +'</div>');
400
			html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">' + dealLeft +'</div>');
402
		}
401
		}
403
		html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">Use Coupon: saholicdeals</div>');
402
		html.push('<div class="red" style="font-weight:bold;padding-bottom:6px">Use Coupon: saholicdeals</div>');
Line 410... Line 409...
410
		if(dealRight != ''){
409
		if(dealRight != ''){
411
			html.push('<div style="font-weight:bold;padding-bottom:6px;text-decoration:line-through">' + dealRight +'</div>');
410
			html.push('<div style="font-weight:bold;padding-bottom:6px;text-decoration:line-through">' + dealRight +'</div>');
412
		}
411
		}
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>')
412
		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>')
414
		html.push('</div>');
413
		html.push('</div>');
415
		html.push('</div>');
-
 
416
		$('div.mk_nodeal').hide();
414
		$('div.mk_nodeal').hide();
417
		$('div.mk_deal').html(html.join('')).show();
415
		$('div.mk_deal').html(html.join('')).show();
418
	}
416
	}
419
}
417
}
420
 
418