Add custom export templates: where to create the folder "export" and how to modify export.en.xlf?
-
What I don't understand is how Kimai should know what to call the additional template in the dropdown menu.
This is why I think it it's necessary to also modify the export-en.xlf.Edit: I suppose it will get an id once it is located and the translation file would translate the ID into whatever "resname" you select. So I should expect to see an ID in the dropdown.
-
@marylou maybe https://git.cloudron.io/apps/kimai-app/-/merge_requests/6 works... I have published a new package that uses
/app/data/export
. Can you try? -
YEAH!!!!!!!
Thank you SO SO SO much, @girish.
Fun fact: the order of the menu buttons changed (for lack of a better word, it is also the word used in the kimai documentation) from CSV / Excel / Print / PDF to CSV / Excel / PDF / Print.
But there is now a fifth template in the PDF dropdown and it has the file name as a name.
Again, thank you so much!!! -
@girish I'm afraid this update removed the custom invoices templates, I can't create new invoices because the templates are now "missing". Could you symlink that path again?
/app/data/invoices
was used for templates,/app/data/data/invoices/
for exported pdfs (https://www.kimai.org/documentation/invoices.html#create-your-own-invoice-document for reference) -
@msbt oh, i didn't realize that path was in use. will put it back
-
@msbt published