FIX #10036
This commit is contained in:
parent
2d09008610
commit
4bedeabc5b
@ -3393,7 +3393,7 @@ class Form
|
|||||||
{
|
{
|
||||||
$unitLabel = $langs->trans('unit'.$res->code)!=$res->label?$langs->trans('unit'.$res->code):$res->label;
|
$unitLabel = $langs->trans('unit'.$res->code)!=$res->label?$langs->trans('unit'.$res->code):$res->label;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($selected == $res->rowid)
|
if ($selected == $res->rowid)
|
||||||
{
|
{
|
||||||
$return.='<option value="'.$res->rowid.'" selected>'.$unitLabel.'</option>';
|
$return.='<option value="'.$res->rowid.'" selected>'.$unitLabel.'</option>';
|
||||||
@ -6531,6 +6531,7 @@ class Form
|
|||||||
}
|
}
|
||||||
else if ($object->element == 'member')
|
else if ($object->element == 'member')
|
||||||
{
|
{
|
||||||
|
$ret.=$object->ref.'<br>';
|
||||||
$fullname=$object->getFullName($langs);
|
$fullname=$object->getFullName($langs);
|
||||||
if ($object->morphy == 'mor' && $object->societe) {
|
if ($object->morphy == 'mor' && $object->societe) {
|
||||||
$ret.= dol_htmlentities($object->societe) . ((! empty($fullname) && $object->societe != $fullname)?' ('.dol_htmlentities($fullname).')':'');
|
$ret.= dol_htmlentities($object->societe) . ((! empty($fullname) && $object->societe != $fullname)?' ('.dol_htmlentities($fullname).')':'');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user