From 3dfd8712cf49ca67b90ce92113dcfb22ffaa10f9 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sat, 30 Nov 2024 19:58:13 -0500 Subject: [PATCH] Add email to company info block --- src/Entity/Company.php | 2 ++ 1 file changed, 2 insertions(+) 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; }