translation of company & contact and show parent in list

This commit is contained in:
2021-10-11 17:34:52 +02:00
parent acbb33918f
commit 313c17826e
5 changed files with 27 additions and 8 deletions

View File

@@ -460,6 +460,10 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
*/
public function getAddress(): ?Address
{
if ($this->isChild()) {
return $this->getParent()->getAddress();
}
return $this->address;
}