Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix spouse tax filer check #469

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from
Open

Conversation

ATBull81
Copy link

@ATBull81 ATBull81 force-pushed the 187251202_fix_spouse_check branch from 45e8543 to 718e193 Compare April 15, 2024 20:29
@ATBull81 ATBull81 requested review from TreyE and saipraveen18 April 15, 2024 22:27
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] == @applicant_identifier
@tax_return[:tax_household][:spouse_tax_filer][:role_reference][:ref] == @applicant_identifier
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test case for this change please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants