From 04b0ea9f0e77f9852c11e1b95b952ee2291e05a4 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 30 May 2024 18:26:17 +0100 Subject: [PATCH] update drop down --- components/case/representation/index.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/components/case/representation/index.js b/components/case/representation/index.js index 55e4def4..c377cc68 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -322,12 +322,16 @@ let MakeRepresentation = (props) => { todaysDate <= statementDueDate && buildArr.push("Statement"); - currentView.caseReference.appealType != 846040004 || - (currentView.caseReference.appealType == 846040004 && - currentView.caseReference.specialistProcess != 846040001 && - todaysDate >= statementDueDate && - todaysDate <= finalCommentsDate && - buildArr.push("Final comments")); + currentView.caseReference.appealType != 846040004 && + todaysDate >= statementDueDate && + todaysDate <= finalCommentsDate && + buildArr.push("Final comments"); + + currentView.caseReference.appealType == 846040004 && + currentView.caseReference.specialistProcess != 846040001 && + todaysDate >= statementDueDate && + todaysDate <= finalCommentsDate && + buildArr.push("Final comments"); return buildArr; };