Skip to content

Commit

Permalink
[Automated] Merged master into target k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
va-vsp-bot authored Apr 11, 2024
2 parents 2e88859 + 682abf4 commit 7c87a96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/pdf_fill/forms/va21p530v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
}
},
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/pdf_fill/21P-530V2/merge_fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7c87a96

Please sign in to comment.