From cd110e23b6a78cacd2be73fedbd8dfe415530ddc Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 24 Feb 2009 22:16:33 +0000 Subject: [PATCH] bug add a "All ledger" into the ledger choice for reporting balance --- include/balance.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/balance.inc.php b/include/balance.inc.php index 941f27f0e..ef5083ddb 100644 --- a/include/balance.inc.php +++ b/include/balance.inc.php @@ -60,6 +60,13 @@ echo $w->IOValue('to_periode',$periode_end); //------------------------------------------------- $l=new Acc_Ledger($cn,0); $journal=$l->select_ledger('ALL',3); + +/* add a all ledger choice */ +$blank=array('value'=>-1,'label'=>'Tous les journaux '); +$array=$journal->value; +$array[]=$blank; +$journal->value=$array; + $journal->name="p_jrn";