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

Settings > Invoice Design : Background/Stamp PDF #9317

Open
RalphGL opened this issue Feb 21, 2024 · 1 comment
Open

Settings > Invoice Design : Background/Stamp PDF #9317

RalphGL opened this issue Feb 21, 2024 · 1 comment

Comments

@RalphGL
Copy link

RalphGL commented Feb 21, 2024

I wish I could use my letter paper PDF (designed from a graphic designer) as background with all the company data (adress, Logo, VAT, E-Mail, phone...). So it looks just like a printed version on letter paper.

It would be very useful, if defining this pdf in Settings for Invoices, Quotes etc. would be possible.

@Photograaf16
Copy link

since the invoices are based on HTML PDF i set the background-image to my letter papar which i saved as jpg on my "cdn". its a little hacky but it worked for me. If you worked with html before its do-able:

invoice design -> design -> include -> "body { }" i placed these lines:

​background-image: url('https://cdn.EXAMPLEDOMAIN.nl/assets/invoicepaper/LETTERPAPERDESIGN.jpg');
​background-repeat: no-repeat;
​background-size: 100% 100%;
​background-position: center center;
​background-origin: content-box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants