phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4707 - phpcompta/trunk/include
Date: Tue, 10 Jan 2012 11:29:27 +0100 (CET)

Author: danydb
Date: 2012-01-10 11:29:27 +0100 (Tue, 10 Jan 2012)
New Revision: 4707

Modified:
   phpcompta/trunk/include/class_acc_ledger.php
Log:
montre le journal dans recherche


Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php        2012-01-10 09:13:44 UTC 
(rev 4706)
+++ phpcompta/trunk/include/class_acc_ledger.php        2012-01-10 10:29:27 UTC 
(rev 4707)
@@ -624,12 +624,14 @@
 
 
         $r.="<tr >";
+       $r.="<th>Selection</th>";
         $r.="<th>Internal</th>";
-        if ( $this->type=='')
+
+        if ( $this->type=='ALL')
         {
             $r.=th('Journal');
         }
-               $r.="<th>Selection</th>";
+
         $r.='<th>Date</th>';
         $r.='<th>Pièce</td>';
                $r.=th('tiers');
@@ -667,7 +669,7 @@
             $r.=sprintf('<A class="detail" style="text-decoration:underline" 
HREF="javascript:modifyOperation(\'%s\',\'%s\')" >%s </A>',
                         $row['jr_id'], $gDossier, $row['jr_internal']);
             $r.="</TD>";
-            if ( $this->type=='') $r.=td($row['jrn_def_name']);
+            if ( $this->type=='ALL') $r.=td($row['jrn_def_name']);
             // date
             $r.="<TD>";
             $r.=$row['str_jr_date'];
@@ -817,7 +819,7 @@
 
         $r.="<tr >";
         $r.="<th>Internal</th>";
-        if ( $this->type=='')
+        if ( $this->type=='ALL')
         {
             $r.=th('Journal');
         }
@@ -860,7 +862,7 @@
             $r.=sprintf('<A class="detail" style="text-decoration:underline" 
HREF="javascript:modifyOperation(\'%s\',\'%s\')" >%s </A>',
                         $row['jr_id'], $gDossier, $row['jr_internal']);
             $r.="</TD>";
-            if ( $this->type=='') $r.=td($row['jrn_def_name']);
+            if ( $this->type=='ALL') $r.=td($row['jrn_def_name']);
             // date
             $r.="<TD>";
             $r.=smaller_date($row['str_jr_date']);




reply via email to

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