23if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
25include_once (
"lib/ac_common.php");
26include_once(
"class/acc_balance.class.php");
45 if ( isset(
$_GET[
'r_jrn']))
65if (isset(
$_GET[
'unsold']))
$bal->unsold=
true;
69 $http->get(
'to_periode',
'number'),
71$prev = ( isset (
$row[0][
'sum_cred_previous'])) ?1:0;
73if (
$prev == 1 )
$title=array_merge(
$title,array(
'deb n-1',
'cred n-1',
'solde n-1',
'd/c;'));
74$title=array_merge(
$title,array(_(
'Débit'),_(
'Crédit'),_(
"Solde débiteur"),_(
"Solde créditeur")));
91 $delta=bcsub(
$r[
'solde_deb_previous'],
$r[
'solde_cred_previous']);
93 $sign=(
$delta == 0)?
'=':$sign;
94 $export->add(
$r[
'sum_deb_previous'],
"number");
95 $export->add(
$r[
'sum_cred_previous'],
"number");
100 $delta=bcsub(
$r[
'solde_deb'],
$r[
'solde_cred']);
118 throw new \Exception(__FILE__.
":".__LINE__);
get_array_column($p_array, $key)
global $g_user
if no group available , then stop
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
Class for manipulating data to print the balance of account.
Manage the CSV : manage files and write CSV record.
For the periode tables parm_periode and jrn_periode.
if( $delta< 0) elseif( $delta==0)