change object checking for ROW and Adverts

This commit is contained in:
2024-11-12 15:14:20 +00:00
parent 77b71577ad
commit 36829b7446
2 changed files with 8 additions and 10 deletions
+1
View File
@@ -297,6 +297,7 @@ let MakeRepresentation = (props) => {
buildArr.push("Local Impact Report");
!isDNS &&
currentView.caseReference.appealType != 846040004 &&
todaysDate >= startDate &&
todaysDate <= statementDueDate &&
buildArr.push("Statement");
+7 -10
View File
@@ -1177,22 +1177,21 @@ const CaseSummary = (props) => {
return isLPA ? true : false;
case 846040015:
return props.searchResultsObj.searchDetailsObj[0].value[0]
return props.searchDetailsObj[0].value[0]
.pinswg_specialistcaseprocess == 846040001
? showReps(
props.searchResultsObj.searchDetailsObj[0].value[0]
.pinswg_startdate,
props.searchResultsObj.searchDetailsObj[0].value[0]
props.searchDetailsObj[0].value[0].pinswg_startdate,
props.searchDetailsObj[0].value[0]
.pinswg_finalcommentsduedate
)
: true;
case 846040018:
let shouldShow =
props.searchResultsObj.searchDetailsObj[0].value[0]
props.searchDetailsObj[0].value[0]
.pinswg_speacialistcaseprocess == 846040000 && isLPA
? true
: props.searchResultsObj.searchDetailsObj[0].value[0]
: props.searchDetailsObj[0].value[0]
.pinswg_speacialistcaseprocess == 846040001
? true
: false;
@@ -1201,10 +1200,8 @@ const CaseSummary = (props) => {
case 846040019:
return showReps(
props.searchResultsObj.searchDetailsObj[0].value[0]
.pinswg_startdate,
props.searchResultsObj.searchDetailsObj[0].value[0]
.pinswg_statementduedate
props.searchDetailsObj[0].value[0].pinswg_startdate,
props.searchDetailsObj[0].value[0].pinswg_statementduedate
);
default: