View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Using template reports plugin and local currency of projects - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

6 mars 2025 (10h30-12h)

3 avril 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

18 et 19 mars 2025 (9h-12h30)

15 et 16 avril 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

18 et 19 février (9h-12h30)

25 et 26 mars (9h-12h30)

 

 

 

Using template reports plugin and local currency of projects

More
27 Jan 2025 13:08 - 27 Jan 2025 13:08 #1 by jramos@mathsinhealth.com
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!

 
Last edit: 27 Jan 2025 13:08 by jramos@mathsinhealth.com.

Please Connexion or Create an account to join the conversation.

More
31 Jan 2025 08:28 #2 by maxca
Hello,
Indeed it's a bug, ticket #9544.
Thanck you and have a nice day,

Maxca

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.060 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.