Skip to content

Commit

Permalink
add to PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-heath committed Sep 17, 2024
1 parent dfc0424 commit d3c76b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/lib/pdf_filler/nc_d400_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ def hash_for_pdf
y_d400wf_li20a_pg2_good: @xml_document.at('IncTaxWith')&.text,
y_d400wf_li20b_pg2_good: @xml_document.at('IncTaxWithSpouse')&.text,
y_d400wf_li23_pg2_good: @xml_document.at('NCTaxPaid')&.text,
y_d400wf_li25_pg2_good: @xml_document.at('RemainingPayment')&.text
y_d400wf_li25_pg2_good: @xml_document.at('RemainingPayment')&.text,
y_d400wf_dayphone: @xml_document.at('ReturnHeaderState Filer Primary USPhone')&.text
}
end

Expand Down
1 change: 1 addition & 0 deletions spec/lib/pdf_filler/nc_d400_pdf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
expect(pdf_fields['y_d400wf_li20a_pg2_good']).to eq '15'
expect(pdf_fields['y_d400wf_li23_pg2_good']).to eq '15'
expect(pdf_fields['y_d400wf_li25_pg2_good']).to eq '15'
expect(pdf_fields['y_d400wf_dayphone']).to eq '9845559876'
end
end

Expand Down

0 comments on commit d3c76b0

Please sign in to comment.