Skip to content

fix: pdf generation for on the reservation page#1036

Merged
JohnVillalovos merged 1 commit intodevelopfrom
jlvillal/pdf
Feb 17, 2026
Merged

fix: pdf generation for on the reservation page#1036
JohnVillalovos merged 1 commit intodevelopfrom
jlvillal/pdf

Conversation

@JohnVillalovos
Copy link
Collaborator

Previously the JSON template lost its opening {, and after the recent async change the PDF flow now waits on that malformed JSON, so .done() never runs and the button appears dead.

Also add some default values if null values are present

Previously the JSON template lost its opening {, and after the recent
async change the PDF flow now waits on that malformed JSON, so .done()
never runs and the button appears dead.

Also add some default values if `null` values are present
Copilot AI review requested due to automatic review settings February 17, 2026 16:48
Copy link
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

This PR fixes a critical PDF generation failure on the reservation page caused by a malformed JSON template. The template was missing its opening brace, which prevented the async PDF flow from completing, making the PDF generation button appear unresponsive.

Changes:

  • Restored the missing opening brace in the JSON template
  • Added default empty string values for null attributes to prevent JSON errors
  • Added null check for date attribute values before formatting

Copy link
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@JohnVillalovos
Copy link
Collaborator Author

Eric on discord tested and said it fixed the issue.

@JohnVillalovos JohnVillalovos merged commit 4d84247 into develop Feb 17, 2026
27 checks passed
@JohnVillalovos JohnVillalovos deleted the jlvillal/pdf branch February 17, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant