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) ).setHours(23, 59, 59, 999)
)), )),
(finalCommentsDate = new Date( (finalCommentsDate = new Date(
new Date(detailsObj.pinswg_finalcommentsduedate).setHours( new Date(
23, detailsObj.pinswg_endofrepresentationperiod
59, ).setHours(23, 59, 59, 999)
59,
999
)
)), )),
(statementDueDate = new Date( (statementDueDate = new Date(
new Date( new Date(
@@ -368,7 +365,8 @@ let MakeRepresentation = (props) => {
currentView.caseReference.appealType != 846040019 && currentView.caseReference.appealType != 846040019 &&
todaysDate >= startDate && todaysDate >= startDate &&
todaysDate <= finalCommentsDate && todaysDate <= finalCommentsDate &&
buildArr.push("Local Impact Report"); buildArr.push("Local Impact Report"),
buildArr.push("Statement");
!isDNS && !isDNS &&
currentView.caseReference.appealType != 846040004 && currentView.caseReference.appealType != 846040004 &&