diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php index 720a6713f51..b9e14b072f0 100644 --- a/htdocs/product/stats/commande.php +++ b/htdocs/product/stats/commande.php @@ -87,6 +87,14 @@ if ($_GET["id"]) $head[$h][0] = DOL_URL_ROOT."/product/price.php?id=".$product->id; $head[$h][1] = $langs->trans("Price"); $h++; + + //affichage onglet catégorie + if ($conf->categorie->enabled) + { + $head[$h][0] = DOL_URL_ROOT."/product/categorie.php?id=".$product->id; + $head[$h][1] = $langs->trans('Categories'); + $h++; + } if($product->type == 0) { diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php index 6e4404a25e0..1319ac28710 100644 --- a/htdocs/product/stats/propal.php +++ b/htdocs/product/stats/propal.php @@ -84,6 +84,14 @@ if ($_GET["id"]) $head[$h][1] = $langs->trans("Price"); $h++; + //affichage onglet catégorie + if ($conf->categorie->enabled) + { + $head[$h][0] = DOL_URL_ROOT."/product/categorie.php?id=".$product->id; + $head[$h][1] = $langs->trans('Categories'); + $h++; + } + if($product->type == 0) { if ($user->rights->barcode->lire)