|
|
|
@ -863,9 +863,11 @@ private |
|
|
|
attributes["builtype"] = field_21 |
|
|
|
attributes["builtype"] = field_21 |
|
|
|
attributes["la_known"] = field_29.present? ? 1 : 0 |
|
|
|
attributes["la_known"] = field_29.present? ? 1 : 0 |
|
|
|
attributes["la"] = field_29 |
|
|
|
attributes["la"] = field_29 |
|
|
|
|
|
|
|
attributes["la_as_entered"] = field_29 |
|
|
|
attributes["is_la_inferred"] = false |
|
|
|
attributes["is_la_inferred"] = false |
|
|
|
attributes["pcodenk"] = 0 if postcode_full.present? |
|
|
|
attributes["pcodenk"] = 0 if postcode_full.present? |
|
|
|
attributes["postcode_full"] = postcode_full |
|
|
|
attributes["postcode_full"] = postcode_full |
|
|
|
|
|
|
|
attributes["postcode_full_as_entered"] = postcode_full |
|
|
|
attributes["wchair"] = field_30 |
|
|
|
attributes["wchair"] = field_30 |
|
|
|
|
|
|
|
|
|
|
|
attributes["type"] = sale_type |
|
|
|
attributes["type"] = sale_type |
|
|
|
@ -931,9 +933,13 @@ private |
|
|
|
attributes["uprn_confirmed"] = 1 if field_22.present? |
|
|
|
attributes["uprn_confirmed"] = 1 if field_22.present? |
|
|
|
attributes["skip_update_uprn_confirmed"] = true |
|
|
|
attributes["skip_update_uprn_confirmed"] = true |
|
|
|
attributes["address_line1"] = field_23 |
|
|
|
attributes["address_line1"] = field_23 |
|
|
|
|
|
|
|
attributes["address_line1_as_entered"] = field_23 |
|
|
|
attributes["address_line2"] = field_24 |
|
|
|
attributes["address_line2"] = field_24 |
|
|
|
|
|
|
|
attributes["address_line2_as_entered"] = field_24 |
|
|
|
attributes["town_or_city"] = field_25 |
|
|
|
attributes["town_or_city"] = field_25 |
|
|
|
|
|
|
|
attributes["town_or_city_as_entered"] = field_25 |
|
|
|
attributes["county"] = field_26 |
|
|
|
attributes["county"] = field_26 |
|
|
|
|
|
|
|
attributes["county_as_entered"] = field_26 |
|
|
|
attributes["address_line1_input"] = address_line1_input |
|
|
|
attributes["address_line1_input"] = address_line1_input |
|
|
|
attributes["postcode_full_input"] = postcode_full |
|
|
|
attributes["postcode_full_input"] = postcode_full |
|
|
|
attributes["select_best_address_match"] = true if field_22.blank? |
|
|
|
attributes["select_best_address_match"] = true if field_22.blank? |
|
|
|
|