diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang
index ca5ecf9e219..637d0f10920 100644
--- a/htdocs/langs/en_US/products.lang
+++ b/htdocs/langs/en_US/products.lang
@@ -16,6 +16,7 @@ ProductsOrServices=Products or Services
ProductsAndServicesOnSell=Products and Services on sell
ProductsAndServicesNotOnSell=Products and Services out of sell
ProductsAndServicesStatistics=Products and Services statistics
+ProductsStatistics=Products statistics
ProductsOnSell=Products on sell
ProductsNotOnSell=Products out of sell
ServicesOnSell=Services on sell
diff --git a/htdocs/langs/fr_FR/products.lang b/htdocs/langs/fr_FR/products.lang
index 80a6c340ff6..90ad2cc95ed 100644
--- a/htdocs/langs/fr_FR/products.lang
+++ b/htdocs/langs/fr_FR/products.lang
@@ -16,6 +16,7 @@ ProductsAndServices=Produits et Services
ProductsAndServicesOnSell=Produits et Services en vente
ProductsAndServicesNotOnSell=Produits et Services hors vente
ProductsAndServicesStatistics=Statistiques produits et services
+ProductsStatistics=Statistiques produits
ProductsOnSell=Produits en vente
ProductsNotOnSell=Produits hors vente
ServicesOnSell=Services en vente
diff --git a/htdocs/product/stats/index.php b/htdocs/product/stats/index.php
index df9c54cde39..d37bb57c069 100644
--- a/htdocs/product/stats/index.php
+++ b/htdocs/product/stats/index.php
@@ -86,25 +86,24 @@ else
print_fiche_titre($langs->trans("ProductsStatistics"), $mesg);
}
+print '
';
+print '
';
+
+print '';
+print '| '.$langs->trans("Summary").' | '.$langs->trans("Value").' | ';
+print "
\n";
+
+$var=True;
+print "";
+print '| Nb de produit dans le catalogue | ';
+print ''.$nbproduct.' |
';
+$var=!$var;
+print "";
+print '| Nb de produit dans le catalogue qui ne sont pas en vente | ';
+print ''.$nbhv.' |
';
+
if ($conf->service->enabled)
{
- print '
';
-
- print '';
-
- print '';
- print '| '.$langs->trans("Summary").' | '.$langs->trans("Value").' | ';
- print "
\n";
-
- $var=True;
- print "";
- print '| Nb de produit dans le catalogue | ';
- print ''.$nbproduct.' |
';
- $var=!$var;
- print "";
- print '| Nb de produit dans le catalogue qui ne sont pas en vente | ';
- print ''.$nbhv.' |
';
-
$sql = "SELECT count(*)";
$sql .= " FROM ".MAIN_DB_PREFIX."product as p";
if ($conf->categorie->enabled && !$user->rights->categorie->voir)