reps defects
This commit is contained in:
@@ -216,7 +216,6 @@ let MakeRepresentation = (props) => {
|
||||
capacityOptionsArr.push(
|
||||
t("myrepresentations:capacity-options-arr-interested")
|
||||
);
|
||||
console.log(props.props.currentView);
|
||||
|
||||
let setCaseDetailsObj = router.query.hasOwnProperty("state")
|
||||
? router.query.state == "edit"
|
||||
@@ -300,6 +299,7 @@ let MakeRepresentation = (props) => {
|
||||
isLPA &&
|
||||
currentView.caseReference.appealType != 846040019 &&
|
||||
currentView.caseReference.appealType != 846040011 &&
|
||||
currentView.caseReference.appealType != 846040015 &&
|
||||
todaysDate >= startDate &&
|
||||
todaysDate <= questionnaireDate &&
|
||||
buildArr.push("Questionnaire");
|
||||
@@ -323,6 +323,8 @@ let MakeRepresentation = (props) => {
|
||||
buildArr.push("Statement");
|
||||
|
||||
currentView.caseReference.appealType != 846040004 &&
|
||||
currentView.caseReference.appealType == 846040015 &&
|
||||
currentView.caseReference.specialistProcess != 846040001 &&
|
||||
todaysDate >= statementDueDate &&
|
||||
todaysDate <= finalCommentsDate &&
|
||||
buildArr.push("Final comments");
|
||||
@@ -333,6 +335,12 @@ let MakeRepresentation = (props) => {
|
||||
todaysDate <= finalCommentsDate &&
|
||||
buildArr.push("Final comments");
|
||||
|
||||
//is LPA Advert part 3 no statement
|
||||
isLPA &&
|
||||
currentView.caseReference.appealType == 846040018 &&
|
||||
currentView.caseReference.specialistProcess == 846040000 &&
|
||||
buildArr.pop("Statements");
|
||||
|
||||
return buildArr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user