From 74774ddae0b70761c3caa60a71915ab24271062f Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 24 Mar 2025 12:49:33 +0000 Subject: [PATCH] added statements and cater for end rep period date --- components/case/representation/index.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/components/case/representation/index.js b/components/case/representation/index.js index 801b4c9a..624587f3 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -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 &&