Subversion Repositories SmartDukaan

Rev

Rev 30466 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30466 amit.gupta 1
$(document).on('click', '.activated_imeis', function () {
2
	if (typeof pendingPO != "undefined") {
26825 amit.gupta 3
		delete pendingPO;
4
		delete pendingPOCustomer;
5
	}
30466 amit.gupta 6
	doGetAjaxRequestHandler(context + "/activatedImeis", function (response) {
26246 amit.gupta 7
		$('#main-content').html(response);
8
	});
30466 amit.gupta 9
});
34525 ranu 10
 
11
$(document).on('click', '.analysis_activated_imeis', function () {
12
	var fofoId = $(this).data('fofoid');
13
	if (typeof pendingPO != "undefined") {
14
		delete pendingPO;
15
		delete pendingPOCustomer;
16
	}
17
	doGetAjaxRequestHandler(context + "/analysis/activatedImeis?fofoId=" + fofoId, function (response) {
18
		$('#main-content').html(response);
19
	});
20
});
21
 
30466 amit.gupta 22
$(document).on('click', '.activated_imeis_grn_pending', function () {
23
	doGetAjaxRequestHandler(context + "/activated-imeis-grn-pending", function (response) {
24
		$('#main-content').html(response);
25
	});
26
});
27
$(document).on('click', 'a.activated_imeis_grn_complete', function () {
28
	let invoiceNumber = $(this).data('invoice');
29
	loadNewGrn("main-content", invoiceNumber);
30
 
31
 
26246 amit.gupta 32
});