From 365e098dde3c447809f3ad89f5a5effb77d1e2fa Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 15 Aug 2007 21:28:08 +0000 Subject: [PATCH] Add negatif for FIN ledger if credit --- include/class_jrn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_jrn.php b/include/class_jrn.php index 9b99c3b84..0dce5884d 100644 --- a/include/class_jrn.php +++ b/include/class_jrn.php @@ -210,7 +210,7 @@ class jrn { $jr_montant=($line['jr_montant']!=0)?sprintf("% 8.2f",$line['jr_montant']):""; $tot_deb+=$line['deb_montant']; $tot_cred+=$line['cred_montant']; - $tot_op=$line['jr_amount']; + $tot_op=$line['jr_montant']; echo_debug('class_jrn.php',__LINE__," GetRow : mont_Deb ".$mont_deb); echo_debug('class_jrn.php',__LINE__," GetRow : mont_cred ".$mont_cred);