Syntax
This commit is contained in:
parent
1857280234
commit
e8bb5d5cc0
@ -590,7 +590,7 @@ else if ($action == 'addline' && $user->rights->commande->creer) {
|
||||
|
||||
$prodcustprice = new Productcustomerprice($db);
|
||||
|
||||
$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->client->id);
|
||||
$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->thirdparty->id);
|
||||
|
||||
$result = $prodcustprice->fetch_all('', '', 0, 0, $filter);
|
||||
if ($result >= 0) {
|
||||
|
||||
@ -1156,7 +1156,7 @@ else if ($action == 'addline' && $user->rights->facture->creer)
|
||||
|
||||
$prodcustprice = new Productcustomerprice($db);
|
||||
|
||||
$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->client->id);
|
||||
$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->thirdparty->id);
|
||||
|
||||
$result = $prodcustprice->fetch_all('', '', 0, 0, $filter);
|
||||
if ($result >= 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user