How to customise an invoice

I have been using Obsolete Features, themes so I can get my sales invoice to look just how I want it to look. The company name moved to the left, in a different colour, clients name on the right. invoice numbers, date etc in the position I want it to be and my bank details at the bottom of the page.

I have managed to get this to email the form by ticking the internal PDF generator (although I have had to turn off some of my nortons 360. The trouble is, when outlook opens up the PDF, it has changed my company name into Chinese. (If it is opened by Chrome, it is as it should be.)

As I understand it, it is no longer good practice to use Themes, but I cannot find anything to replace this, you have no choice but to use the layout manager gives you. If this is right, then I will stop looking for a way to manipulate the layout to my liking.

Hi @Andrew,

Your problem isn’t related to Themes which should still work fine. The problem could be because of the PDF generator.

You should use Print instead and your email would have the invoice inlined.

Thank you for your quick response, I am assuming you mean, do not tick the Internal PDF Generator when sending an email. If I leave this box unticked then I get

“Unexpected null character in stream.Invalid element ‘mj-’.Invalid element ‘div’.Invalid element ‘div’”

Is this telling me that I have an incorrect code in the Themes ?

Yes it does. You need to make sure that all open tags – not just divs – are closed properly. You should also check for unclosed double and single quotes.