Print attached estimate

This commit is contained in:
2026-01-21 20:29:38 -05:00
parent 6cd7825430
commit c85e45b544

View File

@@ -250,7 +250,15 @@ module Patches
pdf.ln pdf.ln
end end
end end
pdf.output
# Check to see if there is an estimate attached, then combine them
if issue.estimate
pdf = CombinePDF.parse(pdf.output, allow_optional_content: true)
pdf << CombinePDF.parse(issue.estimate.pdf)
return pdf.to_pdf
end
return pdf.output
end end
end end