Filter the financial balance from the current exercice only
This commit is contained in:
parent
52f5d027c6
commit
cecefe3cf6
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ if ( $action == 'solde' ) {
|
|||
for ( $i = 0; $i < pg_NumRows($ResAccount);$i++) {
|
||||
// get the saldo
|
||||
$l=pg_fetch_array($ResAccount,$i);
|
||||
$m=get_solde($cn,$l['pcm_val']);
|
||||
$m=get_solde($cn,$l['pcm_val'],' and j_tech_per in (select '.
|
||||
'p_id from parm_periode where p_exercice='.$User->get_exercice().') ');
|
||||
// print the result if the saldo is not equal to 0
|
||||
if ( $m != 0.0 ) {
|
||||
echo "<tr>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue