[self hosted] How to get two or more custom invoice templates?

Hi all,

I have customized one invoice template and that works ok. However, I need to have another customized invoice template. How can I do that?

My first thought was to add another row (by copying an existing one) in the invoice_designs table, but after I did that, my changes on that additional template are saved within the Custom template… What confused me is that the row for the Custom design does not contain the pdfmake code for that template, just the value Null. I wasn’t able to find where the code for that custom template is located.

It would be great if we could have the typical CRUD functionality for invoice templates and not just this limitation of having just 1 custom template…

Thank you in advance for your help,
Ivan

The custom design is stored in the custom_design field in the accounts table. As you’ve seen we don’t support adding records to the invoice designs table.

We’ll look into adding this in a future release.

Thank you for your quick response!

Now I have a temporary workaround, since I have copied the contents of custom_design field into an existing template.

Looking forward to having more functionality in dealing with invoice templates!