diff --git a/lib/pdf_fill/forms/va21p530v2.rb b/lib/pdf_fill/forms/va21p530v2.rb index d65a4fe91dd..6350a4228cf 100644 --- a/lib/pdf_fill/forms/va21p530v2.rb +++ b/lib/pdf_fill/forms/va21p530v2.rb @@ -270,10 +270,10 @@ class Va21p530v2 < FormBase 'executor' => { key: 'form1[0].#subform[82].CheckboxExecutor[0]' }, - 'funeralHome' => { + 'funeralDirector' => { key: 'form1[0].#subform[82].CheckboxFuneralHome[0]' }, - 'other' => { + 'otherFamily' => { key: 'form1[0].#subform[82].CheckboxOther[0]' } }, @@ -702,8 +702,8 @@ def merge_fields(_options = {}) 'child' => select_checkbox(relationship_to_veteran == 'child'), 'executor' => select_checkbox(relationship_to_veteran == 'executor'), 'parent' => select_checkbox(relationship_to_veteran == 'parent'), - 'funeralHome' => select_checkbox(relationship_to_veteran == 'funeralHome'), - 'other' => select_checkbox(relationship_to_veteran == 'other') + 'funeralDirector' => select_checkbox(relationship_to_veteran == 'funeralDirector'), + 'otherFamily' => select_checkbox(relationship_to_veteran == 'otherFamily') } # special case for transportation being the only option selected. diff --git a/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json b/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json index 6d10245e9ea..14bc65e70fe 100644 --- a/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json +++ b/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json @@ -68,7 +68,7 @@ "claimantSocialSecurityNumber":{"first":"987", "second":"65", "third":"4321"}, "claimantDateOfBirth":{"month":"01", "day":"01", "year":"1960"}, "formV2":true, - "relationshipToVeteran":{"spouse":"On", "child":"Off", "executor":"Off", "parent":"Off", "funeralHome":"Off", "other":"Off"}, + "relationshipToVeteran":{"spouse":"On", "child":"Off", "executor":"Off", "parent":"Off", "funeralDirector":"Off", "otherFamily":"Off"}, "privacyAgreementAccepted":true, "signature":"test spouse", "signatureDate":"2024-03-21",