Reports
This commit is contained in:
parent
1c4a9a31a0
commit
1c554514d3
|
|
@ -599,7 +599,7 @@ class ReportResult {
|
||||||
if (dateRange == DateRange.custom) {
|
if (dateRange == DateRange.custom) {
|
||||||
if (customStartDate.isNotEmpty && customEndDate.isNotEmpty) {
|
if (customStartDate.isNotEmpty && customEndDate.isNotEmpty) {
|
||||||
if (!(startDate.compareTo(value) <= 0 &&
|
if (!(startDate.compareTo(value) <= 0 &&
|
||||||
endDate.compareTo(value) >= 0)) {
|
endDate.compareTo(value) > 0)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (customStartDate.isNotEmpty) {
|
} else if (customStartDate.isNotEmpty) {
|
||||||
|
|
@ -607,12 +607,12 @@ class ReportResult {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (customEndDate.isNotEmpty) {
|
} else if (customEndDate.isNotEmpty) {
|
||||||
if (!(endDate.compareTo(value) >= 0)) {
|
if (!(endDate.compareTo(value) > 0)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!(startDate.compareTo(value) <= 0 && endDate.compareTo(value) >= 0)) {
|
if (!(startDate.compareTo(value) <= 0 && endDate.compareTo(value) > 0)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue