added statements and cater for end rep period date

This commit is contained in:
2025-03-24 12:49:33 +00:00
parent 69ed539187
commit 74774ddae0
+5 -7
View File
@@ -316,12 +316,9 @@ let MakeRepresentation = (props) => {
).setHours(23, 59, 59, 999)
)),
(finalCommentsDate = new Date(
new Date(detailsObj.pinswg_finalcommentsduedate).setHours(
23,
59,
59,
999
)
new Date(
detailsObj.pinswg_endofrepresentationperiod
).setHours(23, 59, 59, 999)
)),
(statementDueDate = new Date(
new Date(
@@ -368,7 +365,8 @@ let MakeRepresentation = (props) => {
currentView.caseReference.appealType != 846040019 &&
todaysDate >= startDate &&
todaysDate <= finalCommentsDate &&
buildArr.push("Local Impact Report");
buildArr.push("Local Impact Report"),
buildArr.push("Statement");
!isDNS &&
currentView.caseReference.appealType != 846040004 &&