diff --git a/app/Models/Traits/SendsEmails.php b/app/Models/Traits/SendsEmails.php
index 60ac2a5644e6..f896ffbe8631 100644
--- a/app/Models/Traits/SendsEmails.php
+++ b/app/Models/Traits/SendsEmails.php
@@ -62,14 +62,14 @@ trait SendsEmails
$entityType = ENTITY_INVOICE;
}
- $template = '
$client,
';
+ $template = '$client,
';
if ($this->hasFeature(FEATURE_CUSTOM_EMAILS) && $this->email_design_id != EMAIL_DESIGN_PLAIN) {
- $template .= '' . trans("texts.{$entityType}_message_button", ['amount' => '$amount']) . '
' .
- '$viewButton
';
+ $template .= '' . trans("texts.{$entityType}_message_button", ['amount' => '$amount']) . '
' .
+ '$viewButton
';
} else {
- $template .= '' . trans("texts.{$entityType}_message", ['amount' => '$amount']) . '
' .
- '$viewLink
';
+ $template .= '' . trans("texts.{$entityType}_message", ['amount' => '$amount']) . '
' .
+ '$viewLink
';
}
if ($message) {