Skip to content
Snippets Groups Projects
Commit 3e401513 authored by Eric Seigne's avatar Eric Seigne
Browse files

ajout de la possibilité de faire des packs de produits (nomenclature)

parent 5c506c66
No related branches found
No related tags found
No related merge requests found
<?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com>
*
* 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 crer des produits composs 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);
......
<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com>
*
* 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 crer des produits composs 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++;
......
......@@ -120,6 +120,11 @@ if ($_GET["id"])
$head[$h][1] = $langs->trans('Statistics');
$h++;
//erics: pour crer des produits composs 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;
......
......@@ -2,6 +2,7 @@
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (c) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com>
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
*
* 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 crer des produits composs 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++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment