From 84089f3e53e8ffb225ebd6e0f12aa2f03dd516fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 21 Sep 2012 00:28:11 +0200 Subject: [PATCH] Fix: bas tabs when socid provided into stats pages --- htdocs/comm/propal/stats/index.php | 10 +++++----- htdocs/commande/stats/index.php | 10 +++++----- htdocs/compta/facture/stats/index.php | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/htdocs/comm/propal/stats/index.php b/htdocs/comm/propal/stats/index.php index dc4d24d5dd1..1f0d9be22e6 100644 --- a/htdocs/comm/propal/stats/index.php +++ b/htdocs/comm/propal/stats/index.php @@ -217,11 +217,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,'propal_stats'); dol_fiche_head($head,'byyear',$langs->trans("Statistics")); -if (empty($socid)) -{ - print ''; - print '
'; +print ''; +print '
'; +//if (empty($socid)) +//{ // Show filter box print '
'; print ''; @@ -246,7 +246,7 @@ if (empty($socid)) print '
'; print ''; print '

'; -} +//} print ''; print ''; diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php index a92dd6cb2f3..fd97ae70f4a 100644 --- a/htdocs/commande/stats/index.php +++ b/htdocs/commande/stats/index.php @@ -238,11 +238,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type); dol_fiche_head($head,'byyear',$langs->trans("Statistics")); -if (empty($socid)) -{ - print '
'; - print '
'; +print ''; +print '
'; +//if (empty($socid)) +//{ // Show filter box print '
'; print ''; @@ -268,7 +268,7 @@ if (empty($socid)) print '
'; print ''; print '

'; -} +//} print ''; print ''; diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php index 1de79ee5600..dddf19e6e34 100644 --- a/htdocs/compta/facture/stats/index.php +++ b/htdocs/compta/facture/stats/index.php @@ -214,11 +214,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type); dol_fiche_head($head,'byyear',$langs->trans("Statistics")); -if (empty($socid)) -{ - print '
'; - print '
'; +print ''; +print '
'; +//if (empty($socid)) +//{ // Show filter box print '
'; print ''; @@ -244,7 +244,7 @@ if (empty($socid)) print '
'; print ''; print '

'; -} +//} print ''; print '';