Merge pull request #7293 from fappels/6.0_fix_product_list_supplier_prices
FIX product list supplier prices not shown when best buy column hidden
This commit is contained in:
commit
3f806f83e3
@ -834,7 +834,7 @@ else
|
|||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
if ($obj->tobuy)
|
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);
|
$htmltext=$product_fourn->display_price_product_fournisseur(1, 1, 0, 1, $productFournList);
|
||||||
print $form->textwithpicto(count($productFournList),$htmltext);
|
print $form->textwithpicto(count($productFournList),$htmltext);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user