Skip to content
Snippets Groups Projects
Commit 8830264c authored by Charles Benke's avatar Charles Benke Committed by GitHub
Browse files

tooltip not present on picto, already present in $link

and some case they are conflict
parent 05b02e7b
No related branches found
No related tags found
No related merge requests found
......@@ -3185,8 +3185,8 @@ class Product extends CommonObject
}
if ($withpicto) {
if ($this->type == Product::TYPE_PRODUCT) $result.=($link.img_object($langs->trans("ShowProduct").' '.$this->label, 'product', 'class="classfortooltip"').$linkend.' ');
if ($this->type == Product::TYPE_SERVICE) $result.=($link.img_object($langs->trans("ShowService").' '.$this->label, 'service', 'class="classfortooltip"').$linkend.' ');
if ($this->type == Product::TYPE_PRODUCT) $result.=($link.img_object('', 'product', '').$linkend.' ');
if ($this->type == Product::TYPE_SERVICE) $result.=($link.img_object('', 'service', '').$linkend.' ');
}
$result.=$link.$newref.$linkend;
return $result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment