Skip to content

Invoice PDF formatting is messed up #25

@AnomalRoil

Description

@AnomalRoil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions