Skip to content

Commit 153593c

Browse files
committed
Update Winter Fuel payment eligibility
- Winter Fuel outcome no longer comes up for Northern Ireland, with an advisory message on top. - Updating Winter Fuel outcome in line with changes, no longer requiring existing benefits, and warning about HMRC clawback if income is over £35k. - Updating requirements for Winter Fuel only to be of Pension Age. (No existing benefit claiming required.)
1 parent a372bdc commit 153593c

File tree

6 files changed

+17
-32
lines changed

6 files changed

+17
-32
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p class="govuk-body">You might be eligible for a <a class="govuk-link" href="/guidance/cost-of-living-payment">Winter Fuel Payment from the Northern Ireland Executive</a>.</p>

app/flows/check_benefits_financial_support_flow/outcomes/results.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<% end %>
77
<p class="govuk-body">This tool does not include all the ways you can get help with living costs. It will be updated with more types of support.</p>
88

9+
<% if calculator.where_do_you_live == "northern-ireland" %>
10+
<%= render partial: 'northern_ireland_winter_fuel' %>
11+
<% end %>
12+
913
<div class="govuk-!-margin-top-8 govuk-!-margin-bottom-9">
1014
<% calculator.benefits_for_outcome.each do |benefit| %>
1115
<%= render "components/result_card", {

config/smart_answers/check_benefits_financial_support_data.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,13 @@
227227
- england
228228
- name: winter_fuel_payment
229229
title: Winter Fuel Payment
230-
description: <p>You'll automatically get a Winter Fuel Payment if you get Pension Credit or certain benefits. You should get a letter in October or November telling you how much you'll get, if you’re eligible.</p>
230+
description: <p>You'll automatically get a Winter Fuel Payment if you’ve reached State Pension age. You should get a letter in October or November telling you how much youll get, if you’re eligible.</p><p class="govuk-body"><b><a class="govuk-link" href="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/winter-fuel-payment/report-change-circumstances">If you do not get a letter, check if you're eligible and whether you need to claim a Winter Fuel Payment</a></b><p>If your taxable income is over £35,000, HMRC will take back your Winter Fuel Payment through the tax system.</p><p class="govuk-body">You can <a class="govuk-link" href="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/winter-fuel-payment/report-change-circumstances">opt out of getting the Winter Fuel Payment</a> if you do not want to receive it.</p>
231231
condition: eligible_for_winter_fuel_payment?
232-
url: /winter-fuel-payment/how-to-claim
233-
url_text: If you do not get a letter, check if you're eligible and whether you need to claim a Winter Fuel Payment
232+
url: nil
233+
url_text: ""
234234
countries:
235235
- england
236236
- wales
237-
- scotland
238-
- northern-ireland
239237
- name: carers_allowance
240238
title: Carer’s Allowance
241239
description: <p>You may be able to get Carer’s Allowance if you care for someone at least 35 hours a week. The person you care for must also be getting certain disability benefits.</p>

lib/smart_answer/calculators/check_benefits_financial_support_calculator.rb

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,10 @@ def eligible_for_child_disability_support?
230230
end
231231

232232
def eligible_for_winter_fuel_payment?
233-
return false if @where_do_you_live == "scotland"
234-
return false unless @over_state_pension_age == "yes"
235-
return false if @on_benefits == "no"
236-
return true if @on_benefits == "dont_know"
233+
return false if
234+
@where_do_you_live == "scotland" || @where_do_you_live == "northern-ireland"
237235

238-
qualifying_benefits = %w[universal_credit jobseekers_allowance employment_and_support_allowance pension_credit income_support]
239-
qualifying_benefits.each do |benefit|
240-
return true if @current_benefits.include?(benefit)
241-
end
242-
false
236+
true if @over_state_pension_age == "yes"
243237
end
244238

245239
def eligible_for_carers_allowance?

test/flows/check_benefits_financial_support_flow_test.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,12 @@ class CheckBenefitsFinancialSupportFlowTest < ActiveSupport::TestCase
637637
end
638638

639639
should "render Winter Fuel Payment" do
640-
%w[england wales northern-ireland].each do |country|
640+
%w[england wales].each do |country|
641641
add_responses where_do_you_live: country, over_state_pension_age: "yes"
642642

643643
assert_rendered_outcome text: "Winter Fuel Payment"
644-
assert_rendered_outcome text: "You'll automatically get a Winter Fuel Payment if you get Pension Credit or certain benefits."
644+
assert_rendered_outcome text: "You'll automatically get a Winter Fuel Payment if you’ve reached State Pension age."
645+
assert_rendered_outcome text: "If your taxable income is over £35,000, HMRC will take back your Winter Fuel Payment through the tax system."
645646
end
646647
end
647648

test/unit/calculators/checks_benefits_financial_support_calculator_test.rb

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -911,24 +911,11 @@ class CheckBenefitsFinancialSupportCalculatorTest < ActiveSupport::TestCase
911911
assert_not @calculator.eligible_for_winter_fuel_payment?
912912
end
913913

914-
should "be false if does not receive any benefits" do
915-
@calculator.where_do_you_live = "england"
916-
@calculator.over_state_pension_age = "yes"
917-
@calculator.on_benefits = "no"
918-
919-
assert_not @calculator.eligible_for_winter_fuel_payment?
920-
end
921-
922-
should "be false if receives non-qualifying benefits (and no qualifying benefits)" do
923-
@calculator.where_do_you_live = "england"
914+
should "be false if lives in Northern Ireland" do
915+
@calculator.where_do_you_live = "northern-ireland"
924916
@calculator.over_state_pension_age = "yes"
925917
@calculator.on_benefits = "yes"
926-
non_qualifying_benefits = %w[housing_benefit]
927-
non_qualifying_benefits.each do |benefit|
928-
@calculator.current_benefits = benefit
929-
930-
assert_not @calculator.eligible_for_winter_fuel_payment?
931-
end
918+
@calculator.current_benefits = "universal_credit"
932919

933920
assert_not @calculator.eligible_for_winter_fuel_payment?
934921
end

0 commit comments

Comments
 (0)