Look and feel v6

This commit is contained in:
Laurent Destailleur 2017-05-05 17:04:35 +02:00
parent fc5f4007a1
commit dc9cbed866

View File

@ -204,6 +204,7 @@ if ($result)
print '<br>';
print_barre_liste($langs->trans("MarginDetails"),$page,$_SERVER["PHP_SELF"],"&amp;id=".$id,$sortfield,$sortorder,'',$num,$num,'');
//var_dump($conf->global->MARGIN_TYPE);
if ($conf->global->MARGIN_TYPE == "1")
$labelcostprice=$langs->trans('BuyingPrice');
else // value is 'costprice' or 'pmp'
@ -285,7 +286,7 @@ if ($result)
}
else
{
print $langs->trans("NotPredefinedProducts");
print img_object('', 'product').' '.$langs->trans("NotPredefinedProducts");
}
print "</td>\n";
//print "<td>".$product_static->getNomUrl(1)."</td>\n";