Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
d872f4d389
@ -415,8 +415,8 @@ if ($action == 'update_line')
|
||||
if (trim($_POST['label']) != trim($label)) $label=$_POST['label'];
|
||||
|
||||
$type = $prod->type;
|
||||
$localtax1_tx = $prod->localtax1_tx;
|
||||
$localtax2_tx = $prod->localtax2_tx;
|
||||
$localtax1tx = $prod->localtax1_tx;
|
||||
$localtax2tx = $prod->localtax2_tx;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -474,7 +474,8 @@ if ($action == 'addline')
|
||||
|
||||
$type = $product->type;
|
||||
|
||||
$result=$object->addline($label, $product->fourn_pu, $tvatx, $localtax2tx, $localtax2tx, $_POST['qty'], $idprod);
|
||||
$result=$object->addline($label, $product->fourn_pu, $tvatx, $localtax1tx, $localtax2tx, $_POST['qty'], $idprod);
|
||||
|
||||
}
|
||||
if ($idprod == -1)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user