Fix bug in financial ledger, there were no negative saldo
This commit is contained in:
parent
fc68b527b1
commit
8dd3e9ed90
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ $res=$acc->get_solde_detail($filter_year);
|
|||
|
||||
if ( empty($res) ) return '{"saldo":"0"}';
|
||||
$solde=$res['solde'];
|
||||
|
||||
if ( $res['debit'] < $res['credit'] ) $solde=$solde*(-1);
|
||||
|
||||
//header("Content-type: text/html; charset: utf8",true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue