Skip to content

Commit

Permalink
PC-1364: Add further context on override
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn-Clarke committed Nov 13, 2024
1 parent 149bd3c commit 7c34307
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion help_to_heat/frontdoor/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ def create_referral(self, session_id):
given_answers[property_type_field] = property_type_field_park_home
given_answers[property_subtype_field] = property_type_field_park_home

# override loft access if no loft
# Users are given the option to select "no insulation" to improve question usability
# This and "below threshold" are functionally identical from the supplier point of view.
# They will be combined before the suppliers see it to improve supplier usability
loft = given_answers.get(loft_field)
if loft == loft_field_no:
given_answers[loft_access_field] = loft_access_field_no_loft
Expand Down

0 comments on commit 7c34307

Please sign in to comment.