Hello thanks for the great software.
I'm using the 12.0.0 version and the reports template plugin. I'm generating a report which include amounts and the plugin fails. please the logs below:
2025-01-27 10:21:59.334 ** ERROR ** [V12.0.0] [1] on file '/var/www/projeqtor/public/tool/html.php' at line (2522)
2025-01-27 10:21:59.335 ** ERROR ** [V12.0.0] [1] cause = Too few arguments to function htmlDisplayLocalCurrency(), 1 passed in /var/www/projeqtor/public/model/persistence/SqlElement.php on line 9259 and at least 3 expected
2025-01-27 10:21:59.335 ** ERROR ** [V12.0.0] [1] => #0 /var/www/projeqtor/public/model/persistence/SqlElement.php (9259) -> htmlDisplayLocalCurrency()
2025-01-27 10:21:59.335 ** ERROR ** [V12.0.0] [1] => #1 /var/www/projeqtor/public/plugin/templateReport/templateReportExecute.php (102) -> toArrayFields()
2025-01-27 10:21:59.335 ** ERROR ** [V12.0.0] [1] => #2 /var/www/projeqtor/public/report/object/Bill.php (3) -> include()
2025-01-27 10:21:59.335 ** ERROR ** [V12.0.0] [1] => #3 /var/www/projeqtor/public/view/print.php (304) -> include()
The problem is at the line 9259 of the SqlElement.php file when calling the functionhtmlDisplayLocalCurrency($value)
It has only one argument when the function is defined at the html.php line 2522 as follows:function htmlDisplayLocalCurrency($idProject,$val,$valLocal,$noDecimal=false)
Hope this information is enough to help with the issue. Thanks a lot in advance!