Modif affichage onglet fournisseur

This commit is contained in:
Rodolphe Quiedeville 2004-11-16 16:51:22 +00:00
parent b0be34000a
commit fcde4d3c6c

View File

@ -112,9 +112,12 @@ llxHeader("","",$langs->trans("CardProduct".$product->type));
if($product->type == 0) if($product->type == 0)
{ {
$head[$h][0] = DOL_URL_ROOT."/product/stock/product.php?id=".$product->id; if ($conf->stock->enabled)
$head[$h][1] = 'Stock'; {
$h++; $head[$h][0] = DOL_URL_ROOT."/product/stock/product.php?id=".$product->id;
$head[$h][1] = 'Stock';
$h++;
}
$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] = 'Fournisseurs'; $head[$h][1] = 'Fournisseurs';
$hselected = $h; $hselected = $h;