Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
antoni-devlin committed Apr 25, 2024
1 parent 3eac174 commit 54e1fce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<% end %>
<% text_for :title do %>
Do you think your business will take more than £85,000 in a 12 month period?
Do you think your business will take more than £90,000 in a 12 month period?
<% end %>
<% options(
Expand Down
4 changes: 2 additions & 2 deletions config/smart_answers/next_steps_for_your_business.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@
group: "Good to know"
- id: r16
title: "Register for VAT"
description: "You need to register your business for VAT if your business takes more than £85,000 (the 'turnover'), if you have not already."
description: "You need to register your business for VAT if your business takes more than £90,000 (the 'turnover'), if you have not already."
url: "/vat-registration"
topic: Tax
group: "Things you need to do next"
- id: r17
title: "Check if you'll need to register for VAT"
description: "If your business takes more than £85,000 (the 'turnover'), you'll need to register for VAT."
description: "If your business takes more than £90,000 (the 'turnover'), you'll need to register for VAT."
url: "/vat-registration/when-to-register"
topic: Tax
group: "Things you need to do next"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module SmartAnswer::Calculators
class NextStepsForYourBusinessCalculator
RESULT_DATA = YAML.load_file(Rails.root.join("config/smart_answers/next_steps_for_your_business.yml")).freeze

attr_accessor :annual_turnover_over_85k,
attr_accessor :annual_turnover_over_90k,
:employer,
:activities,
:needs_financial_support,
Expand Down Expand Up @@ -44,8 +44,8 @@ def filtered_results
r13: ->(_) { true },
r14: ->(_) { true },
r15: ->(_) { true },
r16: ->(calculator) { calculator.annual_turnover_over_85k == "yes" },
r17: ->(calculator) { calculator.annual_turnover_over_85k == "not_sure" },
r16: ->(calculator) { calculator.annual_turnover_over_90k == "yes" },
r17: ->(calculator) { calculator.annual_turnover_over_90k == "not_sure" },
r18: ->(calculator) { calculator.employer != "no" },
r19: ->(calculator) { calculator.needs_financial_support == "yes" },
r20: ->(calculator) { calculator.needs_financial_support == "yes" },
Expand Down

0 comments on commit 54e1fce

Please sign in to comment.