fixed reports date range
This commit is contained in:
@@ -665,7 +665,7 @@
|
||||
|
||||
var min = $('#min').datepicker("getDate");
|
||||
var max = $('#max').datepicker("getDate");
|
||||
var startDate = new Date(data[9]);
|
||||
var startDate = new Date(data[10]);
|
||||
if (min == null && max == null) { return true; }
|
||||
if (min == null && startDate <= max) { return true;}
|
||||
if(max == null && startDate >= min) {return true;}
|
||||
|
||||
Reference in New Issue
Block a user