diff --git a/components/case/representation/index.js b/components/case/representation/index.js index 7407c45c..f0c9018d 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -297,6 +297,7 @@ let MakeRepresentation = (props) => { buildArr.push("Local Impact Report"); !isDNS && + currentView.caseReference.appealType != 846040004 && todaysDate >= startDate && todaysDate <= statementDueDate && buildArr.push("Statement"); diff --git a/components/case/summary.js b/components/case/summary.js index 5c76cd70..c0f1779e 100644 --- a/components/case/summary.js +++ b/components/case/summary.js @@ -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: