Version 5.10.54
Environment: Other - Rocky 9 VM, nginx, npm, MySQL
Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja?
-
Yes actually! This issue replicates on both demo environments.
-
- Have you searched existing issues?
-
Yes, could not find any others mentioning this.
-
- Have you inspected the logs in storage/logs/laravel.log for any errors?
-
Yes, no errors are present there.
-
Describe the bug
Using the Business design for all document types, there is bizarre line spacing for my company contact details, my company address, and the payee’s details.
Here is a screenshot of my Quote with great line spacing:
Now here is the Invoice, again with great line spacing:
And finally, where I believe there to be an issue, here is the Purchase Order with ugly line spacing:
- Notice 3 unexpected line spaces between company name and company website
- There is also 2 unexpected line spaces between company address line-1 and company address city/state/zip.
- The payee information is very far indented away to the right of
PO issued to:
text, instead of directly below as seen in the Quote and Invoice templates. This creates a large block of oddly useless space under here.
Steps To Reproduce
It’s important to note I have not modified this application or changed/added/removed any code of any kind from anywhere. I started using the application recently, I added my logo, all my company details, some clients and vendors, and removed a few built-in variable fields here and there. In the case of the PO, I only removed the ‘Number’ field from the default set in Settings > Invoice Design > Purchase Order fields.
Expected Behavior
I’d expect the header for the Purchase Order and the static information held there to certainly look identical to headers in the Quote & Invoice, without the unnecessary line spacing I show here.
I think that should detail this enough. This is obviously some kinda bug, right? I believe from what I’ve seen around the InvoiceNinja ecosystem that Purchase Orders are one of newer big features. I really like the Business design and would prefer to keep it to retain a consistent brand across my customer & vendor-facing documents.
Thanks, let me know!