diff --git a/include/class_acc_ledger.php b/include/class_acc_ledger.php
index cc4102a4d..ad3f9881b 100644
--- a/include/class_acc_ledger.php
+++ b/include/class_acc_ledger.php
@@ -624,12 +624,14 @@ class Acc_Ledger extends jrn_def_sql
$r.="
";
+ $r.="| Selection | ";
$r.="Internal | ";
- if ( $this->type=='')
+
+ if ( $this->type=='ALL')
{
$r.=th('Journal');
}
- $r.="Selection | ";
+
$r.='Date | ';
$r.='Pièce';
$r.=th('tiers');
@@ -667,7 +669,7 @@ class Acc_Ledger extends jrn_def_sql
$r.=sprintf('%s ',
$row['jr_id'], $gDossier, $row['jr_internal']);
$r.="";
- if ( $this->type=='') $r.=td($row['jrn_def_name']);
+ if ( $this->type=='ALL') $r.=td($row['jrn_def_name']);
// date
$r.=" | ";
$r.=$row['str_jr_date'];
@@ -817,7 +819,7 @@ class Acc_Ledger extends jrn_def_sql
$r.=" |
";
$r.="| Internal | ";
- if ( $this->type=='')
+ if ( $this->type=='ALL')
{
$r.=th('Journal');
}
@@ -860,7 +862,7 @@ class Acc_Ledger extends jrn_def_sql
$r.=sprintf('%s ',
$row['jr_id'], $gDossier, $row['jr_internal']);
$r.="";
- if ( $this->type=='') $r.=td($row['jrn_def_name']);
+ if ( $this->type=='ALL') $r.=td($row['jrn_def_name']);
// date
$r.="";
$r.=smaller_date($row['str_jr_date']);
|