bugfix
This commit is contained in:
parent
5f5b19bcfd
commit
31119933d7
@ -305,8 +305,7 @@ if ($_POST['action'] == "addligne" && $user->rights->propale->creer)
|
||||
if (isset($_POST['np_tva_tx']))
|
||||
{
|
||||
$propal->insert_product_generic(
|
||||
$_POST['np_desc'],
|
||||
$_POST['product_desc'],
|
||||
$_POST['np_desc'],
|
||||
$_POST['np_price'],
|
||||
$_POST['np_qty'],
|
||||
$_POST['np_tva_tx'],
|
||||
|
||||
@ -221,8 +221,7 @@ class Propal
|
||||
*/
|
||||
function insert_product_generic($p_desc, $p_price, $p_qty, $p_tva_tx, $remise_percent=0)
|
||||
{
|
||||
global $conf;
|
||||
dolibarr_syslog("propal.class.php::insert_product_generic $p_desc, $p_price, $p_qty, $p_tva_tx, $remise_percent");
|
||||
dolibarr_syslog("propal.class.php::insert_product_generic $p_desc, $p_price, $p_qty, $p_tva_tx, $remise_percent");
|
||||
if ($this->statut == 0)
|
||||
{
|
||||
// Nettoyage paramètres
|
||||
|
||||
Loading…
Reference in New Issue
Block a user