Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] 8.1.8 Issu...
 
Notifications
Clear all

[SOLVED] 8.1.8 Issue in budget calculation

4 Posts
2 Users
0 Reactions
2,129 Views
Fanch
(@fsouliers)
Posts: 86
Active Member
Topic starter
 
[#6302]

Hello,

it seems there is a bug in the budget calculation : when a project expense is marked as done, it is no longer taken into account in the budget calculation (its amount is ignored). This should occur only with canceled expenses.

As far as I remember, the behavior was correct in 8.0.6


 
Posted : 17 Oct 2019 19H03
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Issue recorded as Ticket #4256


 
Posted : 17 Oct 2019 19H39
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Issue fixed fix is to replace line 441 in model/BudgetMain.php from

      $expList=($this->id)?$exp->getSqlElementsFromCriteria(array('idBudgetItem'=>$this->id,'idle'=>'0')):array();

to

      $expList=($this->id)?$exp->getSqlElementsFromCriteria(array('idBudgetItem'=>$this->id,'cancelled'=>'0')):array();

 
Posted : 17 Oct 2019 19H57
Fanch
(@fsouliers)
Posts: 86
Active Member
Topic starter
 

ok, it works, many thanks !


 
Posted : 18 Oct 2019 12H30
Share:

Scroll to Top