Two very differnt PDFs

Hi there,

we have created a custom Jinja-Template for some print formats. When we press ‘print’ the documents look exactly how we want them to look like.

When we create a PDF with erpnext, is seems to ignore all css styles.
e.G. we have a different font, the footer is not positioned at the bottom of the page, and so on.

Is there a workarround? Can we help to fix that?

Cheers
Jan

Sorry for not providing pictures. But the print format is 90% company and bank details.

Put all CSS in the HTML section. Somehow the CSS gets ignored. Faced similar issue on V12. Doing this fixed it.

1 Like