diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php index d96307b6bb2..8c358ed6ebd 100644 --- a/htdocs/product/photos.php +++ b/htdocs/product/photos.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2005 Eric Seigne * Copyright (C) 2005 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -137,11 +138,15 @@ if ($_GET["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++; + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Bills'); $h++; - dolibarr_fiche_head($head, $hselected, $langs->trans("CardProduct".$product->type).' : '.$product->ref); print($mesg); diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 2aff2f99f95..924ed281cda 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2005 Eric Seigne * Copyright (C) 2005 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -131,6 +132,11 @@ $head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$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++; + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans("Bills"); $h++; diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php index a9fa28e9726..268d2607ed9 100644 --- a/htdocs/product/stats/facture.php +++ b/htdocs/product/stats/facture.php @@ -120,6 +120,11 @@ if ($_GET["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++; + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Bills'); $hselected=$h; diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index 2939c278bfe..83cf0aa72c9 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (c) 2004-2005 Laurent Destailleur * Copyright (C) 2005 Regis Houssin + * Copyright (C) 2005 Eric Seigne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -155,7 +156,12 @@ if ($_GET["id"]) $head[$h][1] = $langs->trans("Statistics"); $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++; + $head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id; $head[$h][1] = $langs->trans('Bills'); $h++;