Subversion Repositories SmartDukaan

Rev

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

Rev 26142 Rev 26146
Line 61... Line 61...
61
	console.log(param.type);
61
	console.log(param.type);
62
	switch (param.type) {
62
	switch (param.type) {
63
		case "DATE": {
63
		case "DATE": {
64
			$inputContainer.append(`<div class="form-group">
64
			$inputContainer.append(`<div class="form-group">
65
									<label>${param.displayText}</label> 
65
									<label>${param.displayText}</label> 
66
				   	  				<input name="${param.name}" type="text" value="" class="form-control input-sm">
66
				   	  				<input name="${param.name}" type="text" value="" class="param form-control input-sm">
67
								</div>`);
67
								</div>`);
68
			$inputContainer.find(`input[name="${param.name}"]`).daterangepicker(getSingleDatePicker(),reporticoDRCallback);
68
			$inputContainer.find(`input[name="${param.name}"]`).daterangepicker(getSingleDatePicker(),reporticoDRCallback);
69
			reporticoDRCallback(moment(), moment());
69
			reporticoDRCallback(moment(), moment());
70
			return;
70
			return;
71
		}
71
		}