mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
Updated pdf generator
This commit is contained in:
parent
74e7a0a2fe
commit
b9f6492a9f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Invoice
|
|||
end
|
||||
|
||||
def as_pdf
|
||||
generator = PDFKit.new(invoice_html)
|
||||
generator = PDFKit.new(invoice_html, { enable_local_file_access: true })
|
||||
generator.to_pdf
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue