diff --git a/htdocs/product/barcode.php b/htdocs/product/barcode.php index 983e942d252..8e7c39cbbc7 100644 --- a/htdocs/product/barcode.php +++ b/htdocs/product/barcode.php @@ -103,9 +103,11 @@ $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++; +/* +$head[$h][0] = DOL_URL_ROOT."/product/pack.php?id=".$product->id; +$head[$h][1] = $langs->trans('Packs'); +$h++; +*/ $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans("Referers"); diff --git a/htdocs/product/document.php b/htdocs/product/document.php index 0befb69eb71..a529382dad4 100755 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -142,13 +142,15 @@ if ($productid > 0) $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++; + */ - $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; - $head[$h][1] = $langs->trans('Referers'); - $h++; + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; + $head[$h][1] = $langs->trans('Referers'); + $h++; $head[$h][0] = DOL_URL_ROOT.'/product/document.php?id='.$product->id; $head[$h][1] = $langs->trans('Documents'); diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index fbff1989b87..dfeddd89dff 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -402,10 +402,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $h++; diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 4e64c215b9c..af39747f104 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -216,9 +216,11 @@ if ($_GET["id"]) $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++; + */ $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php index a804e385386..71444072e8c 100644 --- a/htdocs/product/photos.php +++ b/htdocs/product/photos.php @@ -143,10 +143,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $h++; diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 7334998bcfc..e324e55c2b8 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -132,9 +132,11 @@ $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++; +*/ $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans("Referers"); diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php index 295caa12af8..44687bc1137 100644 --- a/htdocs/product/stats/commande.php +++ b/htdocs/product/stats/commande.php @@ -128,10 +128,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $hselected=$h; diff --git a/htdocs/product/stats/contrat.php b/htdocs/product/stats/contrat.php index 828a171c128..41196215c0c 100644 --- a/htdocs/product/stats/contrat.php +++ b/htdocs/product/stats/contrat.php @@ -128,10 +128,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $hselected=$h; diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php index 5057c288b2a..e6c47183b66 100644 --- a/htdocs/product/stats/facture.php +++ b/htdocs/product/stats/facture.php @@ -128,10 +128,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $hselected=$h; diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index 57eed94814f..7851f580eba 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -173,10 +173,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $h++; diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php index 001aec0f876..906ba704fb6 100644 --- a/htdocs/product/stats/propal.php +++ b/htdocs/product/stats/propal.php @@ -124,9 +124,11 @@ if ($_GET["id"]) $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++; + */ $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 7c6e87ea0c1..d0b1d2d1e85 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -153,10 +153,12 @@ if ($_GET["id"]) $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++; - + */ + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Referers'); $h++;