From 5ec46a3aa7170ae129eff30977d00e0598e70182 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Feb 2006 13:36:16 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20onglet=20cat=E9gories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/stats/commande.php | 8 ++++++++ htdocs/product/stats/propal.php | 8 ++++++++ 2 files changed, 16 insertions(+) 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)