CluPilotCloud/resources/views/pdf
nexxo f8c923b48a
tests / pest (push) Failing after 8m3s Details
tests / assets (push) Successful in 21s Details
tests / release (push) Has been skipped Details
Stop the invoice printing my own indentation
TCPDF takes leading whitespace in HTML literally, so every line of the address
and every line description came out indented by however far the Blade template
happened to be nested — and the one line that had no indentation, the VAT
number, sat flush against the margin looking like the mistake. It was the only
correct one.

Also puts the title and the invoice number in one block. As an h1 with a
paragraph beneath it, TCPDF gave the heading a margin of its own and the two
drifted a centimetre apart.

Found by rendering the page and looking at it, which is the only way any of
this is ever found.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 01:45:55 +02:00
..
invoice.blade.php Stop the invoice printing my own indentation 2026-07-29 01:45:55 +02:00