FIX TakePOS buying price
This commit is contained in:
parent
9a6c89d03f
commit
7d11a36beb
@ -341,7 +341,7 @@ if ($action == "addline")
|
||||
}
|
||||
}
|
||||
if ($idoflineadded <= 0) {
|
||||
$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, '', 0, 100, '', null, 0);
|
||||
$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);
|
||||
}
|
||||
|
||||
$invoice->fetch($placeid);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user