Fix supplier prices not shown when best buy hidden
only show value if item has supplier
This commit is contained in:
parent
d8ead2693f
commit
533881e620
@ -834,7 +834,7 @@ else
|
||||
print '<td align="right">';
|
||||
if ($obj->tobuy)
|
||||
{
|
||||
if (($productFournList = $product_fourn->list_product_fournisseur_price($product_fourn->id)) > 0)
|
||||
if (count($productFournList = $product_fourn->list_product_fournisseur_price($obj->rowid)) > 0)
|
||||
{
|
||||
$htmltext=$product_fourn->display_price_product_fournisseur(1, 1, 0, 1, $productFournList);
|
||||
print $form->textwithpicto(count($productFournList),$htmltext);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user