Ajout parametre pour gérer les masses des articles
This commit is contained in:
parent
dcec60ee0c
commit
ea981a5fea
@ -85,6 +85,8 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer)
|
|||||||
$product->duration_unit = $_POST["duration_unit"];
|
$product->duration_unit = $_POST["duration_unit"];
|
||||||
$product->seuil_stock_alerte = $_POST["seuil_stock_alerte"];
|
$product->seuil_stock_alerte = $_POST["seuil_stock_alerte"];
|
||||||
$product->canvas = $_POST["canvas"];
|
$product->canvas = $_POST["canvas"];
|
||||||
|
$product->new_weight = $_POST["weight"];
|
||||||
|
$product->new_weight_units = $_POST["weight_units"];
|
||||||
// MultiPrix
|
// MultiPrix
|
||||||
if($conf->global->PRODUIT_MULTIPRICES == 1)
|
if($conf->global->PRODUIT_MULTIPRICES == 1)
|
||||||
{
|
{
|
||||||
@ -142,6 +144,8 @@ if ($_POST["action"] == 'update' &&
|
|||||||
$product->duration_value = $_POST["duration_value"];
|
$product->duration_value = $_POST["duration_value"];
|
||||||
$product->duration_unit = $_POST["duration_unit"];
|
$product->duration_unit = $_POST["duration_unit"];
|
||||||
$product->canvas = $_POST["canvas"];
|
$product->canvas = $_POST["canvas"];
|
||||||
|
$product->new_weight = $_POST["weight"];
|
||||||
|
$product->new_weight_units = $_POST["weight_units"];
|
||||||
|
|
||||||
if ($product->check())
|
if ($product->check())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user