From 3e4015131efab4147f30b0a1b350dd5b63f75ecf Mon Sep 17 00:00:00 2001 From: erics Date: Tue, 12 Jul 2005 08:51:47 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20de=20la=20possibilit=C3=A9=20de=20faire?= =?UTF-8?q?=20des=20packs=20de=20produits=20(nomenclature)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/photos.php | 7 ++++++- htdocs/product/price.php | 6 ++++++ htdocs/product/stats/facture.php | 5 +++++ htdocs/product/stats/fiche.php | 8 +++++++- 4 files changed, 24 insertions(+), 2 deletions(-) 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++;