Wonderful work you’re doing here. I just started using invoiceplane and it’s frickin’ awsome.
I do have a question regarding the pdf output.
when i put 2 or more products with some description text on the invoice , due to the size of the font , the invoice becomse so big it overflows to the second page.
Is it possible to make the font dynamic (one page fit) or make the font size for terms and footer smaller.
Also (off topic) there is a issue when using the {{{invoice_status}}} in email. When receiving email status shows up blank.
Hmm I don’t think that it’s possible to make the font size of the PDF dynamic based on the content. At least I haven’t found anything related in the mPDF docs.
I too would love to adjust this. I have a LOT of terms on my invoices so I need to just adjust the form’s font size in a few places. I tell you what would be helpful is a list of the css values translated into where everything is in the document so we can see where the css values get assigned. Basically, in Firefox, I just use firebug to see what the CSS name is and adjust from there. But in this case it’s a PDF so I can’t see that information.
No, we will not include any options regarding the templates styles in the menu as you can manually edit all styles by adding overrides in the file assets/default/css/custom.css
Thanks, just tried it but the css won’t kick in… :s has worked before.
Do i do something wrong in the new version.
terms & con. text here
in the custom-pdf.css file assets/core/css i have this line added.
invoice-terms {font-weight: normal; font-style: italic; font-size: 81%; color: # 888;}
Same as before… but the pdf output shows the ->
it seems if it doens’t read the custom-pdf.css file anymore?
The custom-pdf.css ist working perfectly fine for me.
Adding .invoice-details td {font-size: 5pt;} to the file gave me this result: a very small font size.
The only thing that did not work was styling the invoice terms. But this seems to be a problem with the PDF engine used as the terms are handled by the engine in a specific way. Will have a look at that.