Skip to content

Commit

Permalink
Clean var_dump
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 22, 2018
1 parent fe35e72 commit 0a057c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/compta/resultat/result.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@
if (! empty($arrayofaccountforfilter))
{
$return = $AccCat->getSumDebitCredit($arrayofaccountforfilter, $date_start_previous, $date_end_previous, $cpt['dc']?$cpt['dc']:0);
var_dump($AccCat->sdcperaccount);

if ($return < 0) {
setEventMessages(null, $AccCat->errors, 'errors');
$resultNP=0;
Expand All @@ -422,8 +422,8 @@
}
}

// Set value into column N-1, N and each month M ($totCat)
// This make 14 calls for each detail of account (N-1, N and 12 monthes m)
// Set value into column N and month M ($totCat)
// This make 12 calls for each accountancy account (12 monthes M)
foreach($cpts as $i => $cpt) // Loop on each account.
{
// We make 1 loop for each account because we may want detail per account.
Expand Down

0 comments on commit 0a057c8

Please sign in to comment.