Subversion Repositories SmartDukaan

Rev

Rev 33091 | Rev 33094 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26053 amit.gupta 1
$(document).on('click', 'a.list-group-item', function() {
26063 amit.gupta 2
	reportTitle = $(this).find('h4').html();
3
	reportUrl = this.href;
26054 amit.gupta 4
	$reportModal = $('#report-modal');
26063 amit.gupta 5
	$reportModal.find('h4.modal-title').html(reportTitle);
31416 tejbeer 6
	if ($(this).data("paramslist") == undefined) {
26054 amit.gupta 7
		return true;
26053 amit.gupta 8
	} else {
9
		var paramsList = $(this).data("paramslist");
10
		paramsMap = {};
11
		renderInputDialog(paramsList);
12
		$reportModal.modal('show');
13
		return false;
14
	}
15
});
30163 manish 16
 
17
 
18
 
19
$(document).on('click', ".invoice-scheme-out-report", function() {
31416 tejbeer 20
 
30163 manish 21
	doGetAjaxRequestHandler(context + "/invoiceSchemeOutSummaryReport",
22
		function(response) {
23
			$('#' + 'main-content').html(response);
24
		});
25
});
26
 
27
 
28
$(document).on('click', ".price-drop-report", function() {
31416 tejbeer 29
 
30163 manish 30
	doGetAjaxRequestHandler(context + "/priceDropReport",
31
		function(response) {
32
			$('#' + 'main-content').html(response);
33
		});
34
});
35
 
33091 shampa 36
$(document).on('click', ".scheme-payout", function() {
31416 tejbeer 37
 
30163 manish 38
	doGetAjaxRequestHandler(context + "/schemePayoutReport",
39
		function(response) {
40
			$('#' + 'main-content').html(response);
41
		});
42
});
33091 shampa 43
$(document).on('click', ".partner-reports", function() {
33010 shampa 44
console.log('HELLO');
45
	doGetAjaxRequestHandler(context + "/offerPayoutReport",
46
		function(response) {
47
			$('#' + 'main-content').html(response);
48
		});
49
});
30163 manish 50
 
51
$(document).on('click', ".pending-indent", function() {
31416 tejbeer 52
 
30163 manish 53
	doGetAjaxRequestHandler(context + "/pendingIndentReport",
54
		function(response) {
55
			$('#' + 'main-content').html(response);
56
		});
57
});
33067 shampa 58
$(document).on('click', '.pending-indent-fetch-report', function() {
59
	var startDate = $("#startDate-pending-indent-report").val();
30163 manish 60
 
33067 shampa 61
	var endDate = $("#endDate-pending-indent-report").val();
62
 
63
	if (startDate == "" || startDate == undefined) {
64
 
65
		alert("start date is not be empty!!");
66
		return;
67
	}
68
	if (endDate == "" || endDate == undefined) {
69
 
70
		alert("end date is not be empty!!");
71
		return;
72
	}
33092 tejus.loha 73
	let endPoint = `${context}/pendingIndentFetchReportByDate?startDate=${startDate}&endDate=${endDate}`;
74
	if (typeof partnerId != "undefined") {
75
		endPoint = `${endPoint}&fofoId=${partnerId}`;
76
	}
77
 
78
	doGetAjaxRequestHandler(endPoint,
79
		function (response) {
33067 shampa 80
			$('#' + 'main-content').html(response);
81
		});
82
});
83
 
84
 
85
 
30163 manish 86
$(document).on('click', ".wallet_statement", function() {
87
	doGetAjaxRequestHandler(context + "/walletSummaryReport",
88
		function(response) {
89
			$('#' + 'main-content').html(response);
90
		});
91
});
92
 
93
 
33067 shampa 94
$(document).on('click', ".partner-collection-summary", function() {
30163 manish 95
	doGetAjaxRequestHandler(context + "/collectionSummary",
96
		function(response) {
97
			$('#' + 'main-content').html(response);
98
		});
99
});
100
 
101
 
102
$(document).on('click', '.download-collection-summary', function() {
31416 tejbeer 103
	var startDate = $("#startDate-collection-summary").val();
104
 
105
	var endDate = $("#endDate-collection-summary").val();
106
 
107
	if (startDate == "" || startDate == undefined) {
108
 
30163 manish 109
		alert("start date is not be empty!!");
110
		return;
111
	}
31416 tejbeer 112
	if (endDate == "" || endDate == undefined) {
113
 
114
		alert("end date is not be empty!!");
30163 manish 115
		return;
116
	}
31416 tejbeer 117
	window.location.href = context + "/downloadCollectionSummary?startDate=" + startDate + "&endDate=" + endDate;
118
 
30163 manish 119
});
33010 shampa 120
$(document).on('click', ".collection-summary-fetch-report", function() {
30163 manish 121
 
33010 shampa 122
	var startDate = $("#startDate-collection-summary").val();
30163 manish 123
 
33010 shampa 124
	var endDate = $("#endDate-collection-summary").val();
125
 
126
	if (startDate == "" || startDate == undefined) {
127
		alert("start date is not be empty!!");
128
		return;
129
	}
130
	if (endDate == "" || endDate == undefined) {
131
 
132
		alert("end date is not be empty!!");
133
		return;
134
	}
33092 tejus.loha 135
	let endPoint = `${context}/collectionSummaryFetchReportByDate?startDate=${startDate}&endDate=${endDate}`;
136
	if (typeof partnerId != "undefined") {
137
		endPoint = `${endPoint}&fofoId=${partnerId}`;
138
	}
33010 shampa 139
 
33092 tejus.loha 140
	doGetAjaxRequestHandler(endPoint,
141
		function (response) {
142
			$('#' + 'main-content').html(response);
143
		});
144
 
145
 
33010 shampa 146
});
147
 
148
 
30163 manish 149
$(document).on('click', '.download-price-drop-report', function() {
31416 tejbeer 150
	var startDate = $("#startDate-price-drop-report").val();
151
 
152
	var endDate = $("#endDate-price-drop-report").val();
153
 
154
	if (startDate == "" || startDate == undefined) {
155
 
30163 manish 156
		alert("start date is not be empty!!");
157
		return;
158
	}
31416 tejbeer 159
	if (endDate == "" || endDate == undefined) {
160
 
161
		alert("end date is not be empty!!");
30163 manish 162
		return;
163
	}
31416 tejbeer 164
	window.location.href = context + "/downloadPriceDropReport?startDate=" + startDate + "&endDate=" + endDate;
165
 
30163 manish 166
});
33010 shampa 167
$(document).on('click', '.price-drop-fetch-report', function() {
168
	var startDate = $("#startDate-price-drop-report").val();
30163 manish 169
 
33010 shampa 170
	var endDate = $("#endDate-price-drop-report").val();
30163 manish 171
 
33010 shampa 172
	if (startDate == "" || startDate == undefined) {
30163 manish 173
 
33010 shampa 174
		alert("start date is not be empty!!");
175
		return;
176
	}
177
	if (endDate == "" || endDate == undefined) {
30163 manish 178
 
33010 shampa 179
		alert("end date is not be empty!!");
180
		return;
181
	}
33092 tejus.loha 182
	let endPoint = `${context}/priceDropFetchReportByDate?startDate=${startDate}&endDate=${endDate}`;
183
	if (typeof partnerId != "undefined") {
184
		endPoint = `${endPoint}&fofoId=${partnerId}`;
185
	}
33010 shampa 186
 
33092 tejus.loha 187
	doGetAjaxRequestHandler(endPoint,
188
		function (response) {
189
			$('#' + 'main-content').html(response);
190
		});
191
 
33010 shampa 192
});
193
 
194
 
195
 
196
 
30163 manish 197
$(document).on('click', ".smartdukaan-billing-statement", function() {
198
	console.log('HELO');
199
	doGetAjaxRequestHandler(context + "/selectPartnerBillingSummaryReport",
200
		function(response) {
201
			$('#' + 'main-content').html(response);
202
		});
203
});
204
 
205
 
206
$(document).on('click', '.download-invoicewise-scheme-out-report', function() {
31416 tejbeer 207
 
30163 manish 208
	window.location.href = context + "/downloadInvoiceSchemeOutSummaryReport";
31416 tejbeer 209
 
30163 manish 210
});
211
 
212
$(document).on('click', ".download-pending-indent-report", function() {
33067 shampa 213
	var startDate = $("#startDate-pending-indent-report").val();
31416 tejbeer 214
 
33067 shampa 215
	var endDate = $("#endDate-pending-indent-report").val();
30163 manish 216
 
33067 shampa 217
	if (startDate == "" || startDate == undefined) {
218
		alert("start date is not be empty!!");
219
		return;
220
	}
221
	if (endDate == "" || endDate == undefined) {
33010 shampa 222
 
33067 shampa 223
		alert("end date is not be empty!!");
224
		return;
225
	}
33010 shampa 226
 
33067 shampa 227
	window.location.href = context + "/pendingIndentReportDownload";
33010 shampa 228
});
229
 
230
 
33067 shampa 231
 
30163 manish 232
$(document).on('click', ".download-scheme-payout-report", function() {
31416 tejbeer 233
 
234
	var startDate = $("#startDate-scheme-payout").val();
235
 
236
	var endDate = $("#endDate-scheme-payout").val();
237
 
238
	if (startDate == "" || startDate == undefined) {
239
		alert("start date is not be empty!!");
240
		return;
241
	}
242
	if (endDate == "" || endDate == undefined) {
243
 
244
		alert("end date is not be empty!!");
245
		return;
246
	}
247
 
248
	window.location.href = context + "/schemePayoutReportDownload?startDate=" + startDate + "&endDate=" + endDate;
30163 manish 249
});
250
 
33010 shampa 251
$(document).on('click', ".scheme-payout-fetch-report", function() {
252
 
253
	var startDate = $("#startDate-scheme-payout").val();
254
 
255
	var endDate = $("#endDate-scheme-payout").val();
256
 
257
	if (startDate == "" || startDate == undefined) {
258
		alert("start date is not be empty!!");
259
		return;
260
	}
261
	if (endDate == "" || endDate == undefined) {
262
 
263
		alert("end date is not be empty!!");
264
		return;
265
	}
266
 
33091 shampa 267
	let endPoint = `${context}/schemePayoutFetchReportByDate?startDate=${startDate}&endDate=${endDate}`;
268
	   if (typeof partnerId != "undefined") {
269
		        endPoint = `${endPoint}&fofoId=${partnerId}`;
270
		   }
271
 
272
		    doGetAjaxRequestHandler(endPoint,
273
			        function (response) {
274
				            $('#' + 'main-content').html(response);
275
				       });
33010 shampa 276
});
277
 
278
$(document).on('click', ".download-offer-payout-dump-report", function() {
279
 
280
	var startDate = $("#startDate-offer-payout-dump").val();
281
 
282
	var endDate = $("#endDate-offer-payout-dump").val();
283
 
284
	if (startDate == "" || startDate == undefined) {
285
		alert("start date is not be empty!!");
286
		return;
287
	}
288
	if (endDate == "" || endDate == undefined) {
289
 
290
		alert("end date is not be empty!!");
291
		return;
292
	}
293
	window.location.href = context + "/offerPayoutDumpReportDownload?startDate=" + startDate + "&endDate=" + endDate;
294
 
295
 
296
});
297
$(document).on('click', ".offer-payout-fetch-report", function() {
298
 
299
	var startDate = $("#startDate-offer-payout-dump").val();
300
 
301
	var endDate = $("#endDate-offer-payout-dump").val();
302
 
303
	if (startDate == "" || startDate == undefined) {
304
		alert("start date is not be empty!!");
305
		return;
306
	}
307
	if (endDate == "" || endDate == undefined) {
308
 
309
		alert("end date is not be empty!!");
310
		return;
311
	}
312
 
33091 shampa 313
	doGetAjaxRequestHandler(endPoint,
314
		function (response) {
315
			$('#' + 'main-content').html(response);
316
		});
33010 shampa 317
});
318
 
319
 
30163 manish 320
$(document).on('click', ".franchisee_sales", function() {
33010 shampa 321
	console.log('HELLO');
30163 manish 322
	doGetAjaxRequestHandler(context + "/franchiseeSalesReport",
323
		function(response) {
324
			$('#' + 'main-content').html(response);
325
		});
326
});
33092 tejus.loha 327
$(document).on('click', '.franchisee-sales-fetch-report', function () {
328
	var startDate = $("#startDate-franchisee-sales").val();
30163 manish 329
 
33092 tejus.loha 330
	var endDate = $("#endDate-franchisee-sales").val();
331
 
332
	if (startDate == "" || startDate == undefined) {
333
 
334
		alert("start date is not be empty!!");
335
		return;
336
	}
337
	if (endDate == "" || endDate == undefined) {
338
 
339
		alert("end date is not be empty!!");
340
		return;
341
	}
342
	let endPoint = `${context}/franchiseeSalesFetchReportByDate?startDate=${startDate}&endDate=${endDate}`;
343
	if (typeof partnerId != "undefined") {
344
		endPoint = `${endPoint}&fofoId=${partnerId}`;
345
	}
346
 
347
	doGetAjaxRequestHandler(endPoint,
348
		function (response) {
349
			$('#' + 'main-content').html(response);
350
		});
351
});
352
 
353
 
354
 
30163 manish 355
$(document).on('click', '.download-wallet-summary-report', function() {
31416 tejbeer 356
	var startDate = $("#startDate-wallet-summary-report").val();
357
 
358
	var endDate = $("#endDate-wallet-summary-report").val();
359
 
360
	if (startDate == "" || startDate == undefined) {
361
		alert("start date is not be empty!!");
30163 manish 362
		return;
363
	}
31416 tejbeer 364
	if (endDate == "" || endDate == undefined) {
365
 
30163 manish 366
		alert("end date is not be empty!!");
367
		return;
368
	}
31416 tejbeer 369
	window.location.href = context + "/downloadWalletSummaryReport?startDate=" + startDate + "&endDate=" + endDate;
30163 manish 370
});
33010 shampa 371
$(document).on('click', '.wallet-summary-fetch-report', function() {
372
	var startDate = $("#startDate-wallet-summary-report").val();
30163 manish 373
 
33010 shampa 374
	var endDate = $("#endDate-wallet-summary-report").val();
30163 manish 375
 
33010 shampa 376
	if (startDate == "" || startDate == undefined) {
377
		alert("start date is not be empty!!");
378
		return;
379
	}
380
	if (endDate == "" || endDate == undefined) {
381
 
382
		alert("end date is not be empty!!");
383
		return;
384
	}
33092 tejus.loha 385
//	doGetAjaxRequestHandler(context + "/walletSummaryFetchReportByDate?startDate=" + startDate + "&endDate=" + endDate,
386
//    		function(response) {
387
//    			$('#' + 'main-content').html(response);
388
//    		});
389
 
390
	let endPoint = `${context}/walletSummaryFetchReportByDate?startDate=${startDate}&endDate=${endDate}`;
391
	if (typeof partnerId != "undefined") {
392
		endPoint = `${endPoint}&fofoId=${partnerId}`;
393
	}
394
 
395
	doGetAjaxRequestHandler(endPoint,
396
		function (response) {
397
			$('#' + 'main-content').html(response);
398
		});
399
 
400
 
33010 shampa 401
});
402
 
403
 
30163 manish 404
$(document).on('click', '.download-partner-billing-report', function() {
31416 tejbeer 405
	var startDate = $("#startDate-partner-billing-report").val();
406
 
407
	var endDate = $("#endDate-partner-billing-report").val();
408
 
409
	if (startDate == "" || startDate == undefined) {
410
 
30163 manish 411
		alert("start date is not be empty!!");
412
		return;
413
	}
31416 tejbeer 414
	if (endDate == "" || endDate == undefined) {
415
 
30163 manish 416
		alert("end date is not be empty!!");
417
		return;
418
	}
31416 tejbeer 419
	window.location.href = context + "/downloadPartnerBillingSummaryReport?startDate=" + startDate + "&endDate=" + endDate;
30163 manish 420
});
33010 shampa 421
$(document).on('click', '.billing-summary-fetch-report', function() {
422
	var startDate = $("#startDate-partner-billing-report").val();
30163 manish 423
 
33010 shampa 424
	var endDate = $("#endDate-partner-billing-report").val();
425
 
426
	if (startDate == "" || startDate == undefined) {
427
 
428
		alert("start date is not be empty!!");
429
		return;
430
	}
431
	if (endDate == "" || endDate == undefined) {
432
 
433
		alert("end date is not be empty!!");
434
		return;
435
	}
436
	doGetAjaxRequestHandler(context + "/selectPartnerBillingSummaryReport",
437
    		function(response) {
438
    			$('#' + 'main-content').html(response);
439
    		});
440
});
441
 
30163 manish 442
$(document).on('click', '.download-franchisee-sales', function() {
31416 tejbeer 443
	var startDate = $("#startDate-franchisee-sales").val();
444
 
445
	var endDate = $("#endDate-franchisee-sales").val();
446
 
447
	if (startDate == "" || startDate == undefined) {
448
 
30163 manish 449
		alert("start date is not be empty!!");
450
		return;
451
	}
31416 tejbeer 452
	if (endDate == "" || endDate == undefined) {
453
 
30163 manish 454
		alert("end date is not be empty!!");
455
		return;
456
	}
31416 tejbeer 457
	window.location.href = context + "/downloadFranchiseeSales?startDate=" + startDate + "&endDate=" + endDate;
30163 manish 458
});
31416 tejbeer 459
$(document).on('click', 'button.download-report', function() {
26054 amit.gupta 460
	var reportParams = {};
26153 amit.gupta 461
	var validated = true;
26134 amit.gupta 462
	$inputContainer.find("input.param,select.param").each(function(idx, inputElement) {
26054 amit.gupta 463
		var inputName = $(inputElement).attr("name");
31416 tejbeer 464
		if (typeof inputName === "undefined" || !(inputName in paramsMap)) {
26089 amit.gupta 465
			console.log(inputName);
466
			return;
467
		}
468
		param = paramsMap[inputName];
31416 tejbeer 469
		if ($(inputElement).val() == "") {
26089 amit.gupta 470
			bootbox.alert(`${param.displayName} is required`);
26153 amit.gupta 471
			validated = false;
26148 amit.gupta 472
			return false;
26054 amit.gupta 473
		}
31416 tejbeer 474
		if (param.type == 'DATE') {
30599 amit.gupta 475
			reportParams[`MANUAL_${inputName}`] = getReporticoDatesFromPicker(inputElement).startDate;
31416 tejbeer 476
		} else if (param.type == 'DATE_RANGE') {
30599 amit.gupta 477
			reportParams[`MANUAL_${inputName}_FROMDATE`] = getReporticoDatesFromPicker(inputElement).startDate;
478
			reportParams[`MANUAL_${inputName}_TODATE`] = getReporticoDatesFromPicker(inputElement).endDate;
26054 amit.gupta 479
		} else {
31416 tejbeer 480
			if (['code', 'warehouseId'].indexOf(param.name) >= 0) {
481
				if (typeof $(inputElement).val() == "string") {
26204 amit.gupta 482
					reportParams[`${inputName}`] = $(inputElement).val();
26167 amit.gupta 483
				} else {
26204 amit.gupta 484
					reportParams[`${inputName}`] = $(inputElement).val().join(",");
26157 amit.gupta 485
				}
26116 amit.gupta 486
 
26089 amit.gupta 487
			} else {
488
				reportParams[`MANUAL_${inputName}`] = $(inputElement).val();
489
			}
26054 amit.gupta 490
		}
491
	});
31416 tejbeer 492
	if (validated) {
26153 amit.gupta 493
		var jsonParams = JSON.stringify(reportParams);
494
		doAjaxPostDownload(reportUrl, jsonParams, `${reportTitle}.csv`);
495
	}
31416 tejbeer 496
 
26054 amit.gupta 497
});
26053 amit.gupta 498
function renderInputDialog(paramsList) {
26054 amit.gupta 499
	$reportModal = $('div#report-modal');
500
	$inputContainer = $reportModal.find('div.modal-body');
501
	//Clear container first
502
	$inputContainer.html('');
26053 amit.gupta 503
	paramsList.forEach(function(value) {
504
		paramsMap[value.name] = value;
505
		renderInput($inputContainer, value);
506
	});
507
}
508
 
26054 amit.gupta 509
function renderInput($inputContainer, param) {
510
	console.log(param.type);
26053 amit.gupta 511
	switch (param.type) {
512
		case "DATE": {
26054 amit.gupta 513
			$inputContainer.append(`<div class="form-group">
26053 amit.gupta 514
									<label>${param.displayText}</label> 
26146 amit.gupta 515
				   	  				<input name="${param.name}" type="text" value="" class="param form-control input-sm">
26053 amit.gupta 516
								</div>`);
30599 amit.gupta 517
			$inputContainer.find(`input[name="${param.name}"]`).daterangepicker(getSingleDatePicker());
26054 amit.gupta 518
			return;
26053 amit.gupta 519
		}
31416 tejbeer 520
		case "DATE_RANGE": {
26054 amit.gupta 521
			$inputContainer.append(`<div class="form-group">
26053 amit.gupta 522
					<label>${param.displayText}</label> 
26134 amit.gupta 523
					<input name="${param.name}" type="text" value="" class="param form-control input-sm">
26053 amit.gupta 524
			</div>`);
30599 amit.gupta 525
			$inputContainer.find(`input[name="${param.name}"]`).daterangepicker(getRangedDatePicker(true));
26054 amit.gupta 526
			return;
26053 amit.gupta 527
		}
528
		case "STRING": {
31416 tejbeer 529
			if (param.name == "authId") {
26154 amit.gupta 530
				$inputContainer.append(`
531
						<input type="hidden" name="${param.name}" type="text" value="${authId}" class="param form-control input-sm">`);
26155 amit.gupta 532
			} else {
533
				$inputContainer.append(`<div class="form-group">
534
						<label>${param.displayText}</label> 
535
						<input name="${param.name}" type="text" value="" class="param form-control input-sm">
536
					</div>`);
26142 amit.gupta 537
			}
26054 amit.gupta 538
			return;
26053 amit.gupta 539
		}
31416 tejbeer 540
		case "LIST": {
541
			if (param.name == "code") {
26089 amit.gupta 542
				var arr = [];
31416 tejbeer 543
				if (retailers.length == 1) {
26157 amit.gupta 544
					$inputContainer.append(`<input type="hidden" name="${param.name}" type="text" value="${authId}" class="param form-control input-sm">`)
545
				} else {
31416 tejbeer 546
					for (var i in retailers) {
26157 amit.gupta 547
						arr.push(`<option value="${retailers[i].code}">${retailers[i].displayName}-${retailers[i].code}</option>`);
548
					}
549
					var options = arr.join("");
550
					$inputContainer.append(`<div class="col-lg-2 form-group">
551
							<label>${param.displayText}</label> 
552
							<select class="param form-control input-sm" id="code" multiple="multiple" name="${param.name}">
26089 amit.gupta 553
							<option value="" disabled selected>Select Franchisee</option>
554
							${options}
26157 amit.gupta 555
							</select>
556
					</div>`);
31416 tejbeer 557
 
26157 amit.gupta 558
					$('#code').multiselect({
559
						includeSelectAllOption: true,
31416 tejbeer 560
						multiple: true,
26157 amit.gupta 561
						maxHeight: 200,
562
						buttonWidth: '180px',
563
						numberDisplayed: 1,
564
						nonSelectedText: 'Franchisee',
565
						nSelectedText: ' - Franchisees Selected',
566
						allSelectedText: 'All Franchisees',
567
						enableFiltering: true,
31416 tejbeer 568
						enableCaseInsensitiveFiltering: true
26157 amit.gupta 569
					});
570
				}
31416 tejbeer 571
			} else if (param.name == "warehouseId") {
26134 amit.gupta 572
				var arr = [];
31416 tejbeer 573
				for (var i in warehouses) {
26134 amit.gupta 574
					arr.push(`<option value="${i}">${warehouses[i]}</option>`);
575
				}
576
				var options = arr.join("");
577
				$inputContainer.append(`<div class="col-lg-2 form-group">
578
						<label>${param.displayText}</label> 
579
						<select class="param form-control input-sm" id="code" multiple="multiple" name="${param.name}">
580
						<option value="" disabled selected>Select Warehouses</option>
581
						${options}
582
						</select>
583
				</div>`);
31416 tejbeer 584
 
26134 amit.gupta 585
				$('#code').multiselect({
586
					includeSelectAllOption: true,
31416 tejbeer 587
					multiple: true,
26134 amit.gupta 588
					maxHeight: 200,
589
					buttonWidth: '180px',
590
					numberDisplayed: 1,
591
					nonSelectedText: 'Warehouses',
592
					nSelectedText: ' - Warehouse Selected',
593
					allSelectedText: 'All Warehouses',
594
					enableFiltering: true,
31416 tejbeer 595
					enableCaseInsensitiveFiltering: true
26134 amit.gupta 596
				});
597
			} else {
26089 amit.gupta 598
				$inputContainer.append(`<div class="form-group">
599
						<label>${param.displayText}(Comma Separated)</label> 
26134 amit.gupta 600
						<input name="${param.name}" type="text" value="" class="param form-control input-sm">
26089 amit.gupta 601
				</div>`);
602
			}
26054 amit.gupta 603
			return;
26053 amit.gupta 604
		}
605
	}
606
}