ajour onglet sous produits si fonctionnalite activee

This commit is contained in:
Andre Cianfarani 2006-02-20 11:17:21 +00:00
parent 7dd1d85d0a
commit 59314d753f

View File

@ -423,7 +423,6 @@ if ($_GET["id"] || $_GET["ref"])
{
$head[$h][0] = DOL_URL_ROOT."/product/categorie.php?id=".$product->id;
$head[$h][1] = $langs->trans('Categories');
$hselected = $h;
$h++;
}
@ -465,12 +464,14 @@ if ($_GET["id"] || $_GET["ref"])
$head[$h][1] = $langs->trans('Statistics');
$h++;
//erics: pour créer des produits composés de x 'sous' produits
/*
$head[$h][0] = DOL_URL_ROOT."/product/pack.php?id=".$product->id;
$head[$h][1] = $langs->trans('Packs');
$h++;
*/
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans('Referers');