From a687fb6dc16d385d9dea7941c5cd0301a8bbe144 Mon Sep 17 00:00:00 2001 From: Jason Chuang Date: Thu, 12 Feb 2026 13:56:13 +0800 Subject: [PATCH] summary report 1000 days --- src/pages/Report/Summary/SummaryForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Report/Summary/SummaryForm.js b/src/pages/Report/Summary/SummaryForm.js index 5a677bc..e2242f0 100644 --- a/src/pages/Report/Summary/SummaryForm.js +++ b/src/pages/Report/Summary/SummaryForm.js @@ -64,8 +64,8 @@ const SummaryForm = ({ searchCriteria, issueComboData}) => { } const diffDays = to.startOf("day").diff(from.startOf("day"), "day"); - if (diffDays > 365) { - setDateRangeError("Payment Date (From) and Payment Date (To) must be within 90 days."); + if (diffDays > 1000) { + setDateRangeError("Payment Date (From) and Payment Date (To) must be within 1000 days."); setWaitDownload(false); return; }