Fix: Add ref and label on service list
This commit is contained in:
parent
2367562f0b
commit
bc2436e314
@ -757,7 +757,7 @@ else
|
||||
$productstatic->ref=$objp->pref;
|
||||
print $productstatic->getNomUrl(1,'',20);
|
||||
print $objp->label?' - '.dol_trunc($objp->label,16):'';
|
||||
if ($objp->description) print '<br>'.nl2br($objp->description);
|
||||
if ($objp->description) print '<br>'.dol_nl2br($objp->description);
|
||||
print '</td>';
|
||||
}
|
||||
else
|
||||
|
||||
@ -204,6 +204,7 @@ if ($resql)
|
||||
$productstatic->ref=$obj->pref;
|
||||
print $productstatic->getNomUrl(1,'',20);
|
||||
print $obj->label?' - '.dol_trunc($obj->label,16):'';
|
||||
if ($obj->description && $conf->global->PRODUIT_DESC_IN_LIST) print '<br>'.dol_nl2br($obj->description);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user