From 9708fa5711dffd00a55b31a208885d4c102ace4d Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 10 Jan 2012 10:29:27 +0000 Subject: [PATCH] montre le journal dans recherche --- include/class_acc_ledger.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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']);