FIX access const
This commit is contained in:
parent
9ffdce6f24
commit
f0ee373784
@ -67,7 +67,7 @@ if ($idprod > 0) {
|
||||
$productSupplierArray = $producttmp->list_product_fournisseur_price($idprod, $sorttouse); // We list all price per supplier, and then firstly with the lower quantity. So we can choose first one with enough quantity into list.
|
||||
if (is_array($productSupplierArray)) {
|
||||
foreach ($productSupplierArray as $productSupplier) {
|
||||
if ($conf->global->DISABLE_BAD_REPUTATION_PRODUCT_PRICE && $productSupplier->supplier_reputation == "DONOTORDER")
|
||||
if (getDolGlobalInt("DISABLE_BAD_REPUTATION_PRODUCT_PRICE") && $productSupplier->supplier_reputation == "DONOTORDER")
|
||||
continue;
|
||||
|
||||
$price = $productSupplier->fourn_price * (1 - $productSupplier->fourn_remise_percent / 100);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user