From a856cedca08ef1aa71a062ed0a070d8b083e2390 Mon Sep 17 00:00:00 2001 From: Eric Tillberg Date: Mon, 15 Apr 2024 13:26:43 -0400 Subject: [PATCH] Fix signature in 20-10207 --- .../app/services/simple_forms_api/pdf_stamper.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb b/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb index 64fd8a7a867..4c38e4e3387 100644 --- a/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb +++ b/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb @@ -144,14 +144,12 @@ def self.stamp210966(stamped_template_path, form) end def self.stamp2010207(stamped_template_path, form) - desired_stamps = if form.data['preparer_type'] == 'veteran' - [[50, 690]] + desired_stamps = if %w[veteran non-veteran].include? form.data['preparer_type'] + [[50, 685]] elsif form.data['third_party_type'] == 'power-of-attorney' - [[50, 445]] - elsif form.data['preparer_type'] == 'third-party-veteran' || - form.data['preparer_type'] == 'third-party-non-veteran' || - form.data['preparer_type'] == 'non-veteran' - [[50, 570]] + [[50, 440]] + elsif %w[third-party-veteran third-party-non-veteran].include? form.data['preparer_type'] + [[50, 565]] end signature_text = form.data['statement_of_truth_signature'] page_configuration = [