Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: remove remaining home address feature flag code #7141

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/controllers/admin/settings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def form_params
:enable_ccms_submission,
:linked_applications,
:collect_hmrc_data,
:home_address,
:special_childrens_act)
end

Expand Down
2 changes: 0 additions & 2 deletions app/forms/settings/setting_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class SettingForm < BaseForm
:enable_ccms_submission,
:linked_applications,
:collect_hmrc_data,
:home_address,
:special_childrens_act

validates :mock_true_layer_data,
Expand All @@ -17,7 +16,6 @@ class SettingForm < BaseForm
:enable_ccms_submission,
:linked_applications,
:collect_hmrc_data,
:home_address,
:special_childrens_act,
presence: true
end
Expand Down
10 changes: 0 additions & 10 deletions app/views/admin/settings/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@
legend: { text: t(".labels.collect_hmrc_data") },
) %>

<%= form.govuk_collection_radio_buttons(
:home_address,
yes_no_options,
:value,
:label,
inline: true,
hint: { text: t(".hints.home_address") },
legend: { text: t(".labels.home_address") },
) %>

<%= form.govuk_collection_radio_buttons(
:special_childrens_act,
yes_no_options,
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en/admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ en:
enable_evidence_upload: Enable the new evidence upload feature
linked_applications: Enable linking and copying cases
collect_hmrc_data: Collect HMRC data
home_address: Enable home and 'care of' address
special_childrens_act: Enable Special Childrens Act
hints:
mock_true_layer_data: Select Yes and TrueLayer data will be replaced by mock data from %{bank_transaction_filename}
Expand All @@ -86,7 +85,6 @@ en:
enable_evidence_upload: Select Yes to enable the new evidence upload feature for solicitors
linked_applications: Select Yes to enable the linking and copying cases feature for solicitors
collect_hmrc_data: Select Yes to enable calls to HMRC for employment data
home_address: Select Yes to enable the home address and care of feature for solicitors
special_childrens_act: Select Yes to enable the special childrens act matter type
update:
notice: Settings have been updated
Expand Down