Merge pull request #1949 from defrance69/patch-23
Update product.class.php
This commit is contained in:
commit
5e0c7688d5
@ -2814,8 +2814,8 @@ class Product extends CommonObject
|
||||
if ($maxlength) $newref=dol_trunc($newref,$maxlength,'middle');
|
||||
|
||||
if ($withpicto) {
|
||||
if ($this->type == 0) $result.=($lien.img_object($langs->trans("ShowProduct").' '.$this->ref,'product').$lienfin.' ');
|
||||
if ($this->type == 1) $result.=($lien.img_object($langs->trans("ShowService").' '.$this->ref,'service').$lienfin.' ');
|
||||
if ($this->type == 0) $result.=($lien.img_object($langs->trans("ShowProduct").' '.$this->label,'product').$lienfin.' ');
|
||||
if ($this->type == 1) $result.=($lien.img_object($langs->trans("ShowService").' '.$this->label,'service').$lienfin.' ');
|
||||
}
|
||||
$result.=$lien.$newref.$lienfin;
|
||||
return $result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user