FIX: Get some taxes in TakePOS

This commit is contained in:
jove@bisquerra.com 2020-08-06 07:32:28 +02:00 committed by Laurent Destailleur
parent 16828b8cec
commit 022fb23cee

View File

@ -341,6 +341,7 @@ if ($action == "addline")
}
}
if ($idoflineadded <= 0) {
$invoice->fetch_thirdparty();
$idoflineadded = $invoice->addline($prod->description, $price, 1, $tva_tx, $localtax1_tx, $localtax2_tx, $idproduct, $customer->remise_percent, '', 0, 0, 0, '', $price_base_type, $price_ttc, $prod->type, -1, 0, '', 0, $parent_line, null, '', '', 0, 100, '', null, 0);
}