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

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