Skip to content

Commit

Permalink
AP-5349: Update flow step routing
Browse files Browse the repository at this point in the history
  • Loading branch information
colinbruce committed Nov 8, 2024
1 parent 66c9fb2 commit a500764
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module ProviderCapitalDisregards
forward: lambda do |application, disregard|
if disregard
:capital_disregards_add_details
elsif application.mandatory_capital_disregards && !application.discretionary_capital_disregards
elsif application.mandatory_capital_disregards && application.discretionary_capital_disregards.empty?
:capital_disregards_discretionary
else
application.passported? ? :check_passported_answers : :check_capital_answers
Expand Down

0 comments on commit a500764

Please sign in to comment.