invoice-templates
invoice-templates copied to clipboard
A place for sharing Kimai invoice templates
When attempting to Preview an Invoice using the `grouped-by-projects` invoice template, the following error is produced: ``` Changes could not be saved: An exception has been thrown during the rendering...
Hi @LiaraAlis Twig is deprecating the `attribute()` function, see: https://github.com/twigphp/Twig/blob/3.x/doc/deprecated.rst You are using it in your DIN5008 template: https://github.com/kimai/invoice-templates/blob/main/din5008-invoice/din5008-invoice.pdf.twig#L321 Maybe it can simply be replaced with array syntax? ``` {{...