Skip to content

Commit

Permalink
Merge pull request #7539 from ministryofjustice/chore-update-disregar…
Browse files Browse the repository at this point in the history
…ds-content-for-client-and-partner

Chore: Update disregards content for client and partner
  • Loading branch information
agoldstone93 authored Dec 17, 2024
2 parents 1cd1337 + 5cdca73 commit 51c295a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>

<%= form.govuk_radio_divider %>
<%= form.govuk_check_box :none_selected, true, "", multiple: false, label: { text: t(".none_of_these") } %>
<%= form.govuk_check_box :none_selected, true, "", multiple: false, label: { text: t(".none_of_these.#{individual}") } %>
<% end %>

<%= next_action_buttons(show_draft: true, form:) %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<%= form.govuk_check_box :mandatory_capital_disregards,
:none_of_these,
exclusive: true,
label: { text: t(".none_of_these") } %>
label: { text: t(".none_of_these.#{individual}") } %>

<% end %>

Expand Down
13 changes: 8 additions & 5 deletions config/locales/en/providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1303,8 +1303,9 @@ en:
client: Select if your client has received any of these payments
partner: Select if your client or their partner has received any of these payments
hint: These are one-off payments. Do not include any regular payments.

none_of_these: My client has not received any of these payments
none_of_these:
client: My client has not received any of these payments
partner: My client or their partner has not received any of these payments
mandatory:
backdated_benefits: Backdated benefits and child maintenance payments received in the last 24 months
backdated_community_care: Backdated Community Care payments
Expand All @@ -1326,15 +1327,17 @@ en:
show:
h1-heading: Disregarded payments
paragraph:
client: These payments are not counted, but we still need to know about them to understand your clients finances. They are called mandatory disregards.
partner: These payments are not counted, but we still need to know about them to understand your client and their partners finances. They are called mandatory disregards.
client: These payments are not counted, but we still need to know about them to understand your client's finances. They are called mandatory disregards.
partner: These payments are not counted, but we still need to know about them to understand your client and their partner's finances. They are called mandatory disregards.
h2-heading:
client: Select if your client has received any of these payments
partner: Select if your client or their partner has received any of these payments
hint-text_html: |
These are one-off payments. Do not include any regular payments.<br><br>
Select all that apply.
none_of_these: My client has not received any of these payments
none_of_these:
client: My client has not received any of these payments
partner: My client or their partner has not received any of these payments
add_details:
show:
page_title: Add details for '%{name}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ Feature: partner_means_assessment full journey
And I click "Save and continue"
Then I should be on a page showing "Disregarded payments"

When I check "My client has not received any of these payments"
When I check "My client or their partner has not received any of these payments"
And I click 'Save and continue'
Then I should be on a page showing "Payments to be reviewed"

When I check "My client has not received any of these payments"
When I check "My client or their partner has not received any of these payments"
And I click 'Save and continue'
Then I should be on a page with title "Check your answers"

Expand Down Expand Up @@ -114,10 +114,10 @@ Feature: partner_means_assessment full journey
And I click "Save and continue"
Then I should be on a page showing "Disregarded payments"

When I check "My client has not received any of these payments"
When I check "My client or their partner has not received any of these payments"
And I click 'Save and continue'
Then I should be on a page showing "Payments to be reviewed"

When I check "My client has not received any of these payments"
When I check "My client or their partner has not received any of these payments"
And I click 'Save and continue'
Then I should be on a page with title "Check your answers"

0 comments on commit 51c295a

Please sign in to comment.