diff --git a/modules/ivc_champva/app/form_mappings/vha_10_7959f_1.json.erb b/modules/ivc_champva/app/form_mappings/vha_10_7959f_1.json.erb index 3b5816e023d..687da949fb7 100644 --- a/modules/ivc_champva/app/form_mappings/vha_10_7959f_1.json.erb +++ b/modules/ivc_champva/app/form_mappings/vha_10_7959f_1.json.erb @@ -1,5 +1,5 @@ { - "form1[0].#subform[0].VetLastName[0]": "<%= form.data.dig('veteran', 'full_name', 'last') + ' ' + form.data.dig('veteran', 'full_name', 'suffix') %>", + "form1[0].#subform[0].VetLastName[0]": "<%= [form.data.dig('veteran', 'full_name', 'last'), form.data.dig('veteran', 'full_name', 'suffix')].join(' ') %>", "form1[0].#subform[0].VetFirstName[0]": "<%= form.data.dig('veteran', 'full_name', 'first') %>", "form1[0].#subform[0].MiddleInitials[0]": "<%= form.data.dig('veteran', 'full_name', 'middle')&.first %>", "form1[0].#subform[0].SocialSecurityNumber[0]": "<%= form.data.dig('veteran', 'ssn') %>",