Mise à jour des onglets
This commit is contained in:
parent
23d216975a
commit
d60c6045d4
@ -316,13 +316,6 @@ else
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
|
||||||
{
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/fourn/product/fournisseurs.php?id=".$product->id;
|
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
|
||||||
$h++;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/fourn/product/photos.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/fourn/product/photos.php?id=".$product->id;
|
||||||
|
|||||||
@ -86,18 +86,22 @@ if ($_GET["id"])
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
|
||||||
{
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
|
||||||
$h++;
|
|
||||||
}
|
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/fourn/product/photos.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/fourn/product/photos.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Photos");
|
$head[$h][1] = $langs->trans("Photos");
|
||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
//Affichage onglet Catégories
|
||||||
|
if ($conf->categorie->enabled){
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/fourn/product/categorie.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans('Categories');
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/fiche.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("CommercialCard");
|
||||||
|
$h++;
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $hselected, $langs->trans("CardProduct".$product->type).' : '.$product->ref);
|
dolibarr_fiche_head($head, $hselected, $langs->trans("CardProduct".$product->type).' : '.$product->ref);
|
||||||
|
|
||||||
print($mesg);
|
print($mesg);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user