Subversion Repositories SmartDukaan

Rev

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

Rev 12026 Rev 12027
Line 379... Line 379...
379
		$('div.mk_nodeal').show();
379
		$('div.mk_nodeal').show();
380
	} else {
380
	} else {
381
		var itemp = privateDeals[itemid];
381
		var itemp = privateDeals[itemid];
382
		sellingPrice = itemp.dealPojo.dealPrice;
382
		sellingPrice = itemp.dealPojo.dealPrice;
383
		var installment = sellingPrice*r*Math.pow(1+r,opt.tenure)/(Math.pow(1+r,opt.tenure) - 1); 
383
		var installment = sellingPrice*r*Math.pow(1+r,opt.tenure)/(Math.pow(1+r,opt.tenure) - 1); 
384
		if(typeof itemp.mrp == "undefined" or itemp.mrp =="") itemp.mrp = itemp.sellingPrice
384
		if(typeof itemp.mrp == "undefined" || itemp.mrp =="") itemp.mrp = itemp.sellingPrice
385
		var percentoff = Math.round((1-itemp.dealPojo.dealPrice/itemp.mrp)*100);
385
		var percentoff = Math.round((1-itemp.dealPojo.dealPrice/itemp.mrp)*100);
386
		var dealLeft = '';
386
		var dealLeft = '';
387
		var dealRight = '';
387
		var dealRight = '';
388
		if(itemp.dealPojo.dealTextOption==0){
388
		if(itemp.dealPojo.dealTextOption==0){
389
			dealRight = itemp.bestDealText;
389
			dealRight = itemp.bestDealText;