mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Clean var_dump
This commit is contained in:
@@ -406,7 +406,7 @@ elseif ($modecompta=="BOOKKEEPING")
|
|||||||
if (! empty($arrayofaccountforfilter))
|
if (! empty($arrayofaccountforfilter))
|
||||||
{
|
{
|
||||||
$return = $AccCat->getSumDebitCredit($arrayofaccountforfilter, $date_start_previous, $date_end_previous, $cpt['dc']?$cpt['dc']:0);
|
$return = $AccCat->getSumDebitCredit($arrayofaccountforfilter, $date_start_previous, $date_end_previous, $cpt['dc']?$cpt['dc']:0);
|
||||||
var_dump($AccCat->sdcperaccount);
|
|
||||||
if ($return < 0) {
|
if ($return < 0) {
|
||||||
setEventMessages(null, $AccCat->errors, 'errors');
|
setEventMessages(null, $AccCat->errors, 'errors');
|
||||||
$resultNP=0;
|
$resultNP=0;
|
||||||
@@ -422,8 +422,8 @@ elseif ($modecompta=="BOOKKEEPING")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set value into column N-1, N and each month M ($totCat)
|
// Set value into column N and month M ($totCat)
|
||||||
// This make 14 calls for each detail of account (N-1, N and 12 monthes m)
|
// This make 12 calls for each accountancy account (12 monthes M)
|
||||||
foreach($cpts as $i => $cpt) // Loop on each account.
|
foreach($cpts as $i => $cpt) // Loop on each account.
|
||||||
{
|
{
|
||||||
// We make 1 loop for each account because we may want detail per account.
|
// We make 1 loop for each account because we may want detail per account.
|
||||||
|
|||||||
Reference in New Issue
Block a user