change object checking for ROW and Adverts
This commit is contained in:
@@ -297,6 +297,7 @@ let MakeRepresentation = (props) => {
|
||||
buildArr.push("Local Impact Report");
|
||||
|
||||
!isDNS &&
|
||||
currentView.caseReference.appealType != 846040004 &&
|
||||
todaysDate >= startDate &&
|
||||
todaysDate <= statementDueDate &&
|
||||
buildArr.push("Statement");
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user