Subversion Repositories SmartDukaan

Rev

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

Rev 23968 Rev 23971
Line 61... Line 61...
61
		}
61
		}
62
	});
62
	});
63
	$('input.downloadtotalIMEI').live('click', function (){
63
	$('input.downloadtotalIMEI').live('click', function (){
64
		var priceDropId=$(this).closest('tr').data('pricedropid');
64
		var priceDropId=$(this).closest('tr').data('pricedropid');
65
		doAjaxGetDownload(context+"/downloadtotalPriceDropIMEI/"+priceDropId,
65
		doAjaxGetDownload(context+"/downloadtotalPriceDropIMEI/"+priceDropId,
66
		"totalPriceDropIMEI"+priceDropId+".xlsx");
66
		"totalPriceDropIMEI"+priceDropId+".csv");
67
	});
67
	});
68
	
68
	
69
	$('button.download-imeis').live('click', function(){
69
	$('button.download-imeis').live('click', function(){
70
		doAjaxGetDownload(context+"/price-drop/imes/download/?affectedDate="+startDate +"&itemId=" + currentItem.itemId, "pricedrop.csv")
70
		doAjaxGetDownload(context+"/price-drop/imes/download/?affectedDate="+startDate +"&itemId=" + currentItem.itemId, "pricedrop.csv")
71
	});
71
	});