';
+ print '';
-print '';
-print '';
-
-// Show filter box
-print '';
-print '
';
+ // Show filter box
+ print '';
+ print '
';
+}
print '';
print '';
diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php
index 3e773b90a8e..eb659e2db44 100644
--- a/htdocs/commande/stats/index.php
+++ b/htdocs/commande/stats/index.php
@@ -243,34 +243,37 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
-print '';
-print '';
+if (empty($socid))
+{
+ print '';
+ print '';
-// Show filter box
-print '';
-print '
';
+ // Show filter box
+ print '';
+ print '
';
+}
print '';
print '';
diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php
index 3b579f6e56f..510091c4832 100644
--- a/htdocs/compta/facture/stats/index.php
+++ b/htdocs/compta/facture/stats/index.php
@@ -219,34 +219,37 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
-print '';
-print '';
+if (empty($socid))
+{
+ print '';
+ print '';
-// Show filter box
-print '';
-print '
';
+ // Show filter box
+ print '';
+ print '
';
+}
print ' |
|
|
|
|
|