|
@@ -2660,7 +2660,7 @@ elseif (! empty($object->id))
|
|
|
|
|
|
// Ensure that price is equal and warn user if it's not
|
|
|
$supplier_price = price($result_product["product"]["price_net"]); //Price of client tab in supplier dolibarr
|
|
|
- $local_price = NULL; //Price of supplier as stated in product suppliers tab on this dolibarr, NULL if not found
|
|
|
+ $local_price = null; //Price of supplier as stated in product suppliers tab on this dolibarr, NULL if not found
|
|
|
|
|
|
$product_fourn = new ProductFournisseur($db);
|
|
|
$product_fourn_list = $product_fourn->list_product_fournisseur_price($line->fk_product);
|
|
@@ -2675,7 +2675,7 @@ elseif (! empty($object->id))
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ($local_price != NULL && $local_price != $supplier_price) {
|
|
|
+ if ($local_price != null && $local_price != $supplier_price) {
|
|
|
setEventMessages($line_id.$langs->trans("RemotePriceMismatch")." ".$supplier_price." - ".$local_price, null, 'warnings');
|
|
|
}
|
|
|
|