diff --git a/src/Entity/Company.php b/src/Entity/Company.php index 204cc51..7ab19a4 100644 --- a/src/Entity/Company.php +++ b/src/Entity/Company.php @@ -203,11 +203,13 @@ class Company public function __toString(): string { $url = ($this->url ? "
$this->url" : ''); + $email = ($this->email ? "
$this->email" : ''); return <<<"HTML" $this->name
$this->address
$this->city, $this->state $this->zip
$this->phone + $email $url HTML; }