phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r4592 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4592 - phpcompta/trunk/include
Date: Fri, 9 Dec 2011 15:26:13 +0100 (CET)

Author: danydb
Date: 2011-12-09 15:26:12 +0100 (Fri, 09 Dec 2011)
New Revision: 4592

Modified:
   phpcompta/trunk/include/class_acc_ledger.php
   phpcompta/trunk/include/history_operation.inc.php
Log:
#491 historique ODS

Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php        2011-12-09 14:13:18 UTC 
(rev 4591)
+++ phpcompta/trunk/include/class_acc_ledger.php        2011-12-09 14:26:12 UTC 
(rev 4592)
@@ -2616,7 +2616,7 @@
         $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');

Modified: phpcompta/trunk/include/history_operation.inc.php
===================================================================
--- phpcompta/trunk/include/history_operation.inc.php   2011-12-09 14:13:18 UTC 
(rev 4591)
+++ phpcompta/trunk/include/history_operation.inc.php   2011-12-09 14:26:12 UTC 
(rev 4592)
@@ -46,11 +46,13 @@
                         $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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]