Fix: Correct name for thirdparty created from member.
This commit is contained in:
parent
018771c0f5
commit
18838ccfa0
@ -813,7 +813,8 @@ if ($rowid)
|
||||
$name = $object->getFullName($langs);
|
||||
if (! empty($name))
|
||||
{
|
||||
if ($object->societe) $name.=' ('.$object->societe.')';
|
||||
if ($object->morphy == 'mor' && ! empty($object->societe)) $name=$object->societe.' ('.$name.')';
|
||||
else if ($object->societe) $name.=' ('.$object->societe.')';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user