View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error when calculate leftCost - ProjeQtOr
 
 

Error when calculate leftCost

More
08 Mar 2012 11:08 #1 by chris35
Hi Babynus,

I've find a bug when calculating leftCost on PlanningElement.
There is an inversion with "=+" characters. It must be "+=".


To solve the problem, in model/PlanningElement.php, line 395, in updateSynthesisObj() function, replace the following line:
$leftCost=+$pla->leftCost;

by
$leftCost+=$pla->leftCost;

Thanks

Please Log in or Create an account to join the conversation.

More
08 Mar 2012 11:16 #2 by chris35
I've searched if there are other errors like this one and I've found one:

In report/expenseCostTotalPlan.php, line 92, replace
$tab[$proj][$var][$date]=+$cost;
by
$tab[$proj][$var][$date]+=$cost;

Please Log in or Create an account to join the conversation.

More
08 Mar 2012 15:58 #3 by babynus
Many thanks for this bug identification and fix.


Your fix is included in next version (V2.1)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.030 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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