#491 historique ODS

This commit is contained in:
Dany De Bontridder 2011-12-09 14:26:12 +00:00
parent 21156cde7e
commit 5d5d131aa3
2 changed files with 3 additions and 1 deletions

View file

@ -2616,7 +2616,7 @@ class Acc_Ledger extends jrn_def_sql
$r='';
$type=$this->type;
if ( $type=="" || $this->id==0) $type='ALL';
if ( $type=="") $type='ALL';
$r.='<div id="search_form" style="display:none">';
$r.=HtmlInput::anchor_hide('Fermer','$(\'search_form\').style.display=\'none\';');
$r.=h2info('Recherche');

View file

@ -46,11 +46,13 @@ if ( isset ($_GET['ledger_type']))
$Ledger=new Acc_Ledger($cn,0);
$ask_pay=0;
$p_array['ledger_type']='ODS';
$Ledger->type='ODS';
break;
case 'ALL':
$Ledger=new Acc_Ledger($cn,0);
$ask_pay=0;
$p_array['ledger_type']='ALL';
$Ledger->type='ALL';
break;
case 'VEN':
$Ledger=new Acc_Ledger_Sold($cn,0);