Skip to content

Commit

Permalink
Refactor check_net_worth method
Browse files Browse the repository at this point in the history
  • Loading branch information
micah-frazier-oddball-io committed Sep 5, 2024
1 parent 150e712 commit 023ce4f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/pdf_fill/forms/va686c674.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1952,12 +1952,8 @@ def add_household_income
end

def check_net_worth(net_worth)
return nil if net_worth.empty?
if net_worth&.to_i > 130_773
true
else
false
end
return if net_worth.empty?
net_worth&.to_i > 130_773
end

def add_dependent_income(dependent_name, dependent_income)
Expand Down

0 comments on commit 023ce4f

Please sign in to comment.