Subversion Repositories SmartDukaan

Rev

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

Rev 28523 Rev 30601
Line 1... Line -...
1
 
-
 
2
<script type="text/javascript">
1
<script type="text/javascript">
3
	$(function() {
2
	$(function () {
4
		getItemAheadOptions($("#catalog-search-item"), false, function(
3
		getItemAheadOptions($("#catalog-search-item"), false, function (
5
				selectedItem) {
4
				selectedItem) {
6
			currentItem = selectedItem;
5
			currentItem = selectedItem;
7
			console.log(currentItem);
6
			console.log(currentItem);
8
		});
7
		});
9
	});
8
	});
10
	startMoment = moment().subtract(6, 'days');
9
	let startMoment = moment().subtract(6, 'days');
11
 
-
 
12
	//	startDate = startMoment;
-
 
13
	$('input[name="saleDate"]').daterangepicker(getSingleDatePicker(),
10
	$('input[name="saleDate"]').daterangepicker(getSingleDatePicker(startMoment));
14
			dateRangeCallback);
-
 
15
 
11
 
16
	$('.chosen-select').chosen({
12
	$('.chosen-select').chosen({
17
		search_contains : true
13
		search_contains: true
18
 
14
 
19
	});
15
	});
20
	
16
 
21
    $('.criteria-item-catalogids').multiselect({
17
	$('.criteria-item-catalogids').multiselect({
22
		includeSelectAllOption: true,
18
		includeSelectAllOption: true,
23
    		multiple:true,
19
		multiple: true,
24
    		maxHeight: 200,
20
		maxHeight: 200,
25
    		buttonWidth: '180px',
21
    		buttonWidth: '180px',
26
    		numberDisplayed: 1,
22
    		numberDisplayed: 1,
27
    	nonSelectedText: 'Items',
23
    	nonSelectedText: 'Items',
28
    	nSelectedText: ' - Items Selected',
24
    	nSelectedText: ' - Items Selected',
29
    	allSelectedText: 'All Items Selected',
25
    	allSelectedText: 'All Items Selected',