Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create invoice button throws error that it cannot create a PDF #842

Open
Ellen-Wittingen opened this issue Jan 14, 2023 · 1 comment
Open

Comments

@Ellen-Wittingen
Copy link
Contributor

How to reproduce

  1. Go to http://localhost:5000/invoices
  2. Click on any Factuur versturen button in invoice list

Expected behaviour

A pdf file of the invoice should be created and sent to the emailadres

Current behaviour

Explain what currently happens.

Error message from (I think) the wickedpdf gem: Error: PDF could not be generated!

image

@wilco375
Copy link
Contributor

You need to have wkhtmltopdf installed on your PC in order for this to function. After this, it should work. Maybe we should add this to the readme.

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

No branches or pull requests

2 participants