|
|
@@ -64,7 +64,7 @@ const SummaryForm = ({ searchCriteria, issueComboData}) => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const diffDays = to.startOf("day").diff(from.startOf("day"), "day"); |
|
|
const diffDays = to.startOf("day").diff(from.startOf("day"), "day"); |
|
|
if (diffDays > 90) { |
|
|
|
|
|
|
|
|
if (diffDays > 365) { |
|
|
setDateRangeError("Payment Date (From) and Payment Date (To) must be within 90 days."); |
|
|
setDateRangeError("Payment Date (From) and Payment Date (To) must be within 90 days."); |
|
|
setWaitDownload(false); |
|
|
setWaitDownload(false); |
|
|
return; |
|
|
return; |
|
|
|