So, i have different Headers and Footers for Invoice PDF Template based on countries. So instead of creating multiple Invoice templates i want to use a single standard template and header and footer image should change using the place holder. It's happening but i can't modify these image size. What i can do to achieve this?
Announcement
Collapse
No announcement yet.
I need single invoice template with multiple header and footer using place holder
Collapse
X
-
Then you will have to create the code in PDF template. There are checkboxes at the bottom to activate header and footer. Then two editor windows open for these two regions. There you put your template code, adjust the height according to your layout (needs a bit trial and error).
The code itself needs ifEqual condition to determine, under which condition which image will appear. The image size you can insert like in HTML with height and width.
Did you have a look here: https://docs.espocrm.com/user-guide/printing-to-pdf/
You should start to code this and on the way you may post, what you did, so we could check it.
Comment
-
Yes, you can - Printing to PDF.
In regard to the size of image, please check this Printing to PDF. There is a width and height param.
Comment
Comment