Parcourir la source

summary report 1000 days

CR013B2
Jason Chuang il y a 11 heures
Parent
révision
a687fb6dc1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      src/pages/Report/Summary/SummaryForm.js

+ 2
- 2
src/pages/Report/Summary/SummaryForm.js Voir le fichier

@@ -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;
}


Chargement…
Annuler
Enregistrer