From 2fc2f94cd176346ebd48295da101f02fbfa7a835 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 4 Mar 2026 13:23:59 -0500 Subject: [PATCH] Fixed combining of estimate pdf --- lib/redmine_qbo/patches/pdf_patch.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/redmine_qbo/patches/pdf_patch.rb b/lib/redmine_qbo/patches/pdf_patch.rb index f45d998..8566e93 100644 --- a/lib/redmine_qbo/patches/pdf_patch.rb +++ b/lib/redmine_qbo/patches/pdf_patch.rb @@ -260,8 +260,9 @@ module RedmineQbo # Check to see if there is an estimate attached, then combine them if issue.estimate + e_pdf, ref = EstimatePdfService.new(qbo: QboConnectionService.current!).fetch_pdf(doc_ids: [issue.estimate.id]) pdf = CombinePDF.parse(pdf.output, allow_optional_content: true) - pdf << CombinePDF.parse(issue.estimate.pdf) + pdf << CombinePDF.parse(e_pdf) return pdf.to_pdf end