2
0
forked from Wavyzz/dolibarr

show service lines only if the stock services option is enabled

This commit is contained in:
Cédric Salvador
2013-06-10 12:37:50 +02:00
parent 80a9dbfb90
commit 737aa7819f

View File

@@ -324,7 +324,7 @@ if ($resql)
while ($i < min($num,$limit))
{
$objp = $db->fetch_object($resql);
if($conf->global->STOCK_SUPPORTS_SERVICES || $objp->fk_product_type == 0){
// Multilangs
if (! empty($conf->global->MAIN_MULTILANGS)) // si l'option est active
{
@@ -379,6 +379,7 @@ if ($resql)
print '<td align="right">'.$form->select_product_fourn_price($product_static->id, "fourn".$i).'</td>';
print '<td>&nbsp</td>';
print "</tr>\n";
}
$i++;
}
print "</table>";