Skip to content

Commit

Permalink
[HOCS-7023] Add "Unable to reach a finding" outcome to BF (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-horton-ho-sas authored Dec 3, 2024
1 parent 398317a commit eb19a6f
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 85 deletions.
183 changes: 108 additions & 75 deletions src/main/resources/config/details/stages/BF.json
Original file line number Diff line number Diff line change
Expand Up @@ -829,45 +829,57 @@
{
"component" : "dropdown",
"props" : {
"choices" : [ {
"label" : "Upheld",
"value" : "Upheld"
}, {
"label" : "Not Upheld",
"value" : "Not Upheld"
}, {
"label" : "Partially Upheld",
"value" : "Partially Upheld"
}, {
"label" : "Withdrawn",
"value" : "Withdrawn"
} ],
"visibilityConditions" : [ {
"function" : "hasAnyValue",
"conditionArgs" : {
"conditionPropertyName" : "ComplaintReason1"
"choices" : [
{
"label": "Upheld",
"value": "Upheld"
},
{
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
}
} ]
]
},
"name" : "ComplaintOutcome1",
"label" : "Complaint Reason 1 Outcome"
},
{
"component" : "dropdown",
"props" : {
"choices" : [ {
"label" : "Upheld",
"value" : "Upheld"
}, {
"label" : "Not Upheld",
"value" : "Not Upheld"
}, {
"label" : "Partially Upheld",
"value" : "Partially Upheld"
}, {
"label" : "Withdrawn",
"value" : "Withdrawn"
} ],
"choices" : [
{
"label": "Upheld",
"value": "Upheld"
},
{
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
}
],
"visibilityConditions" : [ {
"function" : "hasAnyValue",
"conditionArgs" : {
Expand All @@ -881,45 +893,57 @@
{
"component" : "dropdown",
"props" : {
"choices" : [ {
"label" : "Upheld",
"value" : "Upheld"
}, {
"label" : "Not Upheld",
"value" : "Not Upheld"
}, {
"label" : "Partially Upheld",
"value" : "Partially Upheld"
}, {
"label" : "Withdrawn",
"value" : "Withdrawn"
} ],
"visibilityConditions" : [ {
"function" : "hasAnyValue",
"conditionArgs" : {
"conditionPropertyName" : "ComplaintReason3"
"choices" : [
{
"label": "Upheld",
"value": "Upheld"
},
{
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
}
} ]
]
},
"name" : "ComplaintOutcome3",
"label" : "Complaint Reason 3 Outcome"
},
{
"component" : "dropdown",
"props" : {
"choices" : [ {
"label" : "Upheld",
"value" : "Upheld"
}, {
"label" : "Not Upheld",
"value" : "Not Upheld"
}, {
"label" : "Partially Upheld",
"value" : "Partially Upheld"
}, {
"label" : "Withdrawn",
"value" : "Withdrawn"
} ],
"choices" : [
{
"label": "Upheld",
"value": "Upheld"
},
{
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
}
],
"visibilityConditions" : [ {
"function" : "hasAnyValue",
"conditionArgs" : {
Expand All @@ -933,19 +957,28 @@
{
"component" : "dropdown",
"props" : {
"choices" : [ {
"label" : "Upheld",
"value" : "Upheld"
}, {
"label" : "Not Upheld",
"value" : "Not Upheld"
}, {
"label" : "Partially Upheld",
"value" : "Partially Upheld"
}, {
"label" : "Withdrawn",
"value" : "Withdrawn"
} ],
"choices" : [
{
"label": "Upheld",
"value": "Upheld"
},
{
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
}
],
"visibilityConditions" : [ {
"function" : "hasAnyValue",
"conditionArgs" : {
Expand Down
40 changes: 30 additions & 10 deletions src/main/resources/config/details/stages/BF2.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,13 +796,17 @@
"value": "Upheld"
},
{
"label": "Not Upheld",
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially Upheld",
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
Expand All @@ -829,13 +833,17 @@
"value": "Upheld"
},
{
"label": "Not Upheld",
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially Upheld",
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
Expand All @@ -862,13 +870,17 @@
"value": "Upheld"
},
{
"label": "Not Upheld",
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially Upheld",
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
Expand All @@ -895,13 +907,17 @@
"value": "Upheld"
},
{
"label": "Not Upheld",
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially Upheld",
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
Expand All @@ -928,13 +944,17 @@
"value": "Upheld"
},
{
"label": "Not Upheld",
"label": "Not upheld",
"value": "Not Upheld"
},
{
"label": "Partially Upheld",
"label": "Partially upheld",
"value": "Partially Upheld"
},
{
"label": "Unable to reach a finding",
"value": "Unable to reach a finding"
},
{
"label": "Withdrawn",
"value": "Withdrawn"
Expand Down

0 comments on commit eb19a6f

Please sign in to comment.