Skip to content

Commit

Permalink
Merge pull request #3019 from hmcts/nfdiv-3475
Browse files Browse the repository at this point in the history
NFDIV-3475 - Add show condition to keep final order tab visible
  • Loading branch information
BWeeks-JusticeGovUK authored Jun 23, 2023
2 parents 9ae0135 + 969d5cc commit 132dc97
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ private void buildOutcomeOfConditionalOrderTab(ConfigBuilder<CaseData, State, Us
private void buildFinalOrderTab(ConfigBuilder<CaseData, State, UserRole> configBuilder) {
configBuilder.tab("finalOrder", "Final Order")
.forRoles(CASE_WORKER, LEGAL_ADVISOR, JUDGE, APPLICANT_1_SOLICITOR, APPLICANT_2_SOLICITOR, SUPER_USER)
.showCondition(showForState(
.showCondition("doesApplicant1WantToApplyForFinalOrder=\"Yes\" OR doesApplicant2WantToApplyForFinalOrder=\"Yes\" OR "
+ showForState(
AwaitingFinalOrder,
AwaitingJointFinalOrder,
AwaitingGeneralConsideration,
Expand Down

0 comments on commit 132dc97

Please sign in to comment.