[FIX] Variable $i is already declared
It was preventing displaying of the other accounts
This commit is contained in:
parent
9298143f9d
commit
7128270a95
@ -301,7 +301,7 @@ if ($modecompta == 'BOOKKEEPING')
|
||||
// Get cpts of category/group
|
||||
$cpts = $AccCat->getCptsCat(0, $tmppredefinedgroupwhere);
|
||||
|
||||
foreach($cpts as $i => $cpt)
|
||||
foreach($cpts as $j => $cpt)
|
||||
{
|
||||
$return = $AccCat->getSumDebitCredit($cpt['account_number'], $date_start, $date_end, $cpt['dc']);
|
||||
if ($return < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user