This commit is contained in:
Laurent Destailleur 2018-11-19 18:02:29 +01:00
parent 2d09008610
commit 4bedeabc5b

View File

@ -3393,7 +3393,7 @@ class Form
{
$unitLabel = $langs->trans('unit'.$res->code)!=$res->label?$langs->trans('unit'.$res->code):$res->label;
}
if ($selected == $res->rowid)
{
$return.='<option value="'.$res->rowid.'" selected>'.$unitLabel.'</option>';
@ -6531,6 +6531,7 @@ class Form
}
else if ($object->element == 'member')
{
$ret.=$object->ref.'<br>';
$fullname=$object->getFullName($langs);
if ($object->morphy == 'mor' && $object->societe) {
$ret.= dol_htmlentities($object->societe) . ((! empty($fullname) && $object->societe != $fullname)?' ('.dol_htmlentities($fullname).')':'');