mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
firstname added to onthefly for child or contact
This commit is contained in:
@@ -77,7 +77,9 @@ class ThirdPartyRender extends AbstractChillEntityRender
|
||||
$acronym = '';
|
||||
}
|
||||
|
||||
return $civility . $entity->getName() . $acronym;
|
||||
$firstname = empty($entity->getFirstname()) ? '' : $entity->getFirstname();
|
||||
|
||||
return $civility . $firstname . ' ' . $entity->getName() . $acronym;
|
||||
}
|
||||
|
||||
public function supports($entity, array $options): bool
|
||||
|
Reference in New Issue
Block a user