Subversion Repositories SmartDukaan

Rev

Rev 34525 | 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
 
37593 amit 11
$(document).on('click', '.aged_apple_imeis', function () {
12
	doGetAjaxRequestHandler(context + "/agedAppleImeis", function (response) {
13
		$('#main-content').html(response);
14
	});
15
});
16
 
34525 ranu 17
$(document).on('click', '.analysis_activated_imeis', function () {
18
	var fofoId = $(this).data('fofoid');
19
	if (typeof pendingPO != "undefined") {
20
		delete pendingPO;
21
		delete pendingPOCustomer;
22
	}
23
	doGetAjaxRequestHandler(context + "/analysis/activatedImeis?fofoId=" + fofoId, function (response) {
24
		$('#main-content').html(response);
25
	});
26
});
27
 
30466 amit.gupta 28
$(document).on('click', '.activated_imeis_grn_pending', function () {
29
	doGetAjaxRequestHandler(context + "/activated-imeis-grn-pending", function (response) {
30
		$('#main-content').html(response);
31
	});
32
});
33
$(document).on('click', 'a.activated_imeis_grn_complete', function () {
34
	let invoiceNumber = $(this).data('invoice');
35
	loadNewGrn("main-content", invoiceNumber);
36
 
37
 
26246 amit.gupta 38
});