Subversion Repositories SmartDukaan

Rev

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

Rev 33305 Rev 33319
Line 612... Line 612...
612
 
612
 
613
	$(document).on('click', "#editamountbutton", function() {
613
	$(document).on('click', "#editamountbutton", function() {
614
		$('#editAmount').show();
614
		$('#editAmount').show();
615
	});
615
	});
616
 
616
 
-
 
617
	$(document).on('click', '.downloadB2CList-mk', function () {
-
 
618
		var startDate = $("#startDate-b2c-user").val();
-
 
619
 
-
 
620
		var endDate = $("#endDate-b2c-user").val();
-
 
621
		if (startDate == "" || startDate == undefined) {
-
 
622
			alert("start date is not be empty!!");
-
 
623
			return;
-
 
624
		}
-
 
625
		if (endDate == "" || endDate == undefined) {
-
 
626
 
-
 
627
			alert("end date is not be empty!!");
-
 
628
			return;
-
 
629
		}
-
 
630
 
-
 
631
		let endPoint = `${context}/downloadB2CUsersList?startDate=${startDate}&endDate=${endDate}`;
-
 
632
 
-
 
633
		window.location.href = endPoint;
-
 
634
 
-
 
635
 
-
 
636
	});
-
 
637
 
617
});
638
});
618
 
639
 
619
function loadSaleDetails(orderId, domId) {
640
function loadSaleDetails(orderId, domId) {
620
	doGetAjaxRequestHandler(context + "/saleDetails?orderId=" + orderId,
641
	doGetAjaxRequestHandler(context + "/saleDetails?orderId=" + orderId,
621
		function(response) {
642
		function(response) {