ajout onglet produits associes
This commit is contained in:
parent
0e2f21e193
commit
6510aaea32
@ -138,7 +138,13 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||
$head[$h][1] = $langs->trans('Statistics');
|
||||
$h++;
|
||||
|
||||
// sousproduits
|
||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.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');
|
||||
$h++;
|
||||
|
||||
@ -155,12 +155,13 @@ if ($product->id)
|
||||
$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/fiche.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');
|
||||
|
||||
@ -223,12 +223,13 @@ 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/fiche.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');
|
||||
|
||||
@ -151,12 +151,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/fiche.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');
|
||||
|
||||
@ -150,6 +150,13 @@ if ($conf->fournisseur->enabled) {
|
||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||
$head[$h][1] = $langs->trans("Statistics");
|
||||
$h++;
|
||||
// sousproduits
|
||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||
$h++;
|
||||
}
|
||||
|
||||
//erics: pour créer des produits composés de x 'sous' produits
|
||||
/*
|
||||
|
||||
@ -131,12 +131,13 @@ 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/fiche.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');
|
||||
|
||||
@ -180,12 +180,13 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
$hselected=$h;
|
||||
$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/fiche.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');
|
||||
|
||||
@ -162,12 +162,13 @@ 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/fiche.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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user