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

Invoice PDF formatting is messed up #25

Open
AnomalRoil opened this issue Mar 4, 2019 · 0 comments
Open

Invoice PDF formatting is messed up #25

AnomalRoil opened this issue Mar 4, 2019 · 0 comments

Comments

@AnomalRoil
Copy link
Contributor

Firstly, the address of the invoices is taking too much space: it seems to be hardcoded as being 140% of the fontsize.

<div style="margin-left: 12cm; font-size: 140%;">

It would be better to reduce it to something more palatable, currently the address, date and place are taking a third of the page if you have 4 lines of address, and are really bigger than the text in the invoice.

Also, there is no need for two new lines here:


One would be plenty enough.

Also if you have a signature, it almost always causes the PDF to have 2 pages, because of the unnecessary number of <br /> in the div:

<br /><br />
{{invoice.sign|linebreaksbr}}
<br />
<br />
<br />
<br />

And having the greetings on page 1 and the signature on page 2 looks really strange.

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

1 participant