Subversion Repositories SmartDukaan

Rev

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

Rev 26140 Rev 26274
Line 445... Line 445...
445
					moment().subtract(1, 'days') ],
445
					moment().subtract(1, 'days') ],
446
			'Last 7 Days' : [ moment().subtract(6, 'days'), moment() ],
446
			'Last 7 Days' : [ moment().subtract(6, 'days'), moment() ],
447
			'Last 30 Days' : [ moment().subtract(29, 'days'), moment() ],
447
			'Last 30 Days' : [ moment().subtract(29, 'days'), moment() ],
448
			'This Month' : [ moment().startOf('month'), moment().endOf('month') ],
448
			'This Month' : [ moment().startOf('month'), moment().endOf('month') ],
449
			'Last Month' : [ moment().subtract(1, 'month').startOf('month'),
449
			'Last Month' : [ moment().subtract(1, 'month').startOf('month'),
450
					moment().subtract(1, 'month').endOf('month') ],
450
					moment()],
451
			'Last 3 Months' : [ moment().subtract(1, 'month').startOf('month'),
451
			'Last 3 Months' : [ moment().subtract(3, 'month').startOf('month'),
452
			moment().subtract(3, 'month').endOf('month') ],
452
			moment()],
453
			'Last 6 Months' : [ moment().subtract(1, 'month').startOf('month'),
453
			'Last 6 Months' : [ moment().subtract(6, 'month').startOf('month'),
454
				moment().subtract(6, 'month').endOf('month') ]
454
				moment()]
455
		}
455
		}
456
	}
456
	}
457
	return rangedDatePicker;
457
	return rangedDatePicker;
458
}
458
}
459
function showPosition(position) {
459
function showPosition(position) {