Ajout onglet catgories

This commit is contained in:
Regis Houssin 2006-02-25 13:36:16 +00:00
parent 1c35d143dd
commit 5ec46a3aa7
2 changed files with 16 additions and 0 deletions

View File

@ -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)
{

View File

@ -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)