Skip to content

Commit

Permalink
update primary blind
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Proebstel committed Nov 7, 2024
1 parent 614b905 commit 3834b28
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions app/models/direct_file_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ def total_income_amount=(value)
def total_itemized_or_standard_deduction_amount=(value)
write_df_xml_value(__method__, value)
end
def primary_blind=(value)
write_df_xml_value(__method__, value)
end
def spouse_blind=(value)
write_df_xml_value(__method__, value)
end
# def primary_blind=(value)
# write_df_xml_value(__method__, value)
# end
# def spouse_blind=(value)
# write_df_xml_value(__method__, value)
# end
def fed_agi
df_xml_value(__method__)&.to_i || 0
end
Expand Down Expand Up @@ -529,6 +529,15 @@ def fed_w2_state=(value)
write_df_xml_value(__method__, value)
end

def primary_blind=(value)
create_or_destroy_df_xml_node(__method__, true, 'VirtualCurAcquiredDurTYInd')
write_df_xml_value(__method__, value)
end

def spouse_blind=(value)
create_or_destroy_df_xml_node(__method__, true, 'VirtualCurAcquiredDurTYInd')
write_df_xml_value(__method__, value)
end
def is_primary_blind?
primary_blind == "X"
end
Expand Down

0 comments on commit 3834b28

Please sign in to comment.