Skip to content

Commit

Permalink
remove deceased claimant mappings as per stakeholders (#13017)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored Jun 15, 2023
1 parent 57d54c5 commit c260604
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion modules/forms_api/app/form_mappings/vba_21p_0847.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"F[0].Page_2[0].CellPhone[0]": "<%= data['preparer_mobile_phone'] %>",
"F[0].Page_2[0].EmailAddress[0]": "<%= data['preparer_email'] %>",
"F[0].Page_2[0].FaxNumber[0]": "<%= %>",
"F[0].Page_2[0].Remarks[0]": "<%= data.dig('deceased_claimant_name', 'first') ? 'Deceased claimant info: ' : '' %><%= data.dig('deceased_claimant_name', 'first') %> <%= data.dig('deceased_claimant_name', 'middle') %> <%= data.dig('deceased_claimant_name', 'last') %> <%= data['deceased_claimant_date_of_birth'] ? 'dob: ' : '' %><%= data['deceased_claimant_date_of_birth'] %> <%= data['deceased_claimant_date_of_death'] ? 'dod:' : '' %> <%= data['deceased_claimant_date_of_death'] %> <%= data['deceased_claimant_ssn'] ? 'ssn: ' : '' %><%= data['deceased_claimant_ssn'] %> <%= data['deceased_claimant_va_file_number'] ? 'va file number: ' : '' %><%= data['deceased_claimant_va_file_number'] %> <%= data['additional_information'] ? 'Remarks: ' : '' %><%= data['additional_information'] %>",
"F[0].Page_2[0].Remarks[0]": "<%= data['additional_information'] %>",
"F[0].Page_2[0].SignatureField1[0]": "<%= data.dig('preparer_name', 'first') %> <%= data.dig('preparer_name', 'middle') %> <%= data.dig('preparer_name', 'last') %>",
"F[0].Page_2[0].DateSigned[0]": "<%= Time.current.in_time_zone('America/Chicago').strftime('%m/%d/%Y') %>",
"F[0]": "<%= data.dig('F') %>"
Expand Down
9 changes: 0 additions & 9 deletions modules/forms_api/spec/fixtures/form_json/vba_21p_0847.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
"veteran_date_of_death": "2018-01-22",
"veteran_ssn": "999442222",
"veteran_va_file_number": "111776666",
"deceased_claimant_name": {
"first": "Philip",
"middle": "K",
"last": "Deceased"
},
"deceased_claimant_date_of_birth": "1928-12-16",
"deceased_claimant_date_of_death": "1982-03-12",
"deceased_claimant_ssn": "666117777",
"deceased_claimant_va_file_number": "777992222",
"relationship_to_deceased_claimant": "other",
"other_relationship_to_deceased_claimant": "friend",
"additional_information": "Lots of extra stuff here"
Expand Down

0 comments on commit c260604

Please sign in to comment.