mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-02-13 17:13:59 -05:00
Print attached estimate
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user