Subversion Repositories SmartDukaan

Rev

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

Rev 32055 Rev 32439
Line 27... Line 27...
27
	$(document).on('click', ".sanction-order-hold", function() {
27
	$(document).on('click', ".sanction-order-hold", function() {
28
 
28
 
29
		loadSanctionHoldOrder("main-content");
29
		loadSanctionHoldOrder("main-content");
30
	});
30
	});
31
 
31
 
-
 
32
 
-
 
33
	$(document).on('click', ".sanction-order-unhold", function() {
-
 
34
 
-
 
35
		loadSanctionUnholdOrder("main-content");
-
 
36
	});
32
	var table = $('#sdCredit').DataTable();
37
	var table = $('#sdCredit').DataTable();
33
	$(document).on('dblclick', '#sdCredit tbody tr', function() {
38
	$(document).on('dblclick', '#sdCredit tbody tr', function() {
34
		console.log("dblclick");
39
		console.log("dblclick");
35
		var data = table.row(this).data();
40
		var data = table.row(this).data();
36
 
41
 
Line 212... Line 217...
212
	doGetAjaxRequestHandler(context + "/getSanctionHoldOrder", function(
217
	doGetAjaxRequestHandler(context + "/getSanctionHoldOrder", function(
213
		response) {
218
		response) {
214
		$('#' + domId).html(response);
219
		$('#' + domId).html(response);
215
	});
220
	});
216
}
221
}
-
 
222
 
-
 
223
function loadSanctionUnholdOrder(domId) {
-
 
224
 
-
 
225
	doGetAjaxRequestHandler(context + "/getSanctionUnholdOrder", function(
-
 
226
		response) {
-
 
227
		$('#' + domId).html(response);
-
 
228
	});
-
 
229
}
-
 
230
 
-
 
231