From 0a057c8277b26e2429b51f9f2c54e81a0445fd6c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 22 Nov 2018 20:47:53 +0100 Subject: [PATCH] Clean var_dump --- htdocs/compta/resultat/result.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/resultat/result.php b/htdocs/compta/resultat/result.php index fcb329dd730..16d2631686c 100644 --- a/htdocs/compta/resultat/result.php +++ b/htdocs/compta/resultat/result.php @@ -406,7 +406,7 @@ elseif ($modecompta=="BOOKKEEPING") 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; @@ -422,8 +422,8 @@ elseif ($modecompta=="BOOKKEEPING") } } - // 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.