Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ATBull81 committed Apr 15, 2024
1 parent 2bbe91e commit 45e8543
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/aca_entities/atp/functions/build_application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,11 @@ def referral_status
def tax_returns_hash
applicant_is_primary_tax_filer = @tax_return.nil? ? nil : @tax_return[:tax_household][:primary_tax_filer][:role_reference][:ref] == @applicant_identifier
tax_dependents = @tax_return.nil? ? nil : @tax_return[:tax_household][:tax_dependents].collect { |a| a[:role_reference][:ref] }
#check on this section
is_tax_filer = if !@tax_return.nil? && @tax_return[:tax_household]
if applicant_is_primary_tax_filer
true
else
@tax_return[:tax_household][:spouse_tax_filer][:role_reference][:ref] == @applicant_identifier # check on this line, test role_reference/ref
@tax_return[:tax_household][:spouse_tax_filer][:role_reference][:ref] == @applicant_identifier
end
else
false
Expand Down

0 comments on commit 45e8543

Please sign in to comment.