Ajout onglet catégories
This commit is contained in:
parent
1c35d143dd
commit
5ec46a3aa7
@ -88,6 +88,14 @@ if ($_GET["id"])
|
|||||||
$head[$h][1] = $langs->trans("Price");
|
$head[$h][1] = $langs->trans("Price");
|
||||||
$h++;
|
$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($product->type == 0)
|
||||||
{
|
{
|
||||||
if ($user->rights->barcode->lire)
|
if ($user->rights->barcode->lire)
|
||||||
|
|||||||
@ -84,6 +84,14 @@ if ($_GET["id"])
|
|||||||
$head[$h][1] = $langs->trans("Price");
|
$head[$h][1] = $langs->trans("Price");
|
||||||
$h++;
|
$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($product->type == 0)
|
||||||
{
|
{
|
||||||
if ($user->rights->barcode->lire)
|
if ($user->rights->barcode->lire)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user