Merged PR 1279: change object checking for ROW and Adverts
change object checking for ROW and Adverts Related work items: #12663, #12664
This commit is contained in:
@@ -297,6 +297,7 @@ let MakeRepresentation = (props) => {
|
|||||||
buildArr.push("Local Impact Report");
|
buildArr.push("Local Impact Report");
|
||||||
|
|
||||||
!isDNS &&
|
!isDNS &&
|
||||||
|
currentView.caseReference.appealType != 846040004 &&
|
||||||
todaysDate >= startDate &&
|
todaysDate >= startDate &&
|
||||||
todaysDate <= statementDueDate &&
|
todaysDate <= statementDueDate &&
|
||||||
buildArr.push("Statement");
|
buildArr.push("Statement");
|
||||||
|
|||||||
@@ -1177,22 +1177,21 @@ const CaseSummary = (props) => {
|
|||||||
return isLPA ? true : false;
|
return isLPA ? true : false;
|
||||||
|
|
||||||
case 846040015:
|
case 846040015:
|
||||||
return props.searchResultsObj.searchDetailsObj[0].value[0]
|
return props.searchDetailsObj[0].value[0]
|
||||||
.pinswg_specialistcaseprocess == 846040001
|
.pinswg_specialistcaseprocess == 846040001
|
||||||
? showReps(
|
? showReps(
|
||||||
props.searchResultsObj.searchDetailsObj[0].value[0]
|
props.searchDetailsObj[0].value[0].pinswg_startdate,
|
||||||
.pinswg_startdate,
|
props.searchDetailsObj[0].value[0]
|
||||||
props.searchResultsObj.searchDetailsObj[0].value[0]
|
|
||||||
.pinswg_finalcommentsduedate
|
.pinswg_finalcommentsduedate
|
||||||
)
|
)
|
||||||
: true;
|
: true;
|
||||||
|
|
||||||
case 846040018:
|
case 846040018:
|
||||||
let shouldShow =
|
let shouldShow =
|
||||||
props.searchResultsObj.searchDetailsObj[0].value[0]
|
props.searchDetailsObj[0].value[0]
|
||||||
.pinswg_speacialistcaseprocess == 846040000 && isLPA
|
.pinswg_speacialistcaseprocess == 846040000 && isLPA
|
||||||
? true
|
? true
|
||||||
: props.searchResultsObj.searchDetailsObj[0].value[0]
|
: props.searchDetailsObj[0].value[0]
|
||||||
.pinswg_speacialistcaseprocess == 846040001
|
.pinswg_speacialistcaseprocess == 846040001
|
||||||
? true
|
? true
|
||||||
: false;
|
: false;
|
||||||
@@ -1201,10 +1200,8 @@ const CaseSummary = (props) => {
|
|||||||
|
|
||||||
case 846040019:
|
case 846040019:
|
||||||
return showReps(
|
return showReps(
|
||||||
props.searchResultsObj.searchDetailsObj[0].value[0]
|
props.searchDetailsObj[0].value[0].pinswg_startdate,
|
||||||
.pinswg_startdate,
|
props.searchDetailsObj[0].value[0].pinswg_statementduedate
|
||||||
props.searchResultsObj.searchDetailsObj[0].value[0]
|
|
||||||
.pinswg_statementduedate
|
|
||||||
);
|
);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user