Merged PR 1509: added statements and cater for end rep period date
added statements and cater for end rep period date Related work items: #12956
This commit is contained in:
@@ -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 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user