#491 historique ODS
This commit is contained in:
parent
21156cde7e
commit
5d5d131aa3
2 changed files with 3 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue