|
|
|
@ -893,10 +893,10 @@ private |
|
|
|
owning_organisation_id: [:field_1], |
|
|
|
owning_organisation_id: [:field_1], |
|
|
|
managing_organisation_id: [:field_2], |
|
|
|
managing_organisation_id: [:field_2], |
|
|
|
renewal: [:field_6], |
|
|
|
renewal: [:field_6], |
|
|
|
scheme_id: [scheme_field], |
|
|
|
scheme_id: (scheme_field.present? ? [scheme_field] : nil), |
|
|
|
scheme: [scheme_field], |
|
|
|
scheme: (scheme_field.present? ? [scheme_field] : nil), |
|
|
|
location_id: [location_field], |
|
|
|
location_id: (location_field.present? ? [location_field] : nil), |
|
|
|
location: [location_field], |
|
|
|
location: (location_field.present? ? [location_field] : nil), |
|
|
|
created_by: [:field_3], |
|
|
|
created_by: [:field_3], |
|
|
|
needstype: [:field_4], |
|
|
|
needstype: [:field_4], |
|
|
|
rent_type: %i[field_5 field_10 field_11], |
|
|
|
rent_type: %i[field_5 field_10 field_11], |
|
|
|
@ -1040,7 +1040,7 @@ private |
|
|
|
address_line2: [:field_20], |
|
|
|
address_line2: [:field_20], |
|
|
|
town_or_city: [:field_21], |
|
|
|
town_or_city: [:field_21], |
|
|
|
county: [:field_22], |
|
|
|
county: [:field_22], |
|
|
|
} |
|
|
|
}.compact |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def attribute_set |
|
|
|
def attribute_set |
|
|
|
|