Subversion Repositories SmartDukaan

Rev

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

Rev 26825 Rev 30466
Line 1... Line 1...
1
$(document).on('click', '.activated_imeis', function() {
1
$(document).on('click', '.activated_imeis', function () {
2
	if(typeof pendingPO != "undefined") {
2
	if (typeof pendingPO != "undefined") {
3
		delete pendingPO;
3
		delete pendingPO;
4
		delete pendingPOCustomer;
4
		delete pendingPOCustomer;
5
	}
5
	}
6
	doGetAjaxRequestHandler(context+"/activatedImeis", function(response){
6
	doGetAjaxRequestHandler(context + "/activatedImeis", function (response) {
7
		$('#main-content').html(response);
7
		$('#main-content').html(response);
8
	});
8
	});
-
 
9
});
-
 
10
$(document).on('click', '.activated_imeis_grn_pending', function () {
-
 
11
	doGetAjaxRequestHandler(context + "/activated-imeis-grn-pending", function (response) {
-
 
12
		$('#main-content').html(response);
-
 
13
	});
-
 
14
});
-
 
15
$(document).on('click', 'a.activated_imeis_grn_complete', function () {
-
 
16
	let invoiceNumber = $(this).data('invoice');
-
 
17
	loadNewGrn("main-content", invoiceNumber);
-
 
18
 
-
 
19
 
9
});
20
});
10
21