Skip to content

Commit

Permalink
Change Overall outcome result to return lowest G value
Browse files Browse the repository at this point in the history
  • Loading branch information
jkisioh committed Jul 16, 2024
1 parent 7b93f02 commit 060cf88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/source/forms/1699353915355.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -7369,7 +7369,7 @@
"G2 SAFE AND SUSTAINABLE HOUSEHOLD": "#93D371",
"G3 CLEAN AND HEALTHY HOUSEHOLD": "#4088F4"
},
"fnString": "((!#overall_toilet_outcome# || #overall_toilet_outcome#.includes(\"G1\")) && (!#overall_hygiene_outcome# || #overall_hygiene_outcome#.includes(\"G1\")) && (!#overall_other_outcome# || #overall_other_outcome#.includes(\"G1\"))) ? \"G1 ODF HOUSEHOLD\" : ((!#overall_toilet_outcome# || #overall_toilet_outcome#.includes(\"G2\")) && (!#overall_hygiene_outcome# || #overall_hygiene_outcome#.includes(\"G2\")) && (!#overall_other_outcome# || #overall_other_outcome#.includes(\"G2\"))) ? \"G2 SAFE AND SUSTAINABLE HOUSEHOLD\" : ((!#overall_toilet_outcome# || #overall_toilet_outcome#.includes(\"G3\")) && (!#overall_hygiene_outcome# || #overall_hygiene_outcome#.includes(\"G3\")) && (!#overall_other_outcome# || #overall_other_outcome#.includes(\"G3\"))) ? \"G3 CLEAN AND HEALTHY HOUSEHOLD\": : \"G0 HOUSEHOLD WITH UNSAFELY MANAGED SERVICES\"",
"fnString": "((!#overall_toilet_outcome# || #overall_toilet_outcome#.includes(\"G1\")) || (!#overall_hygiene_outcome# || #overall_hygiene_outcome#.includes(\"G1\")) || (!#overall_other_outcome# || #overall_other_outcome#.includes(\"G1\"))) ? \"G1 ODF HOUSEHOLD\" : ((!#overall_toilet_outcome# || #overall_toilet_outcome#.includes(\"G2\")) || (!#overall_hygiene_outcome# || #overall_hygiene_outcome#.includes(\"G2\")) && (!#overall_other_outcome# || #overall_other_outcome#.includes(\"G2\"))) ? \"G2 SAFE AND SUSTAINABLE HOUSEHOLD\" : ((!#overall_toilet_outcome# || #overall_toilet_outcome#.includes(\"G3\")) || (!#overall_hygiene_outcome# || #overall_hygiene_outcome#.includes(\"G3\")) || (!#overall_other_outcome# || #overall_other_outcome#.includes(\"G3\"))) ? \"G3 CLEAN AND HEALTHY HOUSEHOLD\": : \"G0 HOUSEHOLD WITH UNSAFELY MANAGED SERVICES\"",
"multiline": false
}
}
Expand Down

0 comments on commit 060cf88

Please sign in to comment.