Suppression de l'ajout de l'onglet fournisseur qui y était déjà (du coup, l'onglet se retrouve en double). L'onglet fournisseur s'affiche si le module fournisseur est actif.
This commit is contained in:
parent
a5ec11d153
commit
f600204a17
@ -120,11 +120,8 @@ if ($_GET["id"])
|
|||||||
$head[$h][1] = $langs->trans("Stock");
|
$head[$h][1] = $langs->trans("Stock");
|
||||||
$hselected=$h;
|
$hselected=$h;
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
|
||||||
$head[$h][1] = 'Fournisseurs';
|
|
||||||
$h++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled) {
|
if ($conf->fournisseur->enabled) {
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
$head[$h][1] = $langs->trans("Suppliers");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user