Hello, I just went to v1.6.3 , thanks for your continued development.
When possible I’d like to put everything on one page, here’s what I’ve tried so far.
I’ve removed some things from InvoicePlane.php that I don’t think I’ll use, and removed some line breaks , ie. br that got me some real estate back, and I’ve made entries to templates.css and custom-pdf.css , the changes definitely help for reducing text size but not in the item paragraphs.
I put this into each of the two mentioned files, any advice would be appreciated.
That’s true, I’ll clean things up once I get the right format.
But what can I do in the meantime to reduce the padding/spacing of the items the invoice, because what I have doesn’t affect those things. It does affect the footer/header and rest of the text.
Thanks Underdog, that helps, this is what I have now and has improved things. I’m including some of the other things I’ve done in hopes it helps someone out. Go easy on me, I don’t have a software background and I have to struggle with some of this stuff. Also, please see attached where I made notes of other possible areas that can be compacted.
2). To reduce amount of white space at the top of the invoice
vi InvoicePlane.php
Comment out or remove logo handling, I don’t have a logo so I don’t need it.
It would be more elegant to check for existance of logo, if none, don’t do anything,
If I remove these 3 lines it pushes everything up and makes more room for useful stuff.
3). The line with Invoice number, I removed h1, also this is where I added a custom field jobdescription so it shows up beside the invoice number, you still have to add the field from settings → custom fields
4) I saw somewhere the footer is not handled properly in v1.6.3 and will be fixed in 1.6.4, so for now hard coded my info, and added some line breaks to push the footer up so it fits in the first page.
That’s great, thank you very much, I’ll play with those .
And thanks for the complement on my invoice layout, but I don’t know what file to share with you, let me know and I’ll gladly share.
I don’t know what file to share with you, let me know and I’ll gladly share
If you cab share the file that you’re editing. Most likely application/views/invoice_templates/pdf/InvoicePlane.php or maybe even application/views/invoice_templates/pdf/InvoicePlane custom.php that would be awesome.
I’ll remove the hard-coded stuff from the footer, no problem
Good One.
I’m an old fart, and back in the day we only had dumb terminals connected to the serial port of servers, so the only thing we could use in single user mode was vi, plus it’s guaranteed to be on every system.