mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
translation of company & contact and show parent in list
This commit is contained in:
@@ -460,6 +460,10 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
|
||||
*/
|
||||
public function getAddress(): ?Address
|
||||
{
|
||||
if ($this->isChild()) {
|
||||
return $this->getParent()->getAddress();
|
||||
}
|
||||
|
||||
return $this->address;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user