New: Personalisation des services et produits par un picto différent.

This commit is contained in:
Laurent Destailleur 2005-02-01 17:07:42 +00:00
parent e348aeb1ef
commit 86ff67819d

View File

@ -42,11 +42,7 @@ $types[0] = $langs->trans("Product");
$types[1] = $langs->trans("Service"); $types[1] = $langs->trans("Service");
if ($action == 'update')
{
$sql = "UPDATE ".MAIN_DB_PREFIX."product SET description='$desc' where rowid = $rowid";
$db->query($sql);
}
/* /*
* *
@ -75,7 +71,7 @@ if($product->type == 0)
if ($conf->stock->enabled) if ($conf->stock->enabled)
{ {
$head[$h][0] = DOL_URL_ROOT."/product/stock/product.php?id=".$product->id; $head[$h][0] = DOL_URL_ROOT."/product/stock/product.php?id=".$product->id;
$head[$h][1] = 'Stock'; $head[$h][1] = $langs->trans("Stock");
$h++; $h++;
} }