From ea981a5feafd210e7ce8cd5c5973b39af36787d7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 7 Dec 2006 15:19:55 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20parametre=20pour=20g=E9rer=20les=20mass?= =?UTF-8?q?es=20des=20articles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/fiche.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index be219b72c7b..ade48e0f4bc 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -85,6 +85,8 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer) $product->duration_unit = $_POST["duration_unit"]; $product->seuil_stock_alerte = $_POST["seuil_stock_alerte"]; $product->canvas = $_POST["canvas"]; + $product->new_weight = $_POST["weight"]; + $product->new_weight_units = $_POST["weight_units"]; // MultiPrix if($conf->global->PRODUIT_MULTIPRICES == 1) { @@ -142,6 +144,8 @@ if ($_POST["action"] == 'update' && $product->duration_value = $_POST["duration_value"]; $product->duration_unit = $_POST["duration_unit"]; $product->canvas = $_POST["canvas"]; + $product->new_weight = $_POST["weight"]; + $product->new_weight_units = $_POST["weight_units"]; if ($product->check()) {