Subversion Repositories SmartDukaan

Rev

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

Rev 30599 Rev 30609
Line 135... Line 135...
135
		doAjaxGetDownload(context+"/downloadtotalPriceDropIMEI/"+priceDropId,
135
		doAjaxGetDownload(context+"/downloadtotalPriceDropIMEI/"+priceDropId,
136
		"totalPriceDropIMEI"+priceDropId+".csv");
136
		"totalPriceDropIMEI"+priceDropId+".csv");
137
	});
137
	});
138
	
138
	
139
	$(document).on('click', 'button.download-imeis', function(){
139
	$(document).on('click', 'button.download-imeis', function(){
-
 
140
		let affectedDate = getDatesFromPicker('#affectedDate').startDate;
140
		doAjaxGetDownload(context+"/price-drop/imes/download/?affectedDate="+startDate +"&itemId=" + currentItem.itemId, "pricedrop.csv")
141
		doAjaxGetDownload(context + "/price-drop/imes/download/?affectedDate=" + affectedDate + "&itemId=" + currentItem.itemId, "pricedrop.csv")
141
	});
142
	});
142
	
143
	
143
	$(document).on('click', 'button.mk_download_pricing', function(){
144
	$(document).on('click', 'button.mk_download_pricing', function(){
144
		doAjaxGetDownload(context+"/tagListing/download/4", "pricing.xlsx")
145
		doAjaxGetDownload(context+"/tagListing/download/4", "pricing.xlsx")
145
	});
146
	});