modification de la description produit
This commit is contained in:
parent
26cd1a50c2
commit
4bbbb34bfc
@ -306,7 +306,7 @@ if ($_POST['action'] == "addligne" && $user->rights->propale->creer)
|
||||
{
|
||||
$propal->insert_product_generic(
|
||||
$_POST['np_desc'],
|
||||
$_POST['np_product_desc'],
|
||||
$_POST['product_desc'],
|
||||
$_POST['np_price'],
|
||||
$_POST['np_qty'],
|
||||
$_POST['np_tva_tx'],
|
||||
@ -319,7 +319,7 @@ if ($_POST['action'] == "addligne" && $user->rights->propale->creer)
|
||||
$_POST['qty'],
|
||||
$_POST['remise'],
|
||||
$_POST['np_desc'],
|
||||
$_POST['np_product_desc']);
|
||||
$_POST['product_desc']);
|
||||
}
|
||||
propale_pdf_create($db, $_POST['propalid'], $propal->modelpdf);
|
||||
}
|
||||
|
||||
@ -175,7 +175,7 @@ class Propal
|
||||
if ($conf->global->CHANGE_PROD_DESC)
|
||||
{
|
||||
$sql = "INSERT INTO ".MAIN_DB_PREFIX."propaldet (fk_propal, fk_product, qty, price, tva_tx, description, remise_percent, subprice) VALUES ";
|
||||
$sql .= " (".$this->id.",". $idproduct.",'". $qty."','". $price."','".$txtva."','".addslashes($prod->product_desc)."','".price2num($remise_percent)."','".price2num($subprice)."')";
|
||||
$sql .= " (".$this->id.",". $idproduct.",'". $qty."','". $price."','".$txtva."','".addslashes($p_product_desc)."','".price2num($remise_percent)."','".price2num($subprice)."')";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user