diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php
index 21105f5b550..0e3f001c0d9 100644
--- a/htdocs/product/stats/fiche.php
+++ b/htdocs/product/stats/fiche.php
@@ -100,8 +100,30 @@ if ($_GET["id"] || $_GET["ref"])
// Statut
print '
| '.$langs->trans("Status").' | ';
- print $product->getLibStatut(2);
+ print $product->getLibStatut(2);
print ' |
';
+
+ // Stock
+ if ($product->type == 0 && $conf->stock->enabled)
+ {
+ print '| '.$langs->trans("Stock").' | ';
+ if ($product->no_stock)
+ {
+ print "".$langs->trans("NoStockDefined");
+ }
+ else
+ {
+ if ($product->stock_reel <= $product->seuil_stock_alerte)
+ {
+ print ' | '.$product->stock_reel.' Seuil : '.$product->seuil_stock_alerte;
+ }
+ else
+ {
+ print " | ".$product->stock_reel;
+ }
+ }
+ print ' |
';
+ }
//show_stats_for_company($product,$socid);
/*