bug add a "All ledger" into the ledger choice for reporting balance

This commit is contained in:
Dany De Bontridder 2009-02-24 22:16:33 +00:00
parent 130ebd0e1b
commit cd110e23b6

View file

@ -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";