Skip to content

VEBT-5146/update pdf 10272#27791

Merged
jefftmarks merged 10 commits intomasterfrom
VEBT-5146/update-pdf-10272
Apr 20, 2026
Merged

VEBT-5146/update pdf 10272#27791
jefftmarks merged 10 commits intomasterfrom
VEBT-5146/update-pdf-10272

Conversation

@jefftmarks
Copy link
Copy Markdown
Contributor

Summary

  • *This work is behind a feature toggle (flipper): NO
  • (Summarize the changes that have been made to the platform) PDF for form 10272 was updated with new design. Updated accordingly in PDF filler
  • (Which team do you work for, does your team own the maintenance of this component?): VEBT, yes

Related issue(s)

@jefftmarks jefftmarks marked this pull request as ready for review April 16, 2026 14:59
@jefftmarks jefftmarks requested review from a team as code owners April 16, 2026 14:59
GcioGregg
GcioGregg previously approved these changes Apr 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PDF-fill implementation for VA Form 22-10272 to match a redesigned PDF, including updated field mappings and new formatting behavior.

Changes:

  • Refactors 22-10272 field mapping (KEY) and merge helpers to align with the redesigned PDF (address structure, benefit program checkboxes, VA file number formatting).
  • Updates/extends RSpec coverage for the 22-10272 merge behavior and adjusts fixtures used by education benefits claims.
  • Adds an overflow extras PDF fixture for 22-10272.

Reviewed changes

Copilot reviewed 4 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
lib/pdf_fill/forms/va2210272.rb Updates field mapping + merge/format helpers for the redesigned 22-10272 PDF (checkbox benefit program, address flattening, VA file number formatting).
spec/lib/pdf_fill/forms/va2210272_spec.rb Updates expectations for the new address mapping and adds VA file number formatting scenarios.
spec/fixtures/pdf_fill/22-10272/overflow_extras.pdf Adds expected overflow-extras PDF fixture for 22-10272.
spec/fixtures/education_benefits_claims/10272/minimal.json Updates fixture to use chapter-based vaBenefitProgram value.
lib/pdf_fill/forms/va220810.rb Small refactor to compute append_payee_number inside format_va_file_number.

Comment thread lib/pdf_fill/forms/va2210272.rb Outdated
Comment thread lib/pdf_fill/forms/va2210272.rb Outdated
Comment thread lib/pdf_fill/forms/va2210272.rb Outdated
Comment thread lib/pdf_fill/forms/va2210272.rb
Comment thread spec/lib/pdf_fill/forms/va2210272_spec.rb
@rmtolmach
Copy link
Copy Markdown
Contributor

@jefftmarks can you take a look at Copilot's comments?

@jefftmarks
Copy link
Copy Markdown
Contributor Author

@jefftmarks can you take a look at Copilot's comments?

Hi @rmtolmach all changes made -- thank you!

Comment thread lib/pdf_fill/forms/va2210272.rb Outdated
},
'chapter35' => {
key: 'chapter35',
question_text: 'Survivor\'s and Dependents\' Educational Assistance Program (DEA) (Chapter 35)'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this isn't quite right still.

This page: https://www.va.gov/family-and-caregiver-benefits/education-and-careers/dependents-education-assistance/rates/ says "Survivors’ and Dependents’ Educational Assistance (DEA)" but this line will show up as:

Survivor's and Dependents'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmtolmach oh geez I apologize. My brain was in fine form last week. Typo fixed and changes pushed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries! I get it! 🥴

@rmtolmach rmtolmach added the Changes Requested The reviewer has requested changes from the PR author label Apr 17, 2026
…-veterans-affairs/vets-api into VEBT-5146/update-pdf-10272
@jefftmarks jefftmarks merged commit 8cc5bbc into master Apr 20, 2026
42 of 44 checks passed
@jefftmarks jefftmarks deleted the VEBT-5146/update-pdf-10272 branch April 20, 2026 16:40
balexandr pushed a commit that referenced this pull request Apr 21, 2026
* tentative form updates

* update form 0810

* revert spec change

* typos

* spec coverage

* typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes Requested The reviewer has requested changes from the PR author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants