Notifications
Retirer tout
Submit issues
4
Posts
2
Utilisateurs
0
Reactions
2,105
Vu
Début du sujet
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
Posté : 17 Oct PM 19:1010
Issue recorded as Ticket #4256
Posté : 17 Oct PM 19:1010
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();
Posté : 17 Oct PM 19:1010
Début du sujet
ok, it works, many thanks !
Posté : 18 Oct PM 12:1010